On Jun 5, 2004, at 3:33 PM, Martin Costabel wrote:

Emily Jackson wrote:
This is the error I got trying to build the latest version of gimp2:
gcc -I/sw/lib/fontconfig2/include/ -g -O2 -Wall -o .libs/svg svg.o
LIBSVG@  -L/sw/lib ../../libgimp/.libs/libgimpui-2.0.dylib
[snip]
/sw/lib/libintl.dylib /sw/lib/libiconv.dylib /sw/lib/libexpat.dylib
gcc: LIBSVG@: No such file or directory
make[3]: *** [svg] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.2.iSKwxh failed, exit code 2
Failed: compiling gimp2-2.0.0-3 failed
[OS X 10.3.4, XCode 1.2, fink 0.20.2]

This is a bug in the gimp2.info file. I wonder how the maintainer (CCed) got it compiled. The bug is in the line


 perl -pi -e 's;SVG = @SVG@;SVG = ;' plug-ins/common/Makefile.in

At least the first of the two '@' signs has to be escaped. Otherwise perl interprets @SVG as a variable (with empty value). The line

 perl -pi -e 's;SVG = [EMAIL PROTECTED]@;SVG = ;' plug-ins/common/Makefile.in

works correctly.

--
Martin

It successfully compiled last night, although that line does produce the wrong result ("SVG = SVG@" instead of "SVG = ") when I try it.


Trying to contact Sourceforge's CVS to fix anything is much less successful; I can't reach cvs.fink.sourceforge.net at all.



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to