Problem making libpng 1.2.27 on Mac OS X 10.5.2

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Problem making libpng 1.2.27 on Mac OS X 10.5.2

Post by rmagick »

I've downloaded libpng 1.2.27 from pub/ImageMagick/delegates but I'm having trouble getting it to build. After running

Code: Select all

./configure --prefix=/usr/local
the make command fails with the following messages. Please let me know if I need to be doing something different or you need any more information. Thanks!

Code: Select all

libpng-1.2.27$ make
make  all-am
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG  -I/opt/local/include  -Wall -g -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f 'png.c' || echo './'`png.c
./libtool: line 836: X--tag=CC: command not found
./libtool: line 869: libtool: ignoring unknown tag : command not found
./libtool: line 836: X--mode=compile: command not found
./libtool: line 1002: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1003: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1146: Xgcc: command not found
./libtool: line 1146: X-DHAVE_CONFIG_H: command not found
./libtool: line 1146: X-I.: command not found
./libtool: line 1146: X-DPNG_CONFIGURE_LIBPNG: command not found
./libtool: line 1146: X-I/opt/local/include: No such file or directory
./libtool: line 1146: X-Wall: command not found
./libtool: line 1146: X-g: command not found
./libtool: line 1146: X-MT: command not found
./libtool: line 1146: Xlibpng12_la-png.lo: command not found
./libtool: line 1146: X-MD: command not found
./libtool: line 1146: X-MP: command not found
./libtool: line 1146: X-MF: command not found
./libtool: line 1146: X.deps/libpng12_la-png.Tpo: No such file or directory
./libtool: line 1146: X-c: command not found
./libtool: line 1197: Xlibpng12_la-png.lo: command not found
./libtool: line 1202: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [libpng12_la-png.lo] Error 1
make: *** [all] Error 2
libpng-1.2.27$ 
Post Reply