David Glover-Aoki wrote:
  ./configure CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib'

It doesn't work with plain configure, and it doesn't work setting the flags as 
above either. In both cases I get this error:

c++ -O2 -c create.cc -o create.o
create.cc:41:10: fatal error: 'lzlib.h' file not found
#include<lzlib.h>
          ^~~~~~~~~

I have lzlib installed from the FreeBSD repo. liblz.a is in /usr/local/lib, and 
lzlib.h is in /usr/local/include.

This does not make sense to me. I don't know why your compiler can't find lzlib.h.

Maybe you can find some clue trying to compile plzip[1], which also uses lzlib but is included in the FreeBSD ports[2] and therefore should compile.

[1] http://download.savannah.gnu.org/releases/lzip/plzip/
[2] http://www.freshports.org/archivers/plzip

Best regards,
Antonio.

Reply via email to