My experience yesterday was that libiconv installed ok downloaded from freshmeat. I just did.... sudo ./configure sudo ./make sudo ./makeinstall
(actually I am not sure I did sudo for the second two but I put it here just to make sure) I didn't use any flags. I do have iconv.h installed at /usr/local/include/iconv.h There are several other variations in the same folder, iconv.h.in and iconv.h.msvc-shared for example. There is not a giconv.h though. I may do a re-make to look at the list of parameters etc that it flashes by.... I am still trying to figure out what OSX substitutes for ld.so ....anyone have any clues? I did notice this from the listing below, it seems like there should be somethere, I just need to poke around: > checking whether the linker (/usr/bin/ld) supports shared libraries... yes > checking how to hardcode library paths into programs... unsupported > checking whether stripping libraries is possible... no > checking dynamic linker characteristics... darwin1.4 dyld > checking if libtool supports shared libraries... yes > checking whether -lc should be explicitly linked in... (cached) yes kp > -----Original Message----- > From: Steven Noble, Metamedia Solutions > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 13, 2001 5:26 PM > To: [EMAIL PROTECTED] > Subject: Re: [midgard-user] midgard-lib installer thinks libiconv > isn'tthere > > > On 11/13/01 9:51 PM, "Emiliano" <[EMAIL PROTECTED]> wrote: > > > See if you can find the files iconv.h or giconv.h on your system. > > Funnily enough, it doesn't seem to have installed those files. > > The iconv files I could find were: > > [localhost:/usr/local/lib] steve% ls libiconv.* > libiconv.2.0.4.dylib libiconv.dylib > libiconv.2.dylib libiconv.la > > Intrigued, I ran "./configure" again on "libiconv-1.7". > > (Note, this is the comman line installer, not the libiconv-2.0.4 package > from http://macosx.forked.net.) > > Here is the installer transcript: > > [localhost:~/Desktop/midgard \306\222/libiconv-1.7] steve% ./configure > loading cache ./config.cache > checking whether make sets $(MAKE)... (cached) yes > checking for gcc... (cached) cc -O -traditional-cpp > checking whether the C compiler (cc -O -traditional-cpp ) works... yes > checking whether the C compiler (cc -O -traditional-cpp ) is a > cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking how to run the C preprocessor... (cached) cc -O -E > -traditional-cpp > checking whether -traditional is needed for cc -O -traditional-cpp on this > system... (cached) no > checking for ranlib... (cached) ranlib > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking how to copy files... (cached) cp -p > checking how to make hard links... (cached) ln > checking whether ln -s works... (cached) yes > checking host system type... (cached) powerpc-apple-darwin1.4 > checking for AIX... (cached) no > checking for minix/config.h... (cached) no > checking for POSIXized ISC... (cached) no > checking for object suffix... (cached) o > checking for Cygwin environment... (cached) no > checking for mingw32 environment... (cached) no > checking for executable suffix... (cached) no > checking build system type... powerpc-apple-darwin1.4 > checking for ld used by GCC... (cached) /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... (cached) no > checking for /usr/bin/ld option to reload object files... (cached) -r > checking for BSD-compatible nm... (cached) /usr/bin/nm -p > checking how to recognise dependant libraries... (cached) > file_magic Mach-O > dynamically linked shared library > checking command to parse /usr/bin/nm -p output... (cached) ok > checking for dlfcn.h... (cached) no > checking for ranlib... (cached) ranlib > checking for strip... (cached) strip > checking for objdir... .libs > checking for cc option to produce PIC... (cached) -fno-common > checking if cc PIC flag -fno-common works... (cached) yes > checking if cc static flag works... (cached) no > checking if cc supports -c -o file.o... (cached) yes > checking if cc supports -c -o file.lo... (cached) > checking if cc supports -fno-rtti -fno-exceptions... yes > checking whether the linker (/usr/bin/ld) supports shared libraries... yes > checking how to hardcode library paths into programs... unsupported > checking whether stripping libraries is possible... no > checking dynamic linker characteristics... darwin1.4 dyld > checking if libtool supports shared libraries... yes > checking whether -lc should be explicitly linked in... (cached) yes > creating libtool > checking for locale.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for mbstate_t... (cached) no > checking for iconv... (cached) no > checking for mbrtowc... (cached) no > checking for wcrtomb... (cached) no > checking for setlocale... (cached) yes > checking byte ordering... (cached) big endian > updating cache ./config.cache > creating ./config.status > creating Makefile > creating lib/Makefile > creating src/Makefile > creating man/Makefile > creating tests/Makefile > creating include/iconv.h > creating lib/config.h > lib/config.h is unchanged > configuring in libcharset > ~/Desktop/midgard �/libiconv-1.7/libcharset > running /bin/sh ./configure --cache-file=../config.cache --srcdir=. > loading cache ../config.cache > checking whether make sets ${MAKE}... (cached) yes > checking for gcc... (cached) cc -O -traditional-cpp > checking whether the C compiler (cc -O -traditional-cpp ) works... yes > checking whether the C compiler (cc -O -traditional-cpp ) is a > cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether cc -O -traditional-cpp accepts -g... (cached) yes > checking how to run the C preprocessor... (cached) cc -O -E > -traditional-cpp > checking whether cc -O -traditional-cpp needs -traditional... (cached) no > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking host system type... powerpc-apple-darwin1.4 > checking for AIX... no > checking for minix/config.h... (cached) no > checking for POSIXized ISC... no > checking for object suffix... (cached) o > checking for Cygwin environment... (cached) no > checking for mingw32 environment... (cached) no > checking for executable suffix... (cached) no > checking build system type... powerpc-apple-darwin1.4 > checking for ld used by GCC... (cached) /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... (cached) no > checking for /usr/bin/ld option to reload object files... (cached) -r > checking for BSD-compatible nm... (cached) /usr/bin/nm -p > checking whether ln -s works... (cached) yes > checking how to recognise dependant libraries... (cached) > file_magic Mach-O > dynamically linked shared library > checking command to parse /usr/bin/nm -p output... (cached) ok > checking for dlfcn.h... (cached) no > checking for ranlib... (cached) ranlib > checking for strip... (cached) strip > checking for objdir... .libs > checking for cc option to produce PIC... (cached) -fno-common > checking if cc PIC flag -fno-common works... (cached) yes > checking if cc static flag works... (cached) no > checking if cc supports -c -o file.o... (cached) yes > checking if cc supports -c -o file.lo... (cached) > checking if cc supports -fno-rtti -fno-exceptions... yes > checking whether the linker (/usr/bin/ld) supports shared libraries... yes > checking how to hardcode library paths into programs... unsupported > checking whether stripping libraries is possible... no > checking dynamic linker characteristics... darwin1.4 dyld > checking if libtool supports shared libraries... yes > checking whether -lc should be explicitly linked in... (cached) yes > creating libtool > checking for langinfo.h... (cached) no > checking for nl_langinfo... (cached) no > checking for nl_langinfo and CODESET... (cached) no > checking whether we are using the GNU C Library 2.1 or newer... > (cached) no > checking for stddef.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for setlocale... (cached) yes > updating cache ../config.cache > creating ./config.status > creating Makefile > creating lib/Makefile > creating config.h > config.h is unchanged > ./configure: cd: no such file or directory: \M-F\M-^R/libiconv-1.7 > \M-F</libiconv-1.7/libcharset [6161] > [localhost:~/Desktop/midgard \306\222/libiconv-1.7] steve% check make > check: Command not found. > [localhost:~/Desktop/midgard \306\222/libiconv-1.7] steve% make check > builddir="`pwd`"; cd libcharset && make all && make install-lib > libdir="$builddir/lib" includedir="$builddir/lib" > if [ ! -d include ] ; then mkdir include ; fi > cp ./include/libcharset.h.in include/libcharset.h > cd lib && make all > /bin/sh ../libtool --mode=compile cc -O -traditional-cpp -I. -I. > -I.. -I./.. > -g -O2 -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c > mkdir .libs > cc -O -traditional-cpp -I. -I. -I.. -I./.. -g -O2 -DHAVE_CONFIG_H > -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c -fno-common -DPIC -o > .libs/localcharset.lo > cc -O -traditional-cpp -I. -I. -I.. -I./.. -g -O2 -DHAVE_CONFIG_H > -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c -o localcharset.o > >/dev/null > 2>&1 > mv -f .libs/localcharset.lo localcharset.lo > /bin/sh ../libtool --mode=link cc -O -traditional-cpp -o libcharset.la > -rpath /usr/local/lib -version-info 1:0:0 -no-undefined localcharset.lo > rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.* > cc -O -traditional-cpp -dynamiclib -o .libs/libcharset.1.0.0.dylib > localcharset.lo -lc -install_name /usr/local/lib/libcharset.1.dylib > -compatibility_version 2 -current_version 2.0 > (cd .libs && rm -f libcharset.1.dylib && ln -s libcharset.1.0.0.dylib > libcharset.1.dylib) > ~/Desktop/midgard �/libiconv-1.7/libcharset/lib/.libs > (cd .libs && rm -f libcharset.dylib && ln -s libcharset.1.0.0.dylib > libcharset.dylib) > ~/Desktop/midgard �/libiconv-1.7/libcharset/lib/.libs > ar cru .libs/libcharset.a localcharset.o > ranlib .libs/libcharset.a > creating libcharset.la > (cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la) > ~/Desktop/midgard �/libiconv-1.7/libcharset/lib/.libs > /bin/sh ./config.charset 'powerpc-apple-darwin1.4' > t-charset.alias > mv t-charset.alias charset.alias > sed -e '/^#/d' -e 's/@''PACKAGE''@/libcharset/g' ./ref-add.sin > > t-ref-add.sed > mv t-ref-add.sed ref-add.sed > sed -e '/^#/d' -e 's/@''PACKAGE''@/libcharset/g' ./ref-del.sin > > t-ref-del.sed > mv t-ref-del.sed ref-del.sed > cd lib && make all > make[2]: Nothing to be done for `all'. > cd lib && make install-lib libdir='/Users/steve/Desktop/midgard > �/libiconv-1.7/lib' includedir='/Users/steve/Desktop/midgard > �/libiconv-1.7/lib' > /bin/sh ./../autoconf/mkinstalldirs /Users/steve/Desktop/midgard > �/libiconv-1.7/lib > mkdir /Users/steve/Desktop/midgard > mkdir � > mkdir �/libiconv-1.7 > mkdir �/libiconv-1.7/lib > /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la > /Users/steve/Desktop/midgard �/libiconv-1.7/lib/libcharset.la > make > libtool: install: `�/libiconv-1.7/lib/libcharset.la' is not a directory > Try `libtool --help --mode=install' for more information. > make[2]: *** [install-lib] Error 1 > make[1]: *** [install-lib] Error 2 > make: *** [all] Error 2 > [localhost:~/Desktop/midgard \306\222/libiconv-1.7] steve% make > builddir="`pwd`"; cd libcharset && make all && make install-lib > libdir="$builddir/lib" includedir="$builddir/lib" > cd lib && make all > make[2]: Nothing to be done for `all'. > cd lib && make all > make[2]: Nothing to be done for `all'. > cd lib && make install-lib libdir='/Users/steve/Desktop/midgard > �/libiconv-1.7/lib' includedir='/Users/steve/Desktop/midgard > �/libiconv-1.7/lib' > /bin/sh ./../autoconf/mkinstalldirs /Users/steve/Desktop/midgard > �/libiconv-1.7/lib > /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la > /Users/steve/Desktop/midgard �/libiconv-1.7/lib/libcharset.la > libtool: install: `�/libiconv-1.7/lib/libcharset.la' is not a directory > Try `libtool --help --mode=install' for more information. > make[2]: *** [install-lib] Error 1 > make[1]: *** [install-lib] Error 2 > make: *** [all] Error 2 > [localhost:~/Desktop/midgard \306\222/libiconv-1.7] steve% install > usage: install [-cps] [-f flags] [-m mode] [-o owner] [-g group] [-l > linkflags] [-S stripflags] file1 file2 > install [-cps] [-f flags] [-m mode] [-o owner] [-g group] [-l > linkflags] [-S stripflags] file1 ... fileN directory > install -pd [-m mode] [-o owner] [-g group] directory ... > ########################################### > Steven Noble, Content Consultant (0404 041 928) > Metamedia Solutions (http://www.metamedia.com.au) > PO Box K1300, Haymarket NSW 1240, Australia > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
