HELP: compile gtk 2.24 on Solaris 10 trouble with X libraries



Hello,

I am trying to compile gtk 2.24 on Solaris 10 and get the following error. It looks like a path is not set somewhere.. but I am unsure where to set it. Any advice is appreciated.. thanks.

I tried with crle to set the library path:

Configuration file [version 4]: /var/ld/ld.config

  Default Library Path (ELF):   /lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/X11

  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

 

Command line:

  crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib

 

 

> make

make  all-recursive

make[1]: Entering directory `/tmp/gtk+-2.24.5'

Making all in po

make[2]: Entering directory `/tmp/gtk+-2.24.5/po'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/gtk+-2.24.5/po'

Making all in po-properties

make[2]: Entering directory `/tmp/gtk+-2.24.5/po-properties'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/gtk+-2.24.5/po-properties'

Making all in gdk

make[2]: Entering directory `/tmp/gtk+-2.24.5/gdk'

make  all-recursive

make[3]: Entering directory `/tmp/gtk+-2.24.5/gdk'

Making all in x11

make[4]: Entering directory `/tmp/gtk+-2.24.5/gdk/x11'

/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS   -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES   -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkapplaunchcontext-x11.lo -MD -MP -MF .deps/gdkapplaunchcontext-x11.Tpo -c -o gdkapplaunchcontext-x11.lo gdkapplaunchcontext-x11.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkapplaunchcontext-x11.lo -MD -MP -MF .deps/gdkapplaunchcontext-x11.Tpo -c gdkapplaunchcontext-x11.c  -fPIC -DPIC -o .libs/gdkapplaunchcontext-x11.o

gdkapplaunchcontext-x11.c:28:18: glib.h: No such file or directory

gdkapplaunchcontext-x11.c:29:33: gio/gdesktopappinfo.h: No such file or directory

In file included from ../../gdk/gdk.h:32,

                 from ../../gdk/gdkprivate.h:30,

                 from gdkx.h:30,

                 from gdkapplaunchcontext-x11.c:31:

<snip --lotsa errors after this much the same…>

 

 

-----------------------------------------------------------------------

root@nadc-jss-p01 > ./configure --disable-glibtest

checking for a BSD-compatible install... ./install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ./install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking build system type... sparc-sun-solaris2.10

checking host system type... sparc-sun-solaris2.10

checking for native Win32... no

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for c++... c++

checking whether we are using the GNU C++ compiler... yes

checking whether c++ accepts -g... yes

checking dependency style of c++... gcc3

checking how to print strings... printf

checking for a sed that does not truncate output... /usr/local/bin/sed

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep

checking for egrep... /usr/xpg4/bin/grep -E

checking for fgrep... /usr/xpg4/bin/grep -F

checking for ld used by gcc... /usr/ccs/bin/ld

checking if the linker (/usr/ccs/bin/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p

checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 786240

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... no

checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop

checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop

checking for /usr/ccs/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for dlltool... dlltool

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... no

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok

checking for sysroot... no

checking for mt... mt

checking if mt is a manifest tool... no

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... yes

checking dynamic linker characteristics... solaris2.10 ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... no

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking how to run the C++ preprocessor... c++ -E

checking for ld used by c++... /usr/ccs/bin/ld

checking if the linker (/usr/ccs/bin/ld) is GNU ld... no

checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... yes

checking for c++ option to produce PIC... -fPIC -DPIC

checking if c++ PIC flag -fPIC -DPIC works... yes

checking if c++ static flag -static works... no

checking if c++ supports -c -o file.o... yes

checking if c++ supports -c -o file.o... (cached) yes

checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... solaris2.10 ld.so

checking how to hardcode library paths into programs... immediate

configure: creating ./config.lt

config.lt: creating libtool

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... 64

checking dependency style of gcc... gcc3

checking for nm... /usr/ccs/bin/nm -p

checking whether to enable maintainer-specific portions of Makefiles... no

checking for some Win32 platform... no

checking whether build environment is sane... yes

checking for library containing strerror... none required

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking whether gcc and cc understand -c and -o together... yes

checking whether make sets $(MAKE)... (cached) yes

checking for pkg-config... /usr/local/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for BASE_DEPENDENCIES... yes

checking for CAIRO_BACKEND... yes

checking Whether to write dependencies into .pc files... no

checking for perl5... /usr/bin/perl5

checking for indent... no

checking for lstat... yes

checking for mkstemp... yes

checking for flockfile... yes

checking for getc_unlocked... yes

checking for localtime_r... yes

checking for _NL_TIME_FIRST_WEEKDAY... no

checking for _NL_MEASUREMENT_MEASUREMENT... no

checking for _NL_PAPER_HEIGHT... no

checking for _NL_PAPER_WIDTH... no

checking for sigsetjmp... yes

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking for LC_MESSAGES... yes

checking libintl.h usability... yes

checking libintl.h presence... yes

checking for libintl.h... yes

checking for ngettext in libc... no

checking for bindtextdomain in -lintl... yes

checking for ngettext in -lintl... yes

checking for dgettext in -lintl... yes

checking for bind_textdomain_codeset... yes

checking for msgfmt... /usr/local/bin/msgfmt

checking for dcgettext... yes

checking if msgfmt accepts -c... yes

checking for gmsgfmt... /usr/local/bin/msgfmt

checking for xgettext... /usr/local/bin/xgettext

checking for catalogs to be installed...  af am ang ar as ast az az_IR be be@latin bg bn bn_IN br bs ca ca@valencia crh cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is it ja ka kk kn ko ku li lt lv mai mi mk ml mn mr ms my nb nds ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tk tr tt ug uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW

checking for extra flags to get ANSI library prototypes... none needed

checking for the BeOS... no

checking for HP-UX... no

checking for extra flags for POSIX compliance... none needed

checking for pkg-config... (cached) /usr/local/bin/pkg-config

checking pkg-config is at least version 0.16... yes

checking for GLIB - version >= 2.27.3... yes (version 2.28.7)

checking for bind_textdomain_codeset... (cached) yes

checking pwd.h usability... yes

checking pwd.h presence... yes

checking for pwd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking for unistd.h... (cached) yes

checking ftw.h usability... yes

checking ftw.h presence... yes

checking for ftw.h... yes

checking for GNU ftw extensions... no

checking for ANSI C header files... (cached) yes

checking for an ANSI C-conforming const... yes

checking return type of signal handlers... void

checking for stdlib.h... (cached) yes

checking for unistd.h... (cached) yes

checking for sys/param.h... yes

checking for getpagesize... yes

checking for working mmap... yes

checking for mallinfo... no

checking for getresuid... no

checking for uid_t in sys/types.h... yes

checking for fd_set... yes, found in sys/types.h

checking for wchar.h... yes

checking for wctype.h... yes

checking for iswalnum... yes

checking if iswalnum() and friends are properly defined... yes

checking for uxtheme.h... no

checking crt_externs.h usability... no

checking crt_externs.h presence... no

checking for crt_externs.h... no

checking for _NSGetEnviron... no

checking whether to build dynamic modules... yes

checking whether dynamic modules work... yes

checking immodules to build...

checking for sys/wait.h that is POSIX.1 compatible... yes

checking return type of signal handlers... (cached) void

checking sys/systeminfo.h usability... yes

checking sys/systeminfo.h presence... yes

checking for sys/systeminfo.h... yes

checking sys/sysinfo.h usability... yes

checking sys/sysinfo.h presence... yes

checking for sys/sysinfo.h... yes

checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... yes

checking for mediaLib 2.5... checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib... yes

checking for gdk-pixbuf-csource... /usr/local/bin/gdk-pixbuf-csource

sh: gnome-config: not found

sh: gnome-config: not found

checking for X... libraries , headers

checking for gethostbyname... yes

checking for connect... yes

checking for remove... yes

checking for shmat... yes

checking for IceConnectionNumber in -lICE... yes

checking for XOpenDisplay... yes

checking for XextFindDisplay... yes

checking for XRenderQueryExtension... yes

checking if <X11/extensions/XIproto.h> is needed for xReply... no

checking for XConvertCase... yes

checking for XInternAtoms... yes

checking for XAddConnectionWatch... yes

checking for XkbQueryExtension... yes

checking for XShapeCombineMask... yes

checking for XSyncQueryExtension... yes

checking for X11/extensions/sync.h... yes

checking for XShmAttach... yes

checking sys/ipc.h usability... yes

checking sys/ipc.h presence... yes

checking for sys/ipc.h... yes

checking sys/shm.h usability... yes

checking sys/shm.h presence... yes

checking for sys/shm.h... yes

checking X11/extensions/XShm.h... yes

checking for Xinerama support on XFree86... yes

sh: gnome-config: not found

sh: gnome-config: not found

sh: gnome-config: not found

checking Pango flags... -D_REENTRANT -D_PTHREADS -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12   -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl

sh: gnome-config: not found

Package xineramaproto was not found in the pkg-config search path.

Perhaps you should add the directory containing `xineramaproto.pc'

to the PKG_CONFIG_PATH environment variable

Package 'xineramaproto', required by 'Xinerama', not found

sh: gnome-config: not found

Package xineramaproto was not found in the pkg-config search path.

Perhaps you should add the directory containing `xineramaproto.pc'

to the PKG_CONFIG_PATH environment variable

Package 'xineramaproto', required by 'Xinerama', not found

checking ATK flags... -D_REENTRANT -D_PTHREADS -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -L/usr/local/lib -latk-1.0 -lgobject-2.0 -lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl

checking for library containing gethostent... -lnsl

checking for library containing setsockopt... -lsocket

checking for library containing connect... none required

checking for struct sockaddr_un.sun_len... no

checking for cups-config... no

checking libpapi... checking for papiServiceCreate in -lpapi... yes

checking cairo-pdf.h usability... yes

checking cairo-pdf.h presence... yes

checking for cairo-pdf.h... yes

checking cairo-ps.h usability... yes

checking cairo-ps.h presence... yes

checking for cairo-ps.h... yes

checking cairo-svg.h usability... yes

checking cairo-svg.h presence... yes

checking for cairo-svg.h... yes

checking for gobject-introspection... no

checking for gtkdoc-check... no

checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase

checking for gtkdoc-mkpdf... no

checking whether to build gtk-doc documentation... no

checking for db2html... false

configure: creating ./config.status

config.status: creating config.h.win32

config.status: creating gtk-zip.sh

config.status: creating Makefile

config.status: creating gdk-2.0.pc

config.status: creating gtk+-2.0.pc

config.status: creating gtk+-unix-print-2.0.pc

config.status: creating gail.pc

config.status: creating gdk-2.0-uninstalled.pc

config.status: creating gtk+-2.0-uninstalled.pc

config.status: creating gail-uninstalled.pc

config.status: creating m4macros/Makefile

config.status: creating po/Makefile.in

config.status: creating po-properties/Makefile.in

config.status: creating demos/Makefile

config.status: creating demos/gtk-demo/Makefile

config.status: creating demos/gtk-demo/geninclude.pl

config.status: creating tests/Makefile

config.status: creating docs/Makefile

config.status: creating docs/reference/Makefile

config.status: creating docs/reference/gdk/Makefile

config.status: creating docs/reference/gdk/version.xml

config.status: creating docs/reference/gtk/Makefile

config.status: creating docs/reference/gtk/version.xml

config.status: creating docs/reference/libgail-util/Makefile

config.status: creating docs/faq/Makefile

config.status: creating docs/tools/Makefile

config.status: creating docs/tutorial/Makefile

config.status: creating build/Makefile

config.status: creating build/win32/Makefile

config.status: creating build/win32/vs9/Makefile

config.status: creating gdk/Makefile

config.status: creating gdk/x11/Makefile

config.status: creating gdk/win32/Makefile

config.status: creating gdk/win32/rc/Makefile

config.status: creating gdk/win32/rc/gdk.rc

config.status: creating gdk/quartz/Makefile

config.status: creating gdk/directfb/Makefile

config.status: creating gdk/tests/Makefile

config.status: creating gtk/Makefile

config.status: creating gtk/makefile.msc

config.status: creating gtk/gtkversion.h

config.status: creating gtk/gtk-win32.rc

config.status: creating gtk/theme-bits/Makefile

config.status: creating gtk/tests/Makefile

config.status: creating modules/Makefile

config.status: creating modules/other/Makefile

config.status: creating modules/other/gail/Makefile

config.status: creating modules/other/gail/libgail-util/Makefile

config.status: creating modules/other/gail/tests/Makefile

config.status: creating modules/engines/Makefile

config.status: creating modules/engines/pixbuf/Makefile

config.status: creating modules/engines/ms-windows/Makefile

config.status: creating modules/engines/ms-windows/Theme/Makefile

config.status: creating modules/engines/ms-windows/Theme/gtk-2.0/Makefile

config.status: creating modules/input/Makefile

config.status: creating modules/printbackends/Makefile

config.status: creating modules/printbackends/cups/Makefile

config.status: creating modules/printbackends/lpr/Makefile

config.status: creating modules/printbackends/file/Makefile

config.status: creating modules/printbackends/papi/Makefile

config.status: creating modules/printbackends/test/Makefile

config.status: creating perf/Makefile

config.status: creating config.h

config.status: config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

config.status: executing default-1 commands

config.status: executing default-2 commands

config.status: executing gdk/gdkconfig.h commands

config.status: gdk/gdkconfig.h is unchanged

configuration:

        target: x11

 

 

________________________________

This message may contain confidential information. If you are not the intended recipient of this e-mail, do not disseminate, distribute or copy this e-mail and delete this e-mail from your system.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]