[Debburn-devel] cmake trouble when building on FreeBSD
Albert Cahalan
acahalan at gmail.com
Sat Sep 23 01:21:30 UTC 2006
On 9/22/06, Lorenz Minder <lminder at gmx.net> wrote:
> The problem is that USE_ICONV gets to be defined even though iconv.h is
> unavailable. The problem appears to be that cmake finds iconv.h in
> /usr/local/include, but on FreeBSD, /usr/local/include is not in gcc's
> default include path, and therefore it fails. So here's my question:
>
> How do I tell cmake to disregard /usr/local?
You don't. You fix the include path.
gcc -I/usr/local/include
Also, file a bug against FreeBSD. The normal install should not
be throwing random crap in a directory for LOCAL use.
("local" being something you hacked up yourself)
More information about the Debburn-devel
mailing list