[csw-maintainers] Anyone wants to update wxWidgets?
Maciej (Matchek) Blizinski
maciej at opencsw.org
Wed Oct 14 19:27:08 CEST 2009
One more problem: It doesn't compile it on build8s, while it does on
my local machine at work. Here's what happens on build8s:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
gmake[1]: *** [configure-work/solaris8-sparc/build-isa-sparcv8-garversion-2.8.5/wxWidgets-2.8.5/configure]
Error 1
gmake[1]: Leaving directory `/home/maciej/src/opencsw/pkg/wxwidgets/trunk'
gmake: *** [merge-isa-sparcv8-garversion-2.8.5] Error 2
Let's see what is my PKG_CONFIG_PATH:
maciej at build8s [build8s]:~/src/opencsw/pkg/wxwidgets/trunk > gmake
modenv | grep PKG_CONFIG
PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
Using this PKG_CONFIG_PATH to check the command that looks for gtk+2.0.pc:
maciej at build8s [build8s]:~/src/opencsw/pkg/wxwidgets/trunk >
PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
pkg-config gtk+-2.0 --libs
-L/opt/csw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0
-lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
It works. Strange.
Looking at config.log:
configure:27183: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest
-erroff=E_NO_EXPLICIT_TYPE_GIVEN -xO3 -xarch=v8 -fast -xstrconst
-xnolibmopt -I/opt/csw/X11/include -I/usr/X11/include
-I/usr/openwin/share/include -I/opt/csw/include -D_REENTRANT
-D_PTHREADS -D__solaris__ -D_POSIX_PTHREAD_SEMANTICS
-I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include
-I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo
-I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pixman-1
-I/opt/csw/include/freetype2 -I/opt/csw/include
-I/opt/csw/include/libpng12 -I/opt/csw/X11/include
-I/opt/csw/X11/include -I/usr/X11/include -I/usr/openwin/share/include
-I/opt/csw/include -xarch=v8 -L/opt/csw/lib -L/opt/csw/X11/lib
conftest.c -lm -L/opt/csw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl >&5
"conftest.c", line 74: warning: statement not reached
Undefined first referenced
symbol in file
XSolarisIASetProcessInfo /usr/openwin/lib/libX11.so.4
ld: fatal: Symbol referencing errors. No output written to conftest
Is it related to the recent discussions about X11 libs? Is it a common
problem, and are there any common fixes?
Maciej
More information about the maintainers
mailing list