After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 75742 - Tricks needed to get gimp1.2.3 compiled
Tricks needed to get gimp1.2.3 compiled
Status: VERIFIED FIXED
Product: gimp-perl
Classification: Other
Component: General
unspecified
Other HP-UX
: Normal normal
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on: 75452
Blocks:
 
 
Reported: 2002-03-21 12:53 UTC by Martin Jost
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Jost 2002-03-21 12:53:48 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
Comment 1 Raphaël Quinet 2002-03-21 20:37:40 UTC
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.
Comment 2 Martin Jost 2002-03-27 09:40:15 UTC
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'
Comment 3 Sven Neumann 2003-03-06 15:26:57 UTC
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.
Comment 4 Martin Jost 2003-03-12 09:53:15 UTC
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
Comment 5 Sven Neumann 2003-03-12 12:59:29 UTC
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.
Comment 6 Raphaël Quinet 2003-06-20 19:03:38 UTC
The fix is part of the stable release 1.2.4.  Closing this bug.
Comment 7 Dave Neary 2004-01-05 19:43:09 UTC
Changing a bunch of bugs I missed (no idea why) to the gimp-perl product