We try to validate GTK 2.4 on all our platforms before deciding to use it as the interface library for our program. I'm not a GTK developer. I downloaded the source of GTK+ 2.4.0 and its dependancies in order to compile it on: -Linux 2.4.21 with gcc-3.3.1 -IBM AIX 5.1 ML4 with VisualAge C++ 6.0 -HP-UX 11.0 (PA-RISC) with gcc-3.3.2 -HP-UX 11.22 (Itanium2) with gcc-3.3.3 -Sun Solaris9 (SB2000) with gcc-3.3.1 -SGI IRIX 6.5.16 (IP28/RX1000) with MIPSPro 7.0 I wonder if some of you have already tried to compile a port of GTK 2.4 on any (or all) these systems, because I have to be sure of the stability and portability of the libraries before pushing GTK instead of ??? (wxWindows didn't compile, motif/lestiff could be tested but we also have to support our application's interface to run under Win32, so are GTK/QT still in the pipe). Unfortunalelly I wasn't able to compile GTK 2.4.0 form tarball source on any system and I leave an extract of every problem encountered. I'll be happy if some of you can take a look at this: -GTK's pango & atk fail under HP-UX 11.00 (PA-RISC): I compiled dependencies, for glib-2.4.0 i had to use "./configure --with-libconf" in order to get my Makefile. Confgure is OK but while running make, i get the following errors (same for atk & pango): # make (...) atkutil.h atkvalue.h ) > tmp-atk-enum-types.h \ && (cmp -s tmp-atk-enum-types.h atk-enum-types.h || cp tmp-atk-enum-types.h atk-enum-types.h ) \ && rm -f tmp-atk-enum-types.h \ && echo timestamp > s-enum-types-h "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 5. syntax error in file /usr/local/bin/glib-mkenums at line 5, next 2 tokens "my $flags" "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 6. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 8. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 9. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 10. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 11. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 12. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 13. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 14. "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 17. syntax error in file /usr/local/bin/glib-mkenums at line 17, next 2 tokens "my $opts " "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 18. "s" may clash with future reserved word at /usr/local/bin/glib-mkenums line 20. syntax error in file /usr/local/bin/glib-mkenums at line 20, next 2 tokens "*," Search pattern not terminated in file /usr/local/bin/glib-mkenums at line 20, next char ^? "my" may clash with future reserved word at /usr/local/bin/glib-mkenums line 23. syntax error in file /usr/local/bin/glib-mkenums at line 23, next 2 tokens "my (" /(\w+)(?:=(.+))?/: ?+* follows nothing in regexp at /usr/local/bin/glib-mkenums line 23. *** Error exit code 255 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. -HP 11.22 (itanium2): dependency pkg-config has its configure script that hangs on: "checking whether pthread_cond_timedwait is posix like..." I wasn't able to compile glib/pango/atk/gtk. -Linux: Dependency libpng-1.2.5 cannot compile: (...) png.c:755: error: dereferencing pointer to incomplete type png.c:789: error: dereferencing pointer to incomplete type make: *** [png.o] Error 1 glib-2.4.0: configure: error: *** You must have either have gettext support in your C library,... ? -AIX: Dependency libtiff has a problem at make time: = libtiff /usr/vacpp/bin/xlc -o mkversion -Dunix -qlanglvl=ansi -qsrcmsg -qmaxmem=8192 -bM:SRE -g -O -I. -I../libtiff ../libtiff/mkversion.c rm -f ../libtiff/tiffvers.h ./mkversion -v .././VERSION -r .././RELEASE-DATE ../libtiff/tiffvers.h /usr/vacpp/bin/xlc -c -Dunix -qlanglvl=ansi -qsrcmsg -qmaxmem=8192 -bM:SRE -g -O -I. -I../libtiff ../libtiff/tif_aux.c "../libtiff/tiff.h", line 75.21: 1506-334 (S) Identifier int8 has already been defined on line 631 of "/usr/include/sys/inttypes.h". "../libtiff/tiff.h", line 80.15: 1506-334 (S) Identifier int16 has already been defined on line 632 of "/usr/include/sys/inttypes.h". "../libtiff/tiff.h", line 86.14: 1506-334 (S) Identifier int32 has already been defined on line 633 of "/usr/include/sys/inttypes.h". make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. libpng-1.2.5 also fails, even when modifying its pre-written Makefile (based on makefile.aix with "CC = xlc"): I got a_lot of syntax errors and missing types declarations in png.h. Dependency pkg-config fails as it only seem to compile with gcc as their makefile is not genric enough to support xlc...I wasn't able to compile glib/pango/atk/gtk -Solaris: Dependency libpng-1.2.5 has problem (using makefile.so9). (...) cc -o pngtest -I/usr/include -O3 pngtest.o -L. -R. -L/usr/lib -R/usr/lib -lpng12 -lz -lm cc: Warning: option -3 passed to ld /usr/ccs/bin/ld: illegal option -- 3 usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) (...) *** Error code 1 make: Fatal error: Command failed for target `pngtest' Also for pkg-config, I get: (...) gcc -g -O2 -o pkg-config pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o poptparse.o glib-1.2.8/.libs/libglib.al Undefined first referenced symbol in file setresuid popt.o ld: fatal: Symbol referencing errors. No output written to pkg-config collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `pkg-config' Current working directory /usr/local/gtk2.4/pkgconfig-0.15.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/gtk2.4/pkgconfig-0.15.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' I wasn't able to compile glib/pango/atk/gtk. -Irix: Dependency libtiff fails: --- all --- = libtiff smake: Error: Can't figure out how to make -. Stop *** Error code 2 smake: Error: 1 error as does pkg-config with its Makefile is not genric enough to support mipspro but only gcc. I wasn't able to compile glib/pango/atk/gtk... -Win32: not tested, while having so much problem under UN*X... Thanks for your help on this issue. Regards, ---------------------------------------------------- Vincent Jamart - Free Field Technologies Quality & Systems manager 16 place de l'Universite B-1348 Louvain-la-Neuve - BELGIUM Tel: +32 10 45 12 26 Fax: +32 10 45 46 26 Mobile: +32 495 21 22 58 mailto:vincent.jamart@xxxxxx http://www.fft.be ---------------------------------------------------- _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list