bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Wget 1.16.1 won't build on Mac OSX 10.10.1 with Xcode 6.1


From: Tim Ruehsen
Subject: Re: [Bug-wget] Wget 1.16.1 won't build on Mac OSX 10.10.1 with Xcode 6.1.1.
Date: Wed, 10 Dec 2014 10:29:08 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

Hi Charles,

I just pushed a commit to the git repo that checks for pcre.h in combination
with pkg-config. If not found, pcre will be automatically disabled.

I attach the patch just in case you don't use git.

Tim

On Tuesday 09 December 2014 21:50:57 Charles Diza wrote:
> Wget 1.16.1 refuses to build on OSX 10.10.1, with Xcode 6.1.1.
>
> I've posted the error below; I have never seen it before.  It appears that
> wget suddenly requires that pcre be installed.  Is this true?  There was no
> mention of it in the latest NEWS file in the tarball.
>
> For the record, my ./configure flags were: ./configure --with-ssl=openssl
> --with-libssl-prefix=/usr/local/ssl
>
> -Charles
>
>
> gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib
> -I/usr/local/include   -DHAVE_LIBSSL -DNDEBUG  -MT html-url.o -MD -MP -MF
> .deps/html-url.Tpo -c -o html-url.o html-url.c
> html-url.c:628:33: warning: expression result unused [-Wunused-value]
>       mcharset = parse_charset (content);
>                                 ^~~~~~~
> ./iri.h:59:38: note: expanded from macro 'parse_charset'
> #define parse_charset(str)          (str, NULL)
>                                      ^
> 1 warning generated.
> mv -f .deps/html-url.Tpo .deps/html-url.Po
> gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib
> -I/usr/local/include   -DHAVE_LIBSSL -DNDEBUG  -MT http.o -MD -MP -MF
> .deps/http.Tpo -c -o http.o http.c
> http.c:2657:36: warning: expression result unused [-Wunused-value]
>               tmp = parse_charset (tmp2);
>                                    ^~~~
> ./iri.h:59:38: note: expanded from macro 'parse_charset'
> #define parse_charset(str)          (str, NULL)
>                                      ^
> 1 warning generated.
> mv -f .deps/http.Tpo .deps/http.Po
> gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib
> -I/usr/local/include   -DHAVE_LIBSSL -DNDEBUG  -MT init.o -MD -MP -MF
> .deps/init.Tpo -c -o init.o init.c
> init.c:52:11: fatal error: 'pcre.h' file not found
> # include <pcre.h>
>           ^
> 1 error generated.
> make[3]: *** [init.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Attachment: 0001-Check-for-pcre.h-in-configure.ac.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]