On 10/2/2012 7:38 AM, Axb wrote:
totally new to me...
............
gcc  -g -O2 spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \
                -o spamc/spamc   -ldl -lz
spamc/libspamc.c:68:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [spamc/spamc] Error 1
............

axb@toro:~$ locate zlib.h
/usr/lib/syslinux/com32/include/zlib.h

stumped!

What changed?
That doesn't sound like a standard include dir. I would have expected /usr/include/zlib.h or similar.

What does ./configure say for zlib?

./configure | grep zlib
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes

Are you sending and CPPFLAGS?

CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>

Regards,
KAM

Reply via email to