Date: Sat, 13 Jul 2002 13:50:02 +0200 From: Paul Everlund <tdv94ped@cs.umu.se> To: freebsd-questions@freebsd.org Subject: Include files in /usr/local/include not found Message-ID: <3D3013EA.C0904498@cs.umu.se>
index | next in thread | raw e-mail
Hi!
I got an error while making ./configure for a program. It said it
did not find png.h, but it's there as I have png-1.2.4 installed
on my system.
Wrote the following test program:
---test.c
#include <png.h>
int main()
{
return 0;
}
Did then compile it with:
cc test.c
Got the following error:
test.c:1: png.h: No such file or directory
Did then try to compile it as this:
cc -I/usr/local/include test.c
This worked!
My question is:
How do one fix so /usr/local/include is searched automatically?
If that can be done, the ./configure should work for the program
I'm trying to build.
Best regards,
Paul
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D3013EA.C0904498>
