FreeBSD Port: pdflib-7.0.0p3

David.Bauer at SCHERING.DE David.Bauer at SCHERING.DE
Tue Dec 5 22:59:33 PST 2006


> >/usr/local/bin/libtool --silent --mode=compile cc -c
-I/usr/local/include
> >-I/usr/X11R6/include -I../../libs/pdflib -I../../libs/pdcore
> >-I../../libs/tiff -I../../libs/flate -I../../libs/png -I../../libs/jpeg
>
> I don't think the -I/usr/local/include and -I/usr/X11R6/include
> belong there.  My guess is something in your environment (perhaps
> mistakenly set in /etc/make.conf) is overriding (e.g.) CPPFLAGS.

Yup, that was my error. I had this in CPPFLAGS.
After unsetting them, the port compiles without problems.

> If you have graphics/tiff installed, this is going to end up
> pulling in some of the headers for tiff 3.8.2 instead of the
> 3.7.4-derived ones included as part of PDFlib.  They're not
> compatible.

Yes I have the newer libtiff installed so this was exactly what happened.

Thanks so lot,
David.



More information about the freebsd-ports mailing list