make install errors

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rjteeter

make install errors

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make install errors

Post by magick »

We recently upgraded the build files for ImageMagick. Try ImageMagick version 6.3.8-2 and see if the problem persists.
rjteeter

Re: make install errors

Post 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 >
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make install errors

Post 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.
rjteeter

Re: make install errors

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make install errors

Post by magick »

See http://magick.imagemagick.org/script/ad ... #configure for help with the configure script command line arguments.
Post Reply