Libpng Errors

Dan Nicholson dbn.lists at gmail.com
Fri Mar 3 06:19:07 PST 2006


On 3/3/06, Lord Igtenio <igtenio at gmail.com> wrote:
>
> Why is it that when you leave ZLIBINC
> and ZLIBLIB blank, thus defaulting to
> /usr/include and /usr/lib respectively,
> it refuses to work, but if you manually
> enter them, it detects them flawlessly?

It would seem that /usr/include is not the default for you.  Can you
try the following commands to see what the compiler defaults are?

$ echo 'main(){}' > dummy.c
$ gcc -v dummy.c 2>&1 | grep include

Here was the output from one working system:
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include
 /usr/include

--
Dan



More information about the blfs-support mailing list