building is not parallel-safe

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
_maekke_

building is not parallel-safe

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: building is not parallel-safe

Post 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.
Post Reply