Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gtk3, libXi vs xextproto
Hi,
On 09/25/13 20:09, Patrick Welche wrote:
On Wed, Sep 25, 2013 at 04:29:46PM +0200, Riccardo Mottola wrote:
I have both a new and old version:
bash-4.2# ls -l libXi.*
-r--r--r-- 1 root wheel 73254 Feb 1 2011 libXi.a
lrwxr-xr-x 1 root wheel 12 Feb 1 2011 libXi.so -> libXi.so.7.0
lrwxr-xr-x 1 root wheel 12 Nov 7 2010 libXi.so.6 -> libXi.so.6.0
-r--r--r-- 1 root wheel 36592 Nov 7 2010 libXi.so.6.0
lrwxr-xr-x 1 root wheel 12 Feb 1 2011 libXi.so.7 -> libXi.so.7.0
-r--r--r-- 1 root wheel 43972 Feb 1 2011 libXi.so.7.0
but the new one is correctly linked. I tried removing it.
Have you put it back?
I removed the "old ones" (.6.0) and can't put them back. But I suppose
using the new ones is right anyway.
./usr/X11R7/lib/pkgconfig/xi.pc
./usr/pkg/share/x11-links/lib/pkgconfig/xi.pc
./usr/pkgsrc/x11/gtk3/work/.buildlink/lib/pkgconfig/xi.pc
...
Can you check that those three are each a symbolic link to the one above?
they are!
grid$ ls -l /usr/X11R7/lib/pkgconfig/xi.pc
-r--r--r-- 1 root wheel 270 Feb 1 2011 /usr/X11R7/lib/pkgconfig/xi.pc
grid$ ls -l /usr/pkg/share/x11-links/lib/pkgconfig/xi.pc
lrwxr-xr-x 1 root wheel 30 Sep 12 17:55
/usr/pkg/share/x11-links/lib/pkgconfig/xi.pc ->
/usr/X11R7/lib/pkgconfig/xi.pc
grid$ sudo ls -l /usr/pkgsrc/x11/gtk3/work/.buildlink/lib/pkgconfig/xi.pc
lrwxr-xr-x 1 root wheel 44 Sep 25 12:29
/usr/pkgsrc/x11/gtk3/work/.buildlink/lib/pkgconfig/xi.pc ->
/usr/pkg/share/x11-links/lib/pkgconfig/xi.pc
When building, I see:
...
checking if <X11/extensions/XIproto.h> is needed for xReply... no
...
checking X11/extensions/XInput2.h usability... yes
checking X11/extensions/XInput2.h presence... yes
checking for X11/extensions/XInput2.h... yes
and in the equivalent of your
/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk/Makefile
I see GDK_DEP_LIBS = ... -Wl,-rpath,/usr/X11R7/lib -lXi ...
when buliding gtk3? I see this too:
checking X11/extensions/XInput2.h usability... yes
checking X11/extensions/XInput2.h presence... yes
checking for X11/extensions/XInput2.h... yes
in the full error below, I can also see that '-L/usr/X11R7/lib',
'-Wl,-R/usr/X11R7/lib' are used. In fact, the library is found but
doesn't contain the symbols.
grid$ nm libXi.a | grep XIFree
returns nothing, I somehow think that even if my library has the same
revision as yours, it is inocmplete.
I have a doubt: if using base X, when i update my system from sources I do:
./build.sh -O ../obj -T ../tools -U distribution
# ./build.sh -O ../obj -T ../tools -U install=/
this should build&update also X, right? I'm puzzled by my dates, I have
updated the system in more recent times.
Riccardo
-----
GISCAN Gdk-3.0.gir
./.libs/libgdk-3.so: undefined reference to `XIFreeDeviceInfo'
./.libs/libgdk-3.so: undefined reference to `XIDefineCursor'
./.libs/libgdk-3.so: undefined reference to `XIQueryPointer'
./.libs/libgdk-3.so: undefined reference to `XISelectEvents'
./.libs/libgdk-3.so: undefined reference to `XIQueryDevice'
./.libs/libgdk-3.so: undefined reference to `XIQueryVersion'
./.libs/libgdk-3.so: undefined reference to `XIUndefineCursor'
./.libs/libgdk-3.so: undefined reference to `XIGrabDevice'
./.libs/libgdk-3.so: undefined reference to `XIUngrabDevice'
./.libs/libgdk-3.so: undefined reference to `XIWarpPointer'
./.libs/libgdk-3.so: undefined reference to `XIGetClientPointer'
linking of temporary binary failed: Command '['bash', '../libtool',
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk/tmp-introspectRjq5VF/Gdk-3.0',
'-export-dynamic', '-O2', '-pthread', '-I/usr/pkg/include',
'-I/usr/include', '-I/usr/X11R7/include',
'-I/usr/pkg/include/freetype2', '-I/usr/X11R7/include/libdrm', '-Wall',
'-L/usr/pkg/lib', '-Wl,-R/usr/pkg/lib', '-L/usr/lib', '-Wl,-R/usr/lib',
'-pthread', '-L/usr/X11R7/lib', '-Wl,-R/usr/X11R7/lib',
'/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk/tmp-introspectRjq5VF/Gdk-3.0.o',
'-L.', 'libgdk-3.la', '-Wl,-R/usr/pkg/lib', '-Wl,--export-dynamic',
'-pthread', '-L/usr/pkg/lib', '-lgio-2.0', '-lgobject-2.0',
'-lgmodule-2.0', '-lglib-2.0', '-lintl']' returned non-zero exit status 1
gmake[4]: *** [Gdk-3.0.gir] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4/gdk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/gtk3/work/gtk+-3.8.4'
gmake: *** [all] Error 2
Home |
Main Index |
Thread Index |
Old Index