This diagnosis is right on target. This is fixed in the newest Unified Installer, 3.3.5, just released last weekend.
On Mon, Mar 8, 2010 at 2:19 AM, Christoph Pingel <[email protected]>wrote: > João, > > I hope you have solved the problem in the meantime. I had a similar problem > and just solved it yesterday. > The error in my case was the same: "configure: error: C compiler cannot > create executables" I tried gcc40, gcc42 and a macports install of GCC 4.4. > > Now, I have one of the first Mac Books with a Core Duo Processor, which is > a 32-bit architecture (unlike the Core 2 Duo which is 64-bit). It runs Mac > OS X 10.6, Snow Leopard. > > Lines 369 and following of install.sh in the UnifiedInstaller for 3.3.4 > read: > > # set up the common build environment > CFLAGS='-fPIC' > # special cases: > if [ `uname` = 'Darwin' ]; then > if [ "x$UNIVERSALSDK" != "x" ]; then > CFLAGS="-fPIC -isysroot $UNIVERSALSDK -arch ppc -arch i386 > -Wl,-syslibroot,$UNIVERSALSDK" > export MACOSX_DEPLOYMENT_TARGET=10.4 > elif uname -r | grep -q '^10\.'; then > # we're on Snow Leopard > export CFLAGS="-arch x86_64" > export MACOSX_DEPLOYMENT_TARGET=10.6 > fi > fi > > The installer script mistakenly assumes that we're on a 64-bit platform > because we're on Snow Leopard. > > So I changed the line > export CFLAGS="-arch x86_64" > to > export CFLAGS="-arch i386" > and everything went smooth. > > There's another line in the installer (line 70) which exports CFLAGS="-arch > x86_64", but I think this export is overwritten later. I left it unchanged > and the installer nevertheless worked as expected. > > best regards, > Christoph > > > > > > > Am 18.02.2010 um 15:53 Uhr schrieb João Lopes: > > > > > I'm trying to install Plone-3.3.4-OSX10.6.dmg in my MacBook with > > the standalone and production Mode install selected. The installation > stops > > with : > > > > Feb 18 14:40:12 crimson installd[18168]: ./postinstall: Installing PIL > > Feb 18 14:40:12 crimson installd[18168]: ./postinstall: ./install.sh: > line > > 695: cd: > > > /Volumes/Plone-3.3.4/Plone-3.3.4.mpkg/Contents/Packages/pythonZopePloneBase.pkg/Contents/Resources/UnifiedInstaller/packages: > > No such file or directory > > Feb 18 14:40:12 crimson installd[18168]: ./postinstall: Unable to unpack > > PIL*; extension not recognized. > > > > in the /var/log/install.log > > > > then I downloaded Plone-4.0a3-UnifiedInstaller.tgz And I ran the > install.sh > > with the options: > > ./install.sh --password=xxxx --readline=local standalone > > > > and I got in the install.log > > > > cc -o cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o > > cdjpeg.o libjpeg.a > > ld: warning: in cjpeg.o, file is not of required architecture > > ld: warning: in rdppm.o, file is not of required architecture > > ld: warning: in rdgif.o, file is not of required architecture > > ld: warning: in rdtarga.o, file is not of required architecture > > ld: warning: in rdrle.o, file is not of required architecture > > ld: warning: in rdbmp.o, file is not of required architecture > > ld: warning: in rdswitch.o, file is not of required architecture > > ld: warning: in cdjpeg.o, file is not of required architecture > > ld: warning: in libjpeg.a, file is not of required architecture > > Undefined symbols: > > "_main", referenced from: > > start in crt1.10.6.o > > ld: symbol(s) not found > > collect2: ld returned 1 exit status > > make: *** [cjpeg] Error 1 > > checking for --with-universal-archs... 32-bit > > checking MACHDEP... darwin > > checking EXTRAPLATDIR... $(PLATMACDIRS) > > checking machine type as reported by uname -m... i386 > > checking for --without-gcc... /sw/bin/gcc-4 > > checking for gcc... /sw/bin/gcc-4 > > checking for C compiler default output file name... > > configure: error: C compiler cannot create executables > > See `config.log' for more details. > > make: *** No targets specified and no makefile found. Stop. > > make: *** No rule to make target `install'. Stop. > > > > Which is a little strange because I can compile and run executables > compiled > > either with gcc-4 fom fink or gcc from XCode... > > > > Does anybody got this problem? > > Or any suggestion for solving it... > > > > Thanks in advance > > > > João Lopes > > -- > > View this message in context: > http://n2.nabble.com/Installing-Plone-3-3-4-and-Plone-4-tp4592148p4592148.html > > Sent from the Installation, Setup, Upgrades mailing list archive at > Nabble.com. > > > > _______________________________________________ > > Setup mailing list > > [email protected] > > http://lists.plone.org/mailman/listinfo/setup > > > _______________________________________________ > Setup mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/setup >
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
