On 11 Apr 2002 at 18:55, Nelson H. F. Beebe wrote:

> >> what happens if you configure it with the option
> >> --x-includes=/usr/local/include ?
> 
> On SGI IRIX 6.5, in a clean directory, I unbundled wget-1.8.1.tar.gz,
> and did this:
> 
>       % env CC=c89 ./configure --x-includes=/usr/local/include
> 
>       % grep HAVE_NLS src/config.h
>       #define HAVE_NLS 1
> 
>       % grep HAVE_LIBINTL_H src/config.h
>       /* #undef HAVE_LIBINTL_H */

Okay so --x-includes didn't achieve much. I thought the x might
stand for 'extra', but I guess it must be for the X Window System,
and therefore irrelevant to Wget.

How about:
% env CC=c89 CPPFLAGS='-I/usr/local/include' ./configure

There's got to be some way to get this thing to build!

I just tried moving libintl.h into /usr/local/include on my machine
and doing something similar:

bash$ CC=cc CPPFLAGS='-I/usr/local/include' ./configure

and it managed to set both HAVE_NLS and HAVE_LIBINTL_H in the
resulting src/config.h and it managed to build okay.

Reply via email to