cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problems building with CFLAGS

From: Nick Humfrey <njh_at_ecs.soton.ac.uk>
Date: Sat, 25 Jan 2003 12:59:59 +0000

Hi,

I have a whole load of libraries and headers installed in my home
directory. In y login script I have the following envirmoment
variables set:

LD_LIBRARY_PATH=/home/njh/lib
CFLAGS=-I/home/njh/include
LDFLAGS=-L/home/njh/lib

So that the compiler can find stuff.

This setup has worked for building many packages, but I am having
problems getting curl 7.10.3 to build.

./configure --prefix /home/njh

First problem is:
checking zlib.h usability... yes
checking zlib.h presence... no
configure: WARNING: zlib.h: accepted by the compiler, rejected by the
preprocessor!

Which *is* present but installed in /home/njh/include

I suspect it is a problem with configure.in

Cheers,

nick.

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-25