Compiling libwww from Amaya 2.4 src on Solaris 2.5.1

I am trying to build Amaya on a Solaris 2.5.1 system.

I have executed 'configure' and 'make all' and there appears to be an
error during the build of libwww because it can't find zlib.h.  The
only place I see zlib.h in the distribution is in the libpng
directory.  Is that where libwww is supposed to get this header or is
it supposed to be in a system area?  

Any suggestions for easily coercing the build into finding the
zlib files?

I am using gmake 3.74 and gcc 2.7.2.

I noticed that configure is run for libwww.  I changed some options for
configure when executing it in the Amaya directory.  Could that be
causing such problems?  The arguments I used were
        --prefix=/home/magill/bin/Amaya/Amaya \
        --with-amaya \
        --enable-plugin \
        --x-includes=/usr/openwin/include \
        --x-libraries=/usr/openwin/lib\
        --with-motif_includes=/usr/dt/include \
        --with-motif_libraries=/usr/dt/lib\

The following is the output of make just before the error messages:

(cd .libs && rm -f libwwwutils.la && ln -s ../libwwwutils.la libwwwutils.la)
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../libwww/Library/src -I../.. -I/usr/local/include 
        -I../../../../../libwww/modules/md5     -I../../../../../libwww/modules/expat/xmlparse   -DW3C_ICONS=\"/usr/local/share/w3c-libwww\"  -O2 -W  -c ../../../../../libwww/Library/src/HTZip.c
gcc -DHAVE_CONFIG_H -I. -I../../../../../libwww/Library/src -I../.. -I/usr/local/include -I../../../../../libwww/modules/md5 -I../../../../../libwww/modules/expat/xmlparse -DW3C_ICONS=\"/usr/local/share/w3c-libwww\" -O2 -W -Wp,-MD,.deps/HTZip.pp -c ../../../../../libwww/Library/src/HTZip.c -o HTZip.o
../../../../../libwww/Library/src/HTZip.c:23: zlib.h: No such file or directory
make[3]: *** [HTZip.lo] Error 1
make[3]: Leaving directory `/home/magill/bin/Amaya/Amaya/solaris2.5.1/libwww/Library/src'
make[2]: *** [libwww_make_standard_libs] Error 2
make[2]: Leaving directory `/home/magill/bin/Amaya/Amaya/solaris2.5.1'
make[1]: *** [amaya_comp_libwww] Error 2
make[1]: Leaving directory `/home/magill/bin/Amaya/Amaya/solaris2.5.1/amaya'

Received on Wednesday, 19 January 2000 19:28:08 UTC