Giacomo Petrini wrote: > Hi, > > I've problem compiling transcode-1.0.0-1008. > Using iMacG4 with OSX 10.5.6 and fink last version. > this is the error: > import_im.c: In function 'import_im_decode': > import_im.c:269: error: invalid operands to binary >> > import_im.c:272: error: invalid operands to binary >> > import_im.c:275: error: invalid operands to binary >> > make[3]: *** [import_im.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > ### execution of export failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-transcode-1.0.0 > (Lettura del database ... 93175 file e directory attual > Rimozione di fink-buildlock-transcode-1.0.0-1008 ... > Failed: phase compiling: transcode-1.0.0-1008 failed > > > If you need some other info just ask. > Thanks Bye Jack > > It's good to post the last line of the compiler's output before the failure, because that helps us diagnose potential issues, such as linkage outside of Fink.
When I tried this build on 10.5.6/unstable it didn't even attempt to build the imagemagick portions: . . . checking whether imagemagick support is requested... yes checking for pkgconfig support for imagemagick... yes checking for Magick-config... /sw/bin/Magick-config checking how to determine IMAGEMAGICK_CFLAGS... pkg-config checking magick/api.h usability... yes checking magick/api.h presence... yes checking for magick/api.h... yes checking how to determine IMAGEMAGICK_LIBS... pkg-config checking for InitializeMagick in -lMagick... no . . . ERROR: option '--enable-imagemagick' failed: cannot link against libMagick libMagick can be found in the following packages: ImageMagick http://www.imagemagick.org/ . . . However, in the ImageMagick version corresponding to our imagemagick1, libMagick has been replaced by libMagickCore. Transcode appears not to be checking Magick-config and pkg-config to find out what is actually installed, but instead to have a hardcoded -lMagick. On my system, the build didn't even encounter the area where you're having problems, and finished. That leads me to think that perhaps you are linking to non-Fink libraries, perhaps in /usr/local. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.beginners