OK, first time trying to get GTK working. atk compiled OK, glib compiled OK, jpeg and tiff compiled OK but pango keeps throwing a wobbly over header files.
I have googled for an answer and tried all the ones I found, with no luck. The first problem was “glib.h” which I overcame, but now it wants “glibconfig.h” and won’t find it.
I have attached the following (environment listing, locations of glibconfig.h file, error listing from make). I have tried to amend the library variables on LD_LIBRARY_PATH and CPPGFLAGS but nothing seems to work.
Any assistance would be appreciated.
Thanks, Ian Dennison (HP-UX SysAdmin, Reformed Code-cutter).
################### # env ################### AB_CARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog CPPFLAGS=-I/usr/local/include/glib-2.0/include -L/usr/local/include/glib-2.0 -L /usr/local/lib/glib-2.0/include DISPLAY=:0.0 DTAPPSEARCHPATH=//.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconf ig/appmanager/C DTDATABASESEARCHPATH=//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/ty pes/C DTDEVROOT= DTHELPSEARCHPATH=//.dt/help/root-sunhome1-0/%H://.dt/help/root-sunhome1-0/%H.sdl ://.dt/help/root-sunhome1-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H. hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconf ig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/us r/dt/appconfig/help/C/%H.hv DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame Sta rtDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor StartD tscreenPyro StartDtscreenWorm StartDtscreenBlank DTSOURCEPROFILE=true DTUSERSESSION=root-sunhome1-0 DTXSERVERLOCATION=local EDITOR=/usr/dt/bin/dtpad HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help HOME=/ LANG=C LDFLAGS=-L/opt/gtk/lib -L/usr/local/lib/glib-2.0 LD_LIBRARY_PATH=/usr/local/lib:/opt/gtk/lib:/opt/gtk/include:/opt/gtk/tiff-v3.6. 1/libtiff:/opt/gtk/jpeg-6b:/usr/local/include/glib-2.0 LOGNAME=root MAIL=/var/mail/root MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man OPENWINHOME=/usr/openwin PATH=/opt/gtk/bin:/usr/local/bin:/usr/ccs/bin:/export/home/gtk/pkgconfig-0.15.0:/ export/home/glib/glib-2.4.0:/opt/pango-1.4.0:/opt/gtk/tiff-v3.6.1:/opt/gtk/jpeg- 6b:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig:/export/home/glib/glib-2.4.0:/opt/atk-1.6 .0:/opt/pango-1.4.0 PWD=/ SESSION_SVR=sunhome1 SHELL=/sbin/sh TERM=dtterm TERMINAL_EMULATOR=dtterm TZ=GMT0 USER=root WINDOWID=11534345 XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S XMBINDDIR=/usr/dt/lib/bindings XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/usr/d t/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfi g/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.p m:/usr/dt/appconfig/icons/C/%B XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/usr/dt/ appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/ icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm: /usr/dt/appconfig/icons/C/%B _=/usr/dt/bin/sdt_shell dtstart_sessionlogfile=/dev/null
############################# # Locations of glibconfig.h ############################# /usr/local/lib/glib-2.0/include/glibconfig.h /export/home/gtk/pkgconfig-0.15.0/glib-1.2.8/glibconfig.h /export/home/glib/glib-2.4.0/glibconfig.h
######################## # Results of make command ########################
make all-recursive make[1]: Entering directory `/opt/pango-1.4.0' Making all in pango make[2]: Entering directory `/opt/pango-1.4.0/pango' make all-recursive make[3]: Entering directory `/opt/pango-1.4.0/pango' Making all in mini-fribidi make[4]: Entering directory `/opt/pango-1.4.0/pango/mini-fribidi' if /bin/ksh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DS YSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I../.. -threads -I../..//export/home/glib/glib-2.4.0/./ gmodule -I../..//export/home/glib/glib-2.4.0 -I../..//export/home/glib/glib-2.4. 0/. -I../..//export/home/glib/glib-2.4.0/./glib -I/opt/gtk/include -I/usr/loc al/include/glib-2.0 -L/usr/local/include/glib-2.0 -g -O2 -Wall -I/usr/local/inc lude/glib-2.0 -I /usr/local/glib-2.0/include -MT fribidi.lo -MD -MP -MF ".deps/f ribidi.Tpo" \ -c -o fribidi.lo `test -f 'fribidi.c' || echo './'`fribidi.c; \ then mv -f ".deps/fribidi.Tpo" ".deps/fribidi.Plo"; \ else rm -f ".deps/fribidi.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. "-DSYSCONFDIR=\"/usr/local/etc\"" "-DLIBDIR =\"/usr/local/lib\"" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I../.. -thr eads -I../..//export/home/glib/glib-2.4.0/./gmodule -I../..//export/home/glib/gl ib-2.4.0 -I../..//export/home/glib/glib-2.4.0/. -I../..//export/home/glib/glib-2 .4.0/./glib -I/opt/gtk/include -I/usr/local/include/glib-2.0 -L/usr/local/includ e/glib-2.0 -g -O2 -Wall -I/usr/local/include/glib-2.0 -I /usr/local/glib-2.0/inc lude -MT fribidi.lo -MD -MP -MF .deps/fribidi.Tpo -c fribidi.c -fPIC -DPIC -o . libs/fribidi.o In file included from /usr/local/include/glib-2.0/glib/galloca.h:30, from /usr/local/include/glib-2.0/glib.h:30, from fribidi.c:24: /usr/local/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or d irectory In file included from /usr/local/include/glib-2.0/glib/galloca.h:30, from /usr/local/include/glib-2.0/glib.h:30, from fribidi.c:24: /usr/local/include/glib-2.0/glib/gtypes.h:41: error: syntax error before "typede f" /usr/local/include/glib-2.0/glib/gtypes.h:382:2: #error unknown ENDIAN type In file included from /usr/local/include/glib-2.0/glib.h:31, from fribidi.c:24: /usr/local/include/glib-2.0/glib/garray.h:32: error: parse error before "G_BEGIN _DECLS" /usr/local/include/glib-2.0/glib/garray.h:34: error: syntax error before "typede f" /usr/local/include/glib-2.0/glib/garray.h:46: error: parse error before "guint8" /usr/local/include/glib-2.0/glib/garray.h:46: warning: no semicolon at end of st ruct or union /usr/local/include/glib-2.0/glib/garray.h:48: error: parse error before '}' toke n /usr/local/include/glib-2.0/glib/garray.h:140: error: parse error before '*' tok en /usr/local/include/glib-2.0/glib/garray.h:141: warning: type defaults to `int' i n declaration of `g_byte_array_free' /usr/local/include/glib-2.0/glib/garray.h:141: warning: data definition has no t ype or storage class /usr/local/include/glib-2.0/glib/garray.h:143: warning: type defaults to `int' i n declaration of `guint8' /usr/local/include/glib-2.0/glib/garray.h:143: error: parse error before '*' tok en --More-- |