Re: libraries in /usr/local/lib

2006-07-13 Thread Pawel S. Veselov
Yeah, otherwise GNU configure will stick the CPPFLAGS/CFLAGS before the "-I"s from the Makefiles, and source code often picks up the includes from the /usr/local/include (e.g.) instead of their own, and that usually breaks things Han Boetes wrote: Pawel S. Veselov wrote: Han Boetes wrote:

Re: libraries in /usr/local/lib

2006-07-13 Thread Han Boetes
Pawel S. Veselov wrote: > Han Boetes wrote: > > Mikulas Patocka wrote: > > > It is possible to add -I/usr/local/include -L/usr/local/lib > > > to compiler flags, I even distributed links with that for > > > some time, and it turned out that on other unix systems > > > -L/usr/local/lib reversed sear

Re: libraries in /usr/local/lib

2006-07-13 Thread Pawel S. Veselov
try if '-isystem/usr/local/include' works first, -I is bad Han Boetes wrote: Mikulas Patocka wrote: It is possible to add -I/usr/local/include -L/usr/local/lib to compiler flags, I even distributed links with that for some time, and it turned out that on other unix systems -L/usr/local/lib

Re: libraries in /usr/local/lib

2006-07-13 Thread Han Boetes
Mikulas Patocka wrote: > It is possible to add -I/usr/local/include -L/usr/local/lib to compiler > flags, I even distributed links with that for some time, and it turned out > that on other unix systems -L/usr/local/lib reversed search (first > /usr/local/lib and then /usr/lib, while it used to

libraries in /usr/local/lib

2006-07-13 Thread Mikulas Patocka
Hi I am maintaining links browser. People complain to me that they can't compile it in graphics mode on OpenBSD because it can't find libraries that are placed in /usr/local/lib and includes in /usr/local/include. The problem with libpng can be solved by using pkg-config, problem with libjpeg