freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Configure Freetds on 64bit Xserve Failed.
- From: Tony Wang <tonylabs AT mac.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Configure Freetds on 64bit Xserve Failed.
- Date: Sat, 5 Apr 2008 07:11:39 +0800
Dear all,
I configured Apache built in Leopard 10.5.2 running on 64bit Xserve, but failed. Is there any suggestions about how to configure Freetds on Leopard by -arch ppc -arch ppc 64 -arch i386 -arch x86_64??
I did it like this:
$ cd freetds-0.64
$ ACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -no-cpp-precomp" CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -O -pipe" CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load" ./configure --enable-shared
$make
(but get errors and stop here)
aking all in include
make all-am
echo '#define FREETDS_SYSCONFDIR "/usr/local/etc"' >freetds_sysconfdir.h
Making all in src
Making all in replacements
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - I. -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE - DIODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -arch ppc -arch ppc64 -arch i386 - arch x86_64 -g -Os -no-cpp-precomp -MT iconv.lo -MD -MP -MF ".deps/ iconv.Tpo" -c -o iconv.lo iconv.c; \
then mv -f ".deps/iconv.Tpo" ".deps/iconv.Plo"; else rm -f ".deps/ iconv.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include - D_FREETDS_LIBRARY_SOURCE -DIODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -no-cpp-precomp -MT iconv.lo -MD -MP -MF .deps/iconv.Tpo -c iconv.c -fno-common -DPIC - o .libs/iconv.o
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[2]: *** [iconv.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
What I did wrong or what should I do?
Thanks a lot,
Tony
-
[freetds] Configure Freetds on 64bit Xserve Failed.,
Tony Wang, 04/04/2008
- Re: [freetds] Configure Freetds on 64bit Xserve Failed., James K. Lowden, 04/04/2008
- Re: [freetds] Configure Freetds on 64bit Xserve Failed., Daniel Fazekas, 04/04/2008
Archive powered by MHonArc 2.6.24.