[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Re: recent changes (iri?) break compilation on MacOS X
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Re: recent changes (iri?) break compilation on MacOS X |
Date: |
Fri, 03 Jul 2009 13:05:59 -0700 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Ebert wrote:
> * Micah Cowan on Friday, July 03, 2009:
>> Christian Ebert wrote:
>>> gcc -g -O2 -L/sw/lib -o wget cmpt.o connect.o convert.o cookies.o ftp.o
>>> css.o css-url.o ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o
>>> http.o init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o
>>> snprintf.o spider.o url.o utils.o iri.o build_info.o version.o ftp-opie.o
>>> openssl.o http-ntlm.o gen-md5.o ../lib/libgnu.a -lssl -lcrypto -ldl
>>> -lidn
>>> Undefined symbols:
>>> "_libiconv_open", referenced from:
>>> _locale_to_utf8 in iri.o
>>> _remote_to_utf8 in iri.o
>>> "_libiconv", referenced from:
>>> _do_conversion in iri.o
>>> "_libiconv_close", referenced from:
>>> _remote_to_utf8 in iri.o
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [wget] Error 1
>>> make[1]: *** [all] Error 2
>>> make: *** [all-recursive] Error 1
>> Looks like maybe it's not adding a necessary -liconv or something. Can
>> you send me your config.log?
>
> Done via pm.
See if the latest version (c761f803262e) fixes it.
- -mjc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpOZKcACgkQ7M8hyUobTrHY0QCeJgvJWHo9DgtCrEmbqbtSn/pi
ZOQAniBe3h1TpUwkDBWOihnA/goPjE5+
=d+11
-----END PGP SIGNATURE-----
diff -r 1bc7af740530 src/Makefile.am
--- a/src/Makefile.am Thu Jul 02 01:04:11 2009 -0700
+++ b/src/Makefile.am Fri Jul 03 13:02:31 2009 -0700
@@ -36,7 +36,7 @@
# The following line is losing on some versions of make!
DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\"
-DLOCALEDIR=\"$(localedir)\"
-LIBS = @LIBSSL@ @LIBGNUTLS@ @LIBINTL@ @LIBS@
+LIBS = @LIBSSL@ @LIBGNUTLS@ @LIBICONV@ @LIBINTL@ @LIBS@
bin_PROGRAMS = wget
wget_SOURCES = cmpt.c connect.c convert.c cookies.c ftp.c \
iconv.diff.sig
Description: PGP signature