Insallation failed with XCode4

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
ddphoto
Posts: 2
Joined: 2011-03-13T08:56:23-07:00
Authentication code: 8675308

Insallation failed with XCode4

Post by ddphoto »

Hello,

few days ago, i have download the version of XCode (v4). It seems in this version, that their is no PPC assembler but only x86/x86_64 :

Code: Select all

usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap /System/Library/Perl/5.10.0/ExtUtils/typemap  Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
gcc-4.2 -c  -I/usr/local/include/ImageMagick -I../ -I.. -I"/usr/include/ImageMagick"  -I/usr/local/include/ImageMagick -fopenmp -g -O2 -Wall -pthread -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"6.6.7\" -DXS_VERSION=\"6.6.7\"  "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs: In function ‘XS_Image__Magick_Mogrify’:
Magick.xs:7413: warning: format not a string literal and no format arguments
Magick.xs:7414: warning: format not a string literal and no format arguments
Magick.xs: In function ‘XS_Image__Magick_Smush’:
Magick.xs:13519: warning: implicit declaration of function ‘SmushImages’
Magick.xs:13520: warning: assignment makes pointer from integer without a cast
Magick.xs: In function ‘XS_Image__Magick_Mogrify’:
Magick.xs:7413: warning: format not a string literal and no format arguments
Magick.xs:7414: warning: format not a string literal and no format arguments
Magick.xs: In function ‘XS_Image__Magick_Smush’:
Magick.xs:13519: warning: implicit declaration of function ‘SmushImages’
Magick.xs:13520: warning: assignment makes pointer from integer without a cast
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
Last edited by ddphoto on 2011-03-13T09:38:50-07:00, edited 2 times in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Insallation failed with XCode4

Post by magick »

SmushImages() is a recent addition to ImageMagick. You may need to upgrade your version of ImageMagick. Try MacPorts.
ddphoto
Posts: 2
Joined: 2011-03-13T08:56:23-07:00
Authentication code: 8675308

Re: Insallation failed with XCode4

Post by ddphoto »

I don't want use MacPorts.

My ImageMagick is a 6.6.7-0 (compiled by me using maddox-magick-installer)

I have finally installed PerlMagick manually by removing all "-arch ppc" in generated Makefile. It seems that "-arch ppc" has been added by $Config{'lddlflags'} within MakeFile.PL

Damien
Post Reply