> Check config.log in the Imagemagick source tree and search for png.
The extra -L and -R LDFLAGS are becasue I forgot to revert the spec, after
adding them to make sure
nothing really odd was happening.
The png part:
configure:35124: checking for PNG support
configure:35126: result:
configure:35140: checking png.h usability
configure:35157: /usr/bin/cc -c -i -xO4 -xspace -xstrconst -xpentium -mr
-xregs=no%frameptr -D_REENTRANT -I/usr/sfw/include
/freetype2 -I/usr/sfw/include conftest.c >&5
configure:35163: $? = 0
configure:35177: result: yes
configure:35181: checking png.h presence
configure:35196: /usr/bin/cc -E -I/usr/sfw/include/freetype2 -I/usr/sfw/include
conftest.c
configure:35202: $? = 0
configure:35216: result: yes
configure:35244: checking for png.h
configure:35251: result: yes
configure:35262: checking for png_get_io_ptr in -lpng
configure:35297: /usr/bin/cc -o conftest -i -xO4 -xspace -xstrconst -xpentium
-mr -xregs=no%frameptr -D_REENTRANT -I/usr/sf
w/include/freetype2 -I/usr/sfw/include -Wl,-zignore -Wl,-zcombreloc
-Wl,-Bdirect -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/lib -
R/usr/lib -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype -lz conftest.c -lpng
-lfreetype -lXext -lXt -lSM -lICE -lX11 -lsocket
-lnsl -lbz2 -lz -lm -lpthread >&5
"conftest.c", line 183: warning: statement not reached
configure:35303: $? = 0
configure:35321: result: yes
configure:35329: checking if PNG package is complete
configure:35346: result: yes
The formatted options as output by the configure:
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : i386-pc-solaris2.11
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=no no
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=no no
Quantum depth --with-quantum-depth=16 16
Delegate Configuration:
BZLIB --with-bzlib=yes yes
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (unknown)
Ghostscript fonts --with-gs-font-dir=default none
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes yes
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS = -lSM -lICE
X_LIBS =
X_EXTRA_LIBS = -lsocket -lnsl
Options used to compile and link:
PREFIX = /usr
EXEC-PREFIX = /usr
VERSION = 6.3.3
CC = /usr/bin/cc
CFLAGS = -i -xO4 -xspace -xstrconst -xpentium -mr -xregs=no%frameptr
-D_REENTRANT
CPPFLAGS = -I/usr/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/usr/lib -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect
-L/usr/sfw/lib -R/usr/sfw/lib -L/usr/lib -R/usr/lib -L/usr/sfw/lib
-R/usr/sfw/lib -lfreetype -lz
LIBS = -lMagick -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11
-lsocket -lnsl -lXt -lbz2 -lz -lpthread -lm -lpthread
CXX = /usr/bin/CC
CXXFLAGS = -i -xO3 -xspace -pentium -mr -norunpath -xregs=no%frameptr
-D_REENTRANT
And afterwards:
-bash-3.00$ convert -list format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
This is on an x64 machine, and doing the same on an x86 machine does the same
thing (for me). I'll kick off a build on a SPARC now and
see how that fairs.