Page 1 of 1

building is not parallel-safe

Posted: 2008-08-20T15:06:15-07:00
by _maekke_
hello again

this bugreport at gentoo occurs with parallel building, could you please have a look at it?
last known working version is 6.4.0.9, first known broken version is 6.4.2.0.

the problem seems to be, that -lMagickWand cannot be found (yet):

Code: Select all

x86_64-pc-linux-gnu-gcc  -L../magick/.libs -lMagickCore -L../wand/.libs
-lMagickWand -shared -L/usr/local/lib64 -lfreetype -lz Magick.o  -o
blib/arch/auto/Image/Magick/Magick.so       \
           -L/usr/lib64
-L/var/tmp/portage/media-gfx/imagemagick-6.4.2.0/work/ImageMagick-6.4.2/PerlMagick/../magick/.libs
-lMagickCore
-L/var/tmp/portage/media-gfx/imagemagick-6.4.2.0/work/ImageMagick-6.4.2/PerlMagick/../wand/.libs
       \

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lMagickWand
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1

thanks
Markus

Re: building is not parallel-safe

Posted: 2008-08-20T15:29:04-07:00
by magick
We added a dependency to $(MAGICKWAND_LIBS) to the PerlMagick Makefile which should resolve the parallel build problem. The fix is in the Subversion trunk and will be in the next point release.