trunk-r12245 build fails (missing -lX11)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Alex Valavanis |
Bug Description
As of trunk-r12245, build fails due to the following error:
----
$ ./autogen.sh && ./configure --prefix=/usr --without-gnome-vfs --enable-
<snip>
CXXLD inkscape
CXXLD inkview
/usr/bin/ld: libinkscape.
/usr/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib/
/usr/lib/
collect2: error: ld returned 1 exit status
/usr/bin/ld: libinkscape.
/usr/bin/ld: note: 'XInternAtom' is defined in DSO /usr/lib/
/usr/lib/
collect2: error: ld returned 1 exit status
make[3]: *** [inkview] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [inkscape] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
----
And I tried to specify LDFLAGS=' -lX11' but inkscape seems to ignore the variable.
----
$ echo $LDFLAGS
-lX11
$ ./autogen.sh && ./configure --prefix=/usr --without-gnome-vfs --enable-
<snip>
Configuration:
Source code location: .
Destination path prefix: /usr/local
Compiler: g++
CPPFLAGS: -DG_DISABLE_
CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-
CFLAGS: -Wno-pointer-sign -march=native -O2 -pipe -fstack-protector --param=
LDFLAGS: -Wl,-z,relro
Use gnome-vfs: no
Use openoffice files: yes
Use relocation support: no
Enable LittleCms: yes
Enable DBUS: no
Enable Poppler-Cairo: yes
ImageMagick Magick++: yes
Libwpg: no
Libvisio: no
Libcdr: no
Doing Local Install: no
----
Platform:
ArchLinux (x86_64)
Related branches
description: | updated |
description: | updated |
Sorry, inkscape honors $LDFLAGS. It's my mistake.