Subject: | make failed on RH7.3 with gcc-2.96-110.i386c-2.96-110.i386 |
good day:)
I tried to install your stuff at the following :
Compress-Zlib-1.16
perl, v5.6.1 built for i386-linux
Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com)
Red Hat Linux 7.3
gcc-2.96-110.i386
But make and make test failed with errors
please read the following output
thank you for any guidelines how to solve this
Nada
[root@linux Compress-Zlib-1.16]# perl Makefile.PL
Parsing config.in...
Looks Good.
Up/Downgrade complete.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Zlib
[root@linux Compress-Zlib-1.16]# make
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE Zlib.c
Zlib.xs:25:19: zlib.h: No such file or directory
make: *** [Zlib.o] Error 1
[root@linux Compress-Zlib-1.16]# make test
gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE Zlib.c
Zlib.xs:25:19: zlib.h: No such file or directory
make: *** [Zlib.o] Error 1
[root@linux Compress-Zlib-1.16]# ls
ANNOUNCE constants.xs Makefile pm_to_blib Zlib.c
blib examples Makefile.NT README Zlib.pm
config.in fallback.h Makefile.PL t Zlib.pm.bak
constants.h fallback.xs MANIFEST typemap Zlib.xs