Hi! cc: Magick.o: No such file or directory

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
sxhyll

Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

Hi:

can you help me? thank you.


Code: Select all

[size=200[root@mdevelop ImageMagick-6.4.0]# make

make  all-am
make[1]: Entering directory `/home/lili/ImageMagick-6.4.0'
cd PerlMagick && make CC='gcc'
make[2]: Entering directory `/home/lili/ImageMagick-6.4.0/PerlMagick'
gcc -c  -I../ -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/openwin/include -I/usr/openwin/include/X11 -I/usr/local/include/libxml2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -g -O2 -Wall -W -D_REENTRANT -pthreads -xO3 -xspace -xildoff   -DVERSION=\"6.4.0\" -DXS_VERSION=\"6.4.0\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: Magick.c: linker input file unused because linking not done
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/home/lili/ImageMagick-6.4.0/PerlMagick/../magick/.libs:/home/lili/ImageMagick-6.4.0/PerlMagick/../wand/.libs" cc  -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -G -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -lfreetype -lz -L/usr/local/lib Magick.o  -o blib/arch/auto/Image/Magick/Magick.so   -L/usr/local/lib -L/home/lili/ImageMagick-6.4.0/PerlMagick/../magick/.libs -lMagickCore -L/home/lili/ImageMagick-6.4.0/PerlMagick/../wand/.libs -lMagickWand
cc: Magick.o: No such file or directory
make[2]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[2]: Leaving directory `/home/lili/ImageMagick-6.4.0/PerlMagick'
make[1]: *** [all-perl] Error 2
make[1]: Leaving directory `/home/lili/ImageMagick-6.4.0'
make: *** [all] Error 2
][/size]

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Hi! cc: Magick.o: No such file or directory

Post by magick »

Try this:
  • cd ImageMagick-6.4.0
    make -k -i install
    cd PerlMagick
    perl Makefile.PL
    make install
If the PerlMagick build fails and you are not using PerlMagick, you are done. Otherwise you may need to edit Makefile and tweak the build arguments.
sxhyll

Re: Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

l'm sorry, i try it step ,but....

Code: Select all

[size=200]
[root@mdevelop ImageMagick-6.4.0]# cd PerlMagick
[root@mdevelop PerlMagick]# perl Makefile.PL
Warning: -L../magick/.libs changed to -L/home/lili/ImageMagick-6.4.0/PerlMagick/../magick/.libs
Warning: -L../wand/.libs changed to -L/home/lili/ImageMagick-6.4.0/PerlMagick/../wand/.libs
Writing Makefile for Image::Magick
[root@mdevelop PerlMagick]# make install
cc -c  -I../ -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/openwin/include -I/usr/openwin/include/X11 -I/usr/local/include/libxml2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -g -O2 -Wall -W -D_REENTRANT -pthreads -xO3 -xspace -xildoff   -DVERSION=\"6.4.0\" -DXS_VERSION=\"6.4.0\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
cc: Magick.c: linker input file unused because linking not done
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/usr/local/lib" cc  -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -G -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -lfreetype -lz -L/usr/local/lib Magick.o  -o blib/arch/auto/Image/Magick/Magick.so   -L/usr/local/lib -L/home/lili/ImageMagick-6.4.0/PerlMagick/../magick/.libs -lMagickCore -L/home/lili/ImageMagick-6.4.0/PerlMagick/../wand/.libs -lMagickWand
cc: Magick.o: No such file or directory
make: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1

[/size]
sxhyll

Re: Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

and i want ImageMagick + Jmagick on solaris 10


btw, my english is very pool, so sorry and thank you very much, admin :)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Hi! cc: Magick.o: No such file or directory

Post by magick »

You do not need PerlMagick for ImageMagick + JMagick support. Try this:
  • cd ImageMagick-6.4.0
    ./configure --without-perl
    make
    make install
If you can, grab ImageMagick-6.5.6-4, the latest release, and install that version rather than 6.4.0.
sxhyll

Re: Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

ok,let me try,thank you.

and one question:


in http://www.jmagick.com , the Jmagick final version is 6.4.0, can i install ImageMagick-6.5.6-4 ?


btw, at last time, i get down ImageMagick into http://www.sunfreeware.com ,
the version is ImageMagick 6.5.1( this is not source code,use :pkgadd -d ImageMagick****),but when i after install ,then, each other uncompatible...
so, in this times,i get ImageMagick6.4.0...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Hi! cc: Magick.o: No such file or directory

Post by magick »

Its possible that JMagick is incompatible with ImageMagick 6.5.6 but it should not be.
sxhyll

Re: Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

o,ye!

I am very happy now!

because you help me , and ImageMagick + Jmagick is success! it's work! ha ha

thank you, very much,very much!

i worry about it take out one day!,than you again.


btw,if you know that last question,please tell me. i must go to bed, because , my time area is GMT+08:00
sxhyll

Re: Hi! cc: Magick.o: No such file or directory

Post by sxhyll »

ok, next time, i try it .

:D
Post Reply