On 2007-12-30, Quentin Huys <[EMAIL PROTECTED]> wrote:
> gcc -Os -W -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
> -Wchar-subscripts -Wparentheses -pedantic -Wuninitialized
> -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_SNPRINTF      -c output.c -o
> output.o
> In file included from output.c:23:
> private.h:15:21: error: libintl.h: No such file or directory
...
> I don't really understand why it doesn't find libintl.h. When I run locate
> libintl.h I get:
> /opt/local/include/libintl.h

As you can see from above, there's no -I/opt/local/include/ on the gcc
command line. PREFIX/include is not added to it automatically, and as
we're compiling libtu there, it doesn't get there through LUA_DIR either.
You should add it to EXTRA_INCLUDES.

Why don't you have a look at the port Makefile of whatever they had
(I'm sure it's still around somewhere), and see the changes they had
to make, and never bothered reporting back/on the list/or so?

-- 
Tuomo

Reply via email to