Errors when installing p5-perlmagick
I try to install some stuff for doing performance stats in Nagios (1.4) and it need various librairies. One of them is the Perl module for Image::Magick, but the installation can't proceed : [thor:~/DarwinPorts-1.3.2] root# port install 'p5-perlmagick' ---> Fetching p5-perlmagick ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-od.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-msn.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-bay13.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-msn.opendarwin.org/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-bay13.opendarwin.org/ Error: Target com.apple.fetch returned: fetch failed Error: Status 1 encountered during processing. And if I try to install it by hand with CPAN, I get : Writing Makefile for Image::Magick .... Magick.c: In function `XS_Image__Magick_Transform': Magick.c:9989: warning: unused variable `ref' Magick.c:9984: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Write': Magick.c:10131: warning: unused variable `ref' Magick.c:10126: warning: unused variable `ix' make: *** [Magick.o] Error 1 /usr/bin/make -- NOT OK It's on Mac OS X Server 10.3.9 with DarwinPorts-1.3.2, Image Magick was installed from DarwinPorts. -- Pascal Robert Spécialiste en informatique/IT Specialist OS communications informatiques inc. +1 450 676-1238 x28 http://www.os.ca
Pascal Robert <probert@os.ca> on Wednesday, October 11, 2006 at 5:24 AM -0800 wrote:
I try to install some stuff for doing performance stats in Nagios (1.4) and it need various librairies. One of them is the Perl module for Image::Magick, but the installation can't proceed :
[thor:~/DarwinPorts-1.3.2] root# port install 'p5-perlmagick' ---> Fetching p5-perlmagick ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-od.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-msn.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-bay13.opendarwin.org/perl5 ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-msn.opendarwin.org/ ---> Attempting to fetch PerlMagick-6.24.tar.gz from http://distfiles-bay13.opendarwin.org/ Error: Target com.apple.fetch returned: fetch failed Error: Status 1 encountered during processing.
And if I try to install it by hand with CPAN, I get :
Writing Makefile for Image::Magick .... Magick.c: In function `XS_Image__Magick_Transform': Magick.c:9989: warning: unused variable `ref' Magick.c:9984: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Write': Magick.c:10131: warning: unused variable `ref' Magick.c:10126: warning: unused variable `ix' make: *** [Magick.o] Error 1 /usr/bin/make -- NOT OK
It's on Mac OS X Server 10.3.9 with DarwinPorts-1.3.2, Image Magick was installed from DarwinPorts.
I filed a bug just now to update p5-perlmagick to 6.2.9. Not sure if that will fix the issue on 10.3 but you could try it by applying the changes to your local Portfile now. http://svn.macosforge.org/projects/macports/ticket/10859 The imagemagick port also needs to be updated to 6.2.9. It is unmaintained and compiles fine so I'll update it tonight. If you want to try it now just change the items below in the Portifile. Mark ImageMagick --------------- -version 6.2.7-5 +version 6.2.9-8 -checksums md5 015400407873400f341ce9d761ab5be8 \ - sha1 8ea8d8e08a44f1f409b56bd551ce8426bb24c291 \ - rmd160 f8b155aa637a3f665ade6917387d1d6f06624094 +checksums md5 683b37415e4fc914f21c138205d4d451 \ + sha1 fc7ba296a72b47d1af5889437d346187bb9b6368 \ + rmd160 ad33867224d312282467db2643ada7ea86a74169 -worksrcdir ${name}-6.2.7 +worksrcdir ${name}-6.2.9
Le 06-10-11, à 12:40, Mark Duling a écrit :
Pascal Robert <probert@os.ca> on Wednesday, October 11, 2006 at 5:24 AM -0800 wrote:
I try to install some stuff for doing performance stats in Nagios (1.4) and it need various librairies. One of them is the Perl module for Image::Magick, but the installation can't proceed : ... It's on Mac OS X Server 10.3.9 with DarwinPorts-1.3.2, Image Magick was installed from DarwinPorts.
I filed a bug just now to update p5-perlmagick to 6.2.9. Not sure if that will fix the issue on 10.3 but you could try it by applying the changes to your local Portfile now.
Just tried it, same errors : Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/ _usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_perl_p5-perlmagick/work/PerlMagick" && make all" returned error 2 Command output: Magick.c:8586: warning: unused variable `ref' Magick.c:8581: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryFontMetrics': Magick.c:8702: warning: unused variable `ref' Magick.c:8697: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryMultilineFontMetrics': Magick.c:9061: warning: unused variable `ref' Magick.c:9056: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryFormat': Magick.c:9420: warning: unused variable `ref' Magick.c:9415: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Read': Magick.c:9509: warning: unused variable `ref' Magick.c:9504: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Remote': Magick.c:9709: warning: unused variable `ref' Magick.c:9704: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Set': Magick.c:9757: warning: unused variable `ref' Magick.c:9752: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Statistics': Magick.c:9816: warning: unused variable `ref' Magick.c:9811: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Transform': Magick.c:9989: warning: unused variable `ref' Magick.c:9984: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Write': Magick.c:10131: warning: unused variable `ref' Magick.c:10126: warning: unused variable `ix' make: *** [Magick.o] Error 1
Pascal, I see those errors are to be expected. http://www.imagemagick.org/pipermail/magick-users/2005-July/015823.html In fact, I see those errors too but mine continues and installs rather than quitting. I have an old 10.3.6 machine and I just installed the current versions of ImageMagick and perlmagick on it with no problems. So it seems it is capable of building on 10.3. You might check to see if you are running the latest perl and freetype by using 'port outdated'. I really can't say what the problem might be, but perhaps it is either dependency problems or manually installed software somewhere. Sorry I can't be of more help. Mark Pascal Robert <probert@os.ca> on Wednesday, October 11, 2006 at 10:33 AM -0800 wrote:
Just tried it, same errors :
Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/ _usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_perl_p5-perlmagick/work/PerlMagick" && make all" returned error 2 Command output: Magick.c:8586: warning: unused variable `ref' Magick.c:8581: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryFontMetrics': Magick.c:8702: warning: unused variable `ref' Magick.c:8697: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryMultilineFontMetrics': Magick.c:9061: warning: unused variable `ref' Magick.c:9056: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_QueryFormat': Magick.c:9420: warning: unused variable `ref' Magick.c:9415: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Read': Magick.c:9509: warning: unused variable `ref' Magick.c:9504: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Remote': Magick.c:9709: warning: unused variable `ref' Magick.c:9704: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Set': Magick.c:9757: warning: unused variable `ref' Magick.c:9752: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Statistics': Magick.c:9816: warning: unused variable `ref' Magick.c:9811: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Transform': Magick.c:9989: warning: unused variable `ref' Magick.c:9984: warning: unused variable `ix' Magick.c: In function `XS_Image__Magick_Write': Magick.c:10131: warning: unused variable `ref' Magick.c:10126: warning: unused variable `ix' make: *** [Magick.o] Error 1
participants (2)
-
Mark Duling
-
Pascal Robert