[sword-devel] Make + configure problems

Manfred Bergmann bergmannmd at web.de
Fri Dec 18 17:12:12 MST 2009


Do you build for your build system or do you cross-compile?

I'm cross-compiling with Fink's libtool version 1.5.26-3. Actually I never had luck with the system supplied libtoolize.
In order to build with ICU support you need Fink's ICU dev package and a manually compiled ICU 3.6.

export PATH="$PATH:/opt/icu-3.6/bin"
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/opt/icu-3.6/lib"
export CC=gcc
export CXX=g++
export SDK=/Developer/SDKs/MacOSX10.5.sdk
export CFLAGS="-O2 -g0 -arch i686 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I/sw/include"
export LDFLAGS="-isysroot $SDK -Wl,-syslibroot,$SDK"
./configure --prefix=$INTELPREFIX --without-clucene --with-zlib --with-conf --with-icu --with-curl --enable-tests --disable-shared --enable-utilities
make all install

However configure in rev 2488 is broken. Haven't tried any patches though.


Am 18.12.2009 um 22:04 schrieb Ben Morgan:

> Hi,
> I'm building SWORD on a mac.
> Notes:
> I'm running with Matthew's patch from yesterday.
> 1) libtoolize is called glibtoolize on a mac, so autogen.sh doesn't handle it properly
> 2) make uninstall gives the error part of the way through
> make[1]: *** No rule to make target `uninstall-info-am', needed by `uninstall-am'.
> 3) I'm trying to build 32bit, so I configured with CC=~/gcc32 CXX=~/g++32 where gcc32 runs gcc -m32 and g++32 run g++ -m32.
> /bin/sh ./libtool --tag=CXX   --mode=link /Users/benm/g++32 -O3 -DEXCLUDEZLIB -ftemplate-depth-25 -DCURLAVAILABLE     -o buildtest buildtest.o ./lib/libsword.la -lcurl -lssl -lcrypto -Wl,-weak-lldap -dynamic -Os -pipe -g0 -Wno-system-headers -Wl,-search_paths_first -Wl,-weak-lgssapi_krb5 -Wl,-weak-lkrb5 -Wl,-weak-lk5crypto -Wl,-weak-lcom_err -Wl,-weak-lresolv -lssl -lcrypto -lz -lz
> libtool: link: unsupported hardcode properties
> libtool: link: See the libtool documentation for more information.
> libtool: link: Fatal configuration error.
> This goes away when I disable static and enabled shared.
> As a side note, the CXX variable is not checked by configure, so it may not even work as expected. I don't know if this is expected or not.
> God Bless,
> Ben
> -------------------------------------------------------------------------------------------
> Multitudes, multitudes,
>    in the valley of decision!
> For the day of the LORD is near
>    in the valley of decision.
> Giôên 3:14 (ESV)
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list