From owner-freebsd-questions Mon Dec 24 13:46:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dot.uber.com.br (ctbcnetsuper-146.xdsl-fixo.ctbcnetsuper.com.br [200.225.201.146]) by hub.freebsd.org (Postfix) with SMTP id D83DE37B416 for ; Mon, 24 Dec 2001 13:46:40 -0800 (PST) Received: (qmail 26217 invoked from network); 24 Dec 2001 19:42:39 -0000 Received: from ctbcnetsuper-016.xdsl-dinamico.ctbcnetsuper.com.br (HELO uber.com.br) (200.225.204.16) by 0 with SMTP; 24 Dec 2001 19:42:39 -0000 Message-ID: <3C27A45A.44750AF6@uber.com.br> Date: Mon, 24 Dec 2001 19:55:39 -0200 From: =?iso-8859-1?Q?Jos=E9?= Romildo Malaquias Organization: UFOP X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: [newbie] C compiler not finding headers and libs in /usr/local Content-Type: multipart/alternative; boundary="------------EEB8A06DA51E6ACD7490DCFD" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --------------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 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message