I don't know what "error 2" is, but "make install" is throwing everything into one command, the configure, build, and install. Possibly you ran make install as a user, rather than root? Maybe you don't have the c++ devel rpm installed, etc.
Start fresh. Unpack the tarball, then
configure --prefix=/usr # assuming your old binaries are in /usr/bin
#check for errors
make
#check for errors
# su to root
make install
# now the c libs are installed
# go to the PerlMagick subdir
perl Makefile.PL
make
# su to root
make install
Report back at what step the error occurs, and what it says.
| [reply] [d/l] |
I'm using ImageMagick-6.4.3 and gcc-c++-4.3.0-8.i386
I can find no Fedora9 c++ development libraries
My steps are:
(1)./configure --prefix=/usr/bin --with-perl-options 2>&1|tee config.out
(2)make install 2>&1|tee install.out
I see no issues in config.out, but tail of install.out is:
collect2: ld terminated with signal 11 Segmentation fault
make1: *** coders/avi.la Error 1
make1: Leaving directory `/root/IMAGEMAGICK/ImageMagick-6.4.3'
make: *** install Error 2
There are three warnings but they do not appear to be significant.
| [reply] |
The only error obvious to me, is the --prefix=/usr/bin, it should just be --prefix=/usr. IM will then install the binaries in /usr/bin, the libs in /usr/lib, and the headers in /usr/include.
Try with the right prefix, and please use the simpler step by step method I showed.
The problem with --prefix=/usr/bin is that all the headers and libs won't be put in the right place.
When trying to debug a problem, you want each step as simple as possible. It really sounds like you have a messed up fedora compiler..... ask on a fedora list how to do it. I use Slackware, and never have problems like that. I kind of find it hard to believe that you didn't see an error in the logs about not being able to install the libs into /usr/bin/lib. If they did install, you might want to remove them.
| [reply] |