Page 1 of 1

make install errors

Posted: 2008-02-01T17:01:37-07:00
by rjteeter
I did a make install and I get this:

7492602:~/ImageMagick-6.3.7 > make install
cd PerlMagick && make CC='gcc'
make[1]: Entering directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.7/PerlMagick'
make[1]: Leaving directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.7/PerlMagick'
make[1]: Entering directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.7'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'magick/libMagick.la' '/usr/local/lib/libMagick.la'
/usr/bin/install: cannot create regular file `/usr/local/lib/libMagick.so.10.0.9': Permission denied
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'wand/libWand.la' '/usr/local/lib/libWand.la'
libtool: install: warning: relinking `wand/libWand.la'
/usr/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
libtool: install: error: relink `wand/libWand.la' with the above command before installing it
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'Magick++/lib/libMagick++.la' '/usr/local/lib/libMagick++.la'
libtool: install: warning: relinking `Magick++/lib/libMagick++.la'
libtool: ignoring unknown tag CXX
/usr/bin/ld: cannot find -lWand
collect2: ld returned 1 exit status
libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.7'
make: *** [install-am] Error 2
7492602:~/ImageMagick-6.3.7 >


What do the errors mean? Do I need to fix something? What do I need to fix?

Re: make install errors

Posted: 2008-02-01T19:34:39-07:00
by magick
We recently upgraded the build files for ImageMagick. Try ImageMagick version 6.3.8-2 and see if the problem persists.

Re: make install errors

Posted: 2008-02-02T11:40:17-07:00
by rjteeter
Alrite, heres what I get:

7492602:~/ImageMagick-6.3.8 > make install
make install-am
make[1]: Entering directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8'
cd PerlMagick && make CC='gcc'
make[2]: Entering directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8/PerlMagick'
make[2]: Leaving directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8/PerlMagick'
make[2]: Entering directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'magick/libMagick.la' '/usr/local/lib/libMagick.la'
/usr/bin/install: cannot create regular file `/usr/local/lib/libMagick.so.10.0.10': Permission denied
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'wand/libWand.la' '/usr/local/lib/libWand.la'
libtool: install: warning: relinking `wand/libWand.la'
/usr/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
libtool: install: error: relink `wand/libWand.la' with the above command before installing it
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'Magick++/lib/libMagick++.la' '/usr/local/lib/libMagick++.la'
libtool: install: warning: relinking `Magick++/lib/libMagick++.la'
/usr/bin/ld: cannot find -lWand
collect2: ld returned 1 exit status
libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/homepages/30/d117730941/htdocs/ImageMagick-6.3.8'
make: *** [install] Error 2
7492602:~/ImageMagick-6.3.8 >

Re: make install errors

Posted: 2008-02-02T11:43:53-07:00
by magick
Looks like you don't have permission to install in /usr/local. Add the --prefix option to your configure command line and specify a path where you do have permission to install ImageMagick.

Re: make install errors

Posted: 2008-02-02T11:59:47-07:00
by rjteeter
I'm sorry im not very familiar with this. Would it be possible to get a suggestion on a directory and put it in the command I need to use?

Re: make install errors

Posted: 2008-02-02T12:59:55-07:00
by magick
See http://magick.imagemagick.org/script/ad ... #configure for help with the configure script command line arguments.