Date: Mon, 24 Dec 2001 19:55:39 -0200 From: =?iso-8859-1?Q?Jos=E9?= Romildo Malaquias <romildo@uber.com.br> To: freebsd-questions@freebsd.org Subject: [newbie] C compiler not finding headers and libs in /usr/local Message-ID: <3C27A45A.44750AF6@uber.com.br>
next in thread | raw e-mail | index | archive | help
--------------EEB8A06DA51E6ACD7490DCFD Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello. I have recently make a fresh install of FreeBSD 4.4 on my PC computer. Although most packages get installed in /usr/local, Surprisingly I have found out that the GNU C compiler is not able, by default, to locate header files in /usr/local/include, and library files in /usr/local/lib. Is this the expected behaviour? What is the best way of fixing it? I noticed the problem when bulding xemacs-21.4.6 yesterday, because its configure script was not able to find the PNG library, although it is there. Regards. Romildo -- Prof. José Romildo Malaquias Departamento de Computação http://iceb.ufop.br/~romildo Universidade Federal de Ouro Preto romildo@iceb.ufop.br Brasil romildo@uber.com.br --------------EEB8A06DA51E6ACD7490DCFD Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Hello. <p>I have recently make a fresh install of FreeBSD 4.4 on my PC computer. <br>Although most packages get installed in /usr/local, Surprisingly I have <br>found out that the GNU C compiler is not able, by default, to locate <br>header files in /usr/local/include, and library files in /usr/local/lib. <br>Is this the expected behaviour? What is the best way of fixing it? <p>I noticed the problem when bulding xemacs-21.4.6 yesterday, because <br>its configure script was not able to find the PNG library, although <br>it is there. <p>Regards. <p>Romildo <pre>-- Prof. José Romildo Malaquias Departamento de Computação <A HREF="http://iceb.ufop.br/~romildo">http://iceb.ufop.br/~romildo</A> Universidade Federal de Ouro Preto romildo@iceb.ufop.br Brasil romildo@uber.com.br</pre> </html> --------------EEB8A06DA51E6ACD7490DCFD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C27A45A.44750AF6>