On Tue Feb 12 23:12:31 2008, PERSICOM wrote:
Show quoted text> I started over with a fresh build. After un-tarring, instead of
> modifying PNG/libpng/Makefile.PL, I modified
PNG/Makefile.libpng.maybe
Show quoted text> in the manner you suggested.
>
> It ran the ./configure as you intended. However, my problem is that I
> want to use Sun's compiler, but gcc is installed in /usr/local/bin,
> which I need on my PATH to complete my automted install. so that PNG
is
Show quoted text> being built with gcc while the rest of Perl is built with Sun's
> compiler.
>
> Curious, however, how libjpeg does the right thing (see below); it
> check for gcc and finds /opt/SUNWspro/bin/cc. Maybe libpng's
configure
Show quoted text> needs to mirror that.
>
> Building jpeg/libjpeg.a
> checking for gcc... /opt/SUNWspro/bin/cc
> checking whether the C compiler (/opt/SUNWspro/bin/cc -D_REENTRANT -
> I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
> KPIC -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -L/usr/lib -L/usr/ccs/lib -
L/opt/SUNWspro/prod/li
Show quoted text> b -L/usr/local/lib ) works... yes
> checking whether the C compiler (/opt/SUNWspro/bin/cc -D_REENTRANT -
> I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
> KPIC -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -L/usr/lib -L/usr/ccs/lib -
L/opt/SUNWspro/prod/li
Show quoted text> b -L/usr/local/lib ) is a cross-compiler... no
>
> Next, I went and ran the configure myself.
And it still found gcc not the Sun compiler.
Anything else you want me to try?