On Thursday 05 February 2015 19:07:31 Kiyoshi KANAZAWA wrote: > Hi, Tim. > > I'm afraid I missed your E-mail with tarball on 12 Dec 2014. > Tried with one you sent me today. > > make with nls passed, but had many fails in make check. > On the other hand, make fails without nls. > > % ./configure --prefix=/opt/local --with-ssl=openssl > --with-libiconv-prefix=/opt/local/locale > --with-libintl-prefix=/opt/local/locale --with-libssl-prefix=/opt/openssl > --with-libidn=/opt/local CC=gcc (I have GNU software in /opt/local, > libiconv & libintl in /opt/local/locale separately.) % make > Passed. > %make check > Had many fails. (see attached file.)
Looks like Perl does not properly work. Maybe not all needed modules installed
? see README.checkout, you need at least libwww-perl and libio-socket-ssl-
perl.
> But, with --disable-nls, make fails.
> % ./configure --prefix=/opt/local --with-ssl=openssl --disable-nls
> --with-libssl-prefix=/opt/openssl --with-libidn=/opt/local CC=gcc % make
> :
> gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/opt/local/etc/wgetrc\"
> -DLOCALEDIR=\"/opt/local/share/locale\" -I. -I../lib -I../lib -D_REENTRANT
> -I/opt/openssl/include -I/opt/local/include -I/opt/local/amd64/include
> -DNDEBUG -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c In file
> included from http.c:32:0:
> /usr/include/libintl.h:62:14: error: expected identifier or '(' before
> 'char' extern char *ngettext(const char *, const char *, unsigned long
> int);
>
> Seems to try include libintl.h in /usr/include/.
If you want to include headers from /opt/local/whatever, you have to specify
this explicitly (e.g. with --with-libintl-prefix).
Regards, Tim
signature.asc
Description: This is a digitally signed message part.
