Page 1 of 1

libintl.h not found

PostPosted: Fri Jul 19, 2002 3:11 pm
by sunside
I am trying to compile wget on a MacOS X Server 10.1.4. But 'make' only gives me this output:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit -no-cpp-precomp -lintl' LDFLAGS='' LIBS='-lintl ' prefix='/usr' exec_prefix='/usr' bindir='/usr/bin' infodir='=/usr/share/info' mandir='=/usr/share/man' manext='1'
gcc -I. -I. -I/opt/include -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -Wall -Wno-implicit -no-cpp-precomp -lintl -c gnu-md5.c
In file included from gnu-md5.c:41:
wget.h:59: libintl.h: No such file or directory
make[1]: *** [gnu-md5.o] Error 1
make: *** [src] Error 2
</pre>[/quote]

Can anyone help?

Re: libintl.h not found

PostPosted: Fri Jan 03, 2003 6:35 am
by jpm
libintl is the gettext project. if you need to build gettext you are also going to need dlcompat and libiconv...

didn't 10.1.x come with wget preinstalled or was it phased out in favour of curl in 10.1? what functionality of wget can you not get in curl? if you are looking for basic wget functionality try:

> curl -O "URL"
or alias wget "curl -O" if you must