Page 1 of 1

make install failing (Debian 8)

Posted: 2016-11-12T04:53:18-07:00
by .:DS:.
Hi all,
for the last couple days I try getting this to a resolved state, but alas haven't been able to do so.

After having to reinstall Debian fro ma CD image, I try compiling ImagaMagick with the latest git version but seem to fail.
./configure seems to run through fine (I paste the output below) apart from

Code: Select all

./configure: line 9414: AX_COMPILER_FLAGS: command not found
configure output: http://pastebin.com/LbFeF8Bh

For make I get

Code: Select all

rm: cannot remove 'MagickCore/.libs/MagickCore_libMagickCore_7_Q16HDRI_la-accelerate.o': Permission denied
Assembler messages:
Fatal error: can't create MagickCore/.libs/MagickCore_libMagickCore_7_Q16HDRI_la-accelerate.o: Permission denied
make[1]: *** [MagickCore/
and thus run "sudo make": which ends in

Code: Select all

make[1]: Leaving directory '/home/malformed/.bin/ImageMagick'


(log would be this one: http://pastebin.com/RA2DFjXa)

I then proceed to sudo make install:

Code: Select all

libtool: warning: relinking 'MagickWand/libMagickWand-7.Q16HDRI.la'
libtool: warning: relinking 'Magick++/lib/libMagick++-7.Q16HDRI.la'
/bin/mkdir: cannot create directory ‘/usr/local/share/man/man1’: File exists
make[2]: *** [install-man1] Error 1
make[1]: *** [install-am] Error 2
make: *** [install] Error 2
and

Code: Select all

Makefile:10594: recipe for target 'install-man1' failed
make[2]: Leaving directory '/home/malformed/.bin/ImageMagick'
Makefile:11279: recipe for target 'install-am' failed
make[1]: Leaving directory '/home/malformed/.bin/ImageMagick'
Makefile:11273: recipe for target 'install' failed
with the full make install log being this: http://pastebin.com/kPsbVGjH


I am pretty sure I am missing something, but I don't fully grasp what exactly. Woudl anyone be able to provide some advise for me, please?

I did google around for all the "error" outputs, but could not find anything that made a difference... the outputs remain pretty much the same when I run autoreconf -i as well (which only gives me

Code: Select all

sh: 1: gitversion: not found
sh: 1: gitversion: not found
libtoolize: `config/ltmain.sh' is newer: use `--force' to overwrite
libtoolize: `m4/libtool.m4' is newer: use `--force' to overwrite
libtoolize: `m4/ltoptions.m4' is newer: use `--force' to overwrite
libtoolize: `m4/ltversion.m4' is newer: use `--force' to overwrite
sh: 1: gitversion: not found
sh: 1: gitversion: not found
.

Any help would be much appreciated!
Demian

Re: make install fails (resolved)

Posted: 2016-11-13T00:24:56-07:00
by .:DS:.
In case someone else finds this while searching - I resolved this in the meantime.

I did two things, the latter of which might be unrelated (this was for a different situation).
First of all, I actually just removed the offending directory:

Code: Select all

sudo mv /usr/local/share/man/man1 /usr/local/share/man/man1_backup
and secondly (which might be unrelated), I also installed the intltool package.

D