|
libtool on OpenBSD: msg#00091gnu.libtool.general
Hi, I got into trouble building gettext and glib2 on OpenBSD. It appears to be a libtool problem. To get gettext to fake-install properly I had to do the following: make [ -e /usr/local/lib/libintl.so.7.0 ] && \ mv /usr/local/lib/libintl.so.7.0{,.bak} [ -e /usr/local/lib/libgettextlib.so ] && \ mv /usr/local/lib/libgettextlib.so{,.bak} [ -e /usr/local/lib/libgettextsrc.so ] && \ mv /usr/local/lib/libgettextsrc.so{,.bak} install gettext-runtime/intl/.libs/libintl.so.7.0 /usr/local/lib install gettext-tools/lib/.libs/libgettextlib.so /usr/local/lib install gettext-tools/src/.libs/libgettextsrc.so /usr/local/lib make install DESTDIR=$PKG rm -f /usr/local/lib/libintl.so.7.0 rm -f /usr/local/lib/libgettextlib.so rm -f /usr/local/lib/libgettextsrc.so [ -e /usr/local/lib/libintl.so.7.0.bak ] && \ mv /usr/local/lib/libintl.so.7.0{.bak,} [ -e /usr/local/lib/libgettextlib.so.bak ] && \ mv /usr/local/lib/libgettextlib.so{.bak,} [ -e /usr/local/lib/libgettextsrc.so.bak ] && \ mv /usr/local/lib/libgettextsrc.so{.bak,} Not exactly desired procedure for a fake install. The same thing happens with glib2 So to verify it is a libtoolproblem I ran libtoolize --copy --force --automake Before running configure. And then I got: Making all in autoconf-lib-link Making all in m4 Making all in tests cp ./../config/config.guess config/config.guess cp ./../config/config.sub config/config.sub cp ./../config/ltmain.sh config/ltmain.sh Making all in gettext-runtime make all-recursive Making all in doc Making all in intl /bin/sh ../libtool --mode=compile gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 ./bindtextdom.c ../libtool[1381]: syntax error: `elif' unexpected *** Error code 1 Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-runtime/intl (line 180 of Makefile). *** Error code 1 Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-runtime (line 398 of Makefile). *** Errin /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-runtime (line 292 of Makefile). *** Error code 1 Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1 (line 238 of Makefile). The libtool found in the gettext directory is attached. # Han
Libtool mailing list Libtool@xxxxxxx http://mail.gnu.org/mailman/listinfo/libtool |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | In my book I'll show you how to use Google and Affiliate programs to make profits: 00091, Dana Hadley |
|---|---|
| Next by Date: | libtool 1.5 adds unwanted objects to shared library: 00091, Will Bene |
| Previous by Thread: | In my book I'll show you how to use Google and Affiliate programs to make profitsi: 00091, Dana Hadley |
| Next by Thread: | libtool 1.5 adds unwanted objects to shared library: 00091, Will Bene |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |