bug-gnu-utils
[Top][All Lists]
Advanced

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

bug-report: gettext-0.11.3-pre2 on OSX 10.1.4


From: R Blake
Subject: bug-report: gettext-0.11.3-pre2 on OSX 10.1.4
Date: Thu, 06 Jun 2002 20:38:39 -0700

hi,

two issues:
(1) missing "search.h"
(2) not-found libiconv libs w/ correct prefix set

/usr/ports/gettext-0.11.3-pre2 refers to the netbsd include file "search.h":

address@hidden -rln "search.h" .
./aclocal.m4
./config.cache
./config.h
./config.h.in
./config.log
./configure
./intl/dcigettext.c
./lib/setenv.c
./m4/setenv.m4
address@hidden

as far as i can tell, "search.h" is *not* included in the OSX or Darwin DevTools releases .....

as a result, make on gettext fails with 'undefined symbols' @ dcigettext.c

attempts to 'clean up' w/ aclocal/autoconf fail with:

address@hidden
aclocal: configure.in: 61: macro `AM_TYPE_PTRDIFF_T' not found in library
aclocal: configure.in: 73: macro `AM_FUNC_GETLINE' not found in library
address@hidden
configure.in:6: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:111: /usr/bin/gm4: Bad regular expression: `test "${ac_cv_lib[]Name+set}" = set': Unmatched [ or [^
configure.in:111: /usr/bin/gm4: Bad regular expression: `$ac_cv_lib[]Name': Unmatched [ or [^
configure.in:111: /usr/bin/gm4: Bad regular expression: `$ac_cv_lib[]Name': Unmatched [ or [^
configure.in:201: warning: do not use m4_regexp: use regexp or m4_bregexp
configure.in:139: error: possibly undefined macro: AC_TRY_COMPILER
configure.in:165: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'
address@hidden


a simple fix is to get a copy of search.h from the Darwin CVS tree's libedit pkg, as follows:

cvs -d :pserver:(username)@anoncvs.opensource.apple.com:/cvs/Darwin login
CVS password: (password)
cvs -d :pserver:address@hidden:/cvs/Darwin checkout libedit
cp /usr/ports/libedit/libedit/search.h /usr/include/search.h

a subsequent configure/make of gettext-0.11.3-pre2 with:

./configure \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
--enable-shared --enable-static \
--with-libiconv-prefix=/usr/local/libiconv \
--with-libexpat-prefix=/usr/local/expat;\
make;\
make install

'make' gets a lot farther, but *now* fails even though libiconv prefix is correctly set, at:
"ld: warning can't open dynamic library: /usr/local/lib/libiconv.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)"

here's the tail:

rm -fr .libs/libgettextlib.la .libs/libgettextlib.* .libs/libgettextlib-0.11.3-pre2.*
../libtool: parse error: condition expected: xno = [3191]
cc -dynamiclib -o .libs/libgettextlib-0.11.3-pre2.dylib argmatch.lo backupfile.lo addext.lo basename.lo c-ctype.lo copy-file.lo error.lo execute.lo findprog.lo fstrcmp.lo full-write.lo gcd.lo getopt.lo getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo localcharset.lo mbswidth.lo obstack.lo concatpath.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo safe-read.lo sh-quote.lo stpncpy.lo strtoul.lo tmpdir.lo wait-process.lo xerror.lo xmalloc.lo xstrdup.lo xsetenv.lo stpcpy.lo vasprintf.lo getline.lo mkdtemp.lo -L/usr/local/libiconv/lib -L/System/Library/Frameworks -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib -L/usr/local/mysql/lib/mysql -L../intl/.libs -lintl -liconv -liconv -lc -lc -install_name /usr/local/lib/libgettextlib-0.11.3-pre2.dylib
ld: warning can't open dynamic library: /usr/local/lib/libiconv.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning multiple definitions of symbol _locale_charset
localcharset.lo definition of _locale_charset in section (__TEXT,__text)
/usr/local/libiconv/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
ld: Undefined symbols:
_libintl_gettext
ld: warning unused multiple definitions of symbol _getopt
getopt.lo definition of _getopt in section (__TEXT,__text)
/usr/lib/libc.dylib(getopt.o) unused definition of _getopt
ld: warning unused multiple definitions of symbol _optarg
getopt.lo definition of _optarg in section (__DATA,__data)
/usr/lib/libc.dylib(getopt.o) unused definition of _optarg
ld: warning unused multiple definitions of symbol _opterr
getopt.lo definition of _opterr in section (__DATA,__data)
/usr/lib/libc.dylib(getopt.o) unused definition of _opterr
ld: warning unused multiple definitions of symbol _optind
getopt.lo definition of _optind in section (__DATA,__data)
/usr/lib/libc.dylib(getopt.o) unused definition of _optind
ld: warning unused multiple definitions of symbol _optopt
getopt.lo definition of _optopt in section (__DATA,__data)
/usr/lib/libc.dylib(getopt.o) unused definition of _optopt
ld: warning unused multiple definitions of symbol _locale_charset
localcharset.lo definition of _locale_charset in section (__TEXT,__text)
/usr/local/lib/libintl.dylib(localcharset.lo) unused definition of _locale_charset
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libgettextlib.la] Error 1
make[2]: Leaving directory `/Volumes/ServerSystem/ports/gettext-0.11.3-pre2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Volumes/ServerSystem/ports/gettext-0.11.3-pre2'
make: *** [all] Error 2
address@hidden

i'll keep looking for the issue/solution .....

fyi, latest environment/build details are on my webpage (below).

regards,

richard

--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------


reply via email to

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