Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2009 12:17:35 +0300
From:      Giorgos Keramidas <>
To:        Yuri <>
Subject:   Re: Why configure files don't find /usr/local based headers?
Message-ID:  <874oqv1gpc.fsf@kobe.laptop>
In-Reply-To: <> ('s message of "Tue, 22 Sep 2009 01:29:38 -0700")
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 22 Sep 2009 01:29:38 -0700, Yuri <> wrote:
> I noticed many times that configure files of various projects fail to
> find headers of third party packages under /usr/local/include.
> They run command line like this:
> gcc -c conftest.c
> and it doesn't find them without -I/usr/local/include.
> Is something misconfigured on my system? How to make this issue go away
> without modifying all configure files?

Because gcc in FreeBSD doesn't automatically include header files from
`/usr/local', unless you explicitly add the directory to the list of
include directories.

In other systems there may not be a `/usr/local/include' path at all.
For example, in my Debian installation there is no such directory.

Want to link to this message? Use this URL: <>