GNOME Bugzilla – Bug 75742
Tricks needed to get gimp1.2.3 compiled
Last modified: 2009-08-15 18:40:50 UTC
Hello, I configured gimp using the following: ------ snip, snip ----------- export CC=cc export CXX=aCC # ACHTUNG: Keine Blanks nach -I oder -L, sonst rastet GNU libtool aus !! export CPPFLAGS="-I/pd/libs/include/" export LDFLAGS=" -L/pd/libs/lib/" export CFLAGS="+DAportable -Ae +O2" ./configure -prefix=/pd/gimp1.2.3 --without-gcc ------ snip, snip ----------- Note, that I need libraries from /pd/libs. Especially glib/gtk and libintl are placed there. To get gimp to compile and 'make check' correctly, I had to do the following: In ./modules/Makefile I added "-I /pd/libs/include", to all the lists of '- I...', otherwiese libintl.h wouldn't be found. In ./apps/Makefile I needed to a '-lintl' to the linker call after the 'gimp-1.2:'-target. Otherwise I got a bunch of "unresolved symbols" In ./plugins/perl/Makefile I needed to add '-lglib' after the '-lintl'. Otherwise "make check" failed when loading Glib.SL due to an unresolved Symbol "g_logv" In ./plugins/perl/Makefile I needed to add '-L/pd/libs/lib before each '-lintl'. Otherwise libintl wasn't found. (This will most likely be to the fact, that I ommitted this path when building perl itself, so now MakeMaker etc. get incomplete values) Please contact me for deatils (config.log etc.) if needed ! Thanks Martin Jost
Thanks for the report. I think that most of it is a duplicate of bug #75452 (which relates to Tru64, not HP-UX) but I think that the other bug report does not cover the problem of the include path in the modules directory, so I am not marking this as a duplicate. The problems with app/Makefile should be solved soon, as you can see in bug #75452. I do not know what is the best way to solve the problems with plug-ins/perl/Makefile.PL, but these should also be addressed as part of bug #75452 because they are mentioned there.
I have to correct myself... perl (and thus MakeMaker) should know about /pd/libs. See the following grep on Config.pm. [This may mean, that part of the problem is really a perl problem. But MakeMaker (or Makefile.PL) are a big mystery to me...] lasagne:> grep '/pd/libs' /pd/perl5.6.1/lib/5.6.1/PA-RISC2.0/Config.pm ccflags=' -D_HPUX_SOURCE -I/usr/local/include -I/pd/libs/include - DDEBUGGING +DAportable -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Ae' cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include -I/pd/libs/include - DDEBUGGING +DAportable' libpth='/pd/libs/lib /lib /usr/lib /usr/ccs/lib' glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib /pd/libs/lib' ldflags='-L /pd/libs/lib' libsdirs=' /lib /pd/libs/lib' libsfound=' /lib/libnsl_s.a /lib/libndbm.sl /pd/libs/lib/libdb.a /lib/ libmalloc.a /lib/libdld.sl /lib/libm.sl /lib/libc.sl /lib/libndir.a /l ib/libcrypt.a /lib/libsec.sl' libspath=' /pd/libs/lib /lib /usr/lib /usr/ccs/lib' locincpth='/usr/local/include /pd/libs/include /opt/local/include /usr /gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' loclibpth='/usr/local/lib /pd/libs/lib /opt/local/lib /usr/gnu/lib /op t/gnu/lib /usr/GNU/lib /opt/GNU/lib'
I'm changing the component to gimp-perl since the other problem has been fixed in the meantime (see bug #75452). It would be nice to get some feedback if the problems to build gimp-perl still exist in gimp-1.2.4-pre2.
I just recheck with 2.3.4-pre2. These are the outcomes: Executive Summary: Most problems have gone away ! This ones remained: In ./plugins/perl/Makefile I needed to add '-lglib' after the '- lintl'. Otherwise "make check" failed when loading Glib.SL due to an unresolved Symbol "g_logv" Note that I configured with --without-print, because right now I have difficulties getting gimpprint to compile. (I will look into this later on) Thanks for the improvements ! Martin
I don't think there are any checks to run in the GIMP tree, so 'make check' can be considered unsupported. If that's the only problem, I'd suggest we close this report as FIXED.
The fix is part of the stable release 1.2.4. Closing this bug.
Changing a bunch of bugs I missed (no idea why) to the gimp-perl product