[Pythonmac-SIG] Pythonmac 2.4.4 (PPC) and mod_python problems
David Pratt
fairwinds at eastlink.ca
Thu Apr 26 02:53:51 CEST 2007
Hi Frank and Ronald. I was original poster to the mod_python problems. I
have recently upgraded my PPC to 10.4.9. My linking problem went away
for PyLucene built using gcc 3.4.6 from mac ports earlier today. I built
on non-standard compiler since there are known issues with 4.0.1
building pyLucene.
I will be attempting to build mod_python again shortly and will report
back of my experience. I might try a different compiler also to test if
it does not work to see if it makes a difference. In my gut, I am
beginning to feel despite my best effort to keep the software of my
machine up to date, my PPC is becoming a paper weight. This has really
got me frustrated since my machine has still got plenty of life and I
believed universal meant that PPC hardware users were not going to be
left out in the cold. It has been an excellent development machine up to
the time Universal build was introduced. I am running into similar
linking issues with lxml. See below. What can be done about this :-(
Regards
David
Buildout build
==============
zc.buildout.easy_install: Getting new distribution for lxml
Building lxml version 1.3.beta
warning: no previously-included files found matching 'doc/pyrex.txt'
warning: no previously-included files found matching 'src/lxml/etree.pxi'
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /opt/local/lib/libxslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libexslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libxml2.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libz.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib
referenced from: /opt/local/lib/libxslt.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /opt/local/lib/libxslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libexslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libxml2.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libz.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib
referenced from: /opt/local/lib/libxslt.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
zc.buildout.easy_install: Got lxml 1.3beta
An easy_setup build
===================
Searching for lxml
Reading http://cheeseshop.python.org/pypi/lxml/
Reading http://cheeseshop.python.org/pypi/lxml/1.3beta
Reading http://codespeak.net/lxml
Reading http://cheeseshop.python.org/pypi/lxml/1.2.1
Best match: lxml 1.3beta
Downloading
http://cheeseshop.python.org/packages/source/l/lxml/lxml-1.3beta.tar.gz
Processing lxml-1.3beta.tar.gz
Running lxml-1.3beta/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-uCUEox/lxml-1.3beta/egg-dist-tmp-tOf7Pb
Building lxml version 1.3.beta
warning: no previously-included files found matching 'doc/pyrex.txt'
warning: no previously-included files found matching 'src/lxml/etree.pxi'
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib
referenced from: /opt/local/lib/libxslt.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /opt/local/lib/libxslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libexslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libxml2.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libz.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib
referenced from: /opt/local/lib/libxslt.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /opt/local/lib/libxslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libexslt.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libxml2.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag:
i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libz.dylib cputype (18, architecture
ppc) does not match cputype (7) for specified -arch flag: i386 (file not
loaded)
Adding lxml 1.3beta to easy-install.pth file
Installed
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/lxml-1.3beta-py2.4-macosx-10.3-fat.egg
Processing dependencies for lxml
From my logs:
============
Apr 25 14:32:05 Mac-PG crashdump[27220]: Python crashed
Apr 25 14:32:15 Mac-PG crashdump[27220]: crash report written to:
/Users/davidpratt/Library/Logs/CrashReporter/Python.crash.log
Ronald Oussoren wrote:
>
> On Wednesday, April 25, 2007, at 04:47PM, "Frank Hoffsümmer" <frank.hoffsummer at gmail.com> wrote:
>> hi,
>> I also have trouble building the latest mod_python using the latest UB build
>> of python (2.4.4 or 2.5.1) on a PowerPC OS X machine.
>> My OS X version is 10.4.9 (Server) and the gcc version is 4.01 (build 5367 =
>> latest XCode)
>
> Did you install the Univeral SDK as well? I'm not sure it that's selected by default. You can check by looking if /Developer/SDKs/MacOSX10.4u.sdk exists.
>
> Ronald
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list