On 18/04/2010 16:48, Ronald Oussoren wrote:
[snip...]
Michael> A build on my machine produces output similar to:
Michael> Python build finished, but the necessary bits to build these
modules
Michael> were not found:
Michael> _bsddb dl gdbm
* _bsddb and gdbm require external libraries that aren't provided in the system
install
Sorry for duplicating this conversation - just going through my
outstanding emails. Feel free to ignore the one on python-dev.
What are the external libraries? This is probably documented somewhere,
so could you point me to it? (Sorry - my ignorance I know.)
* dl doesn't get build on OSX 10.6 when you use the default configure settings
because that results in a 64-bit binary and setup.py explicitly disables
building the dl module for 64-bit platforms. Apple has a patch that enables
building dl on 64-bit OSX, I haven't had time to check if that patch is
actually valid.
Ok. I would be interested in how to do a 32bit build.
Michael> imageop linuxaudiodev ossaudiodev
imageop is not 64-bit clean, the others are not relevant on OSX
Michael> readline spwd sunaudiodev
readline requires an external library or python 2.6.5, 2.7 or 3.2.
Hmm... I have readline installed (via homebrew). Is that not sufficient?
The other two are not relevant on OSX.
Michael> To find the necessary bits, look in setup.py in detect_modules()
for the
Michael> module's name.
Michael> Failed to build these modules:
Michael> _tkinter
This one should work. Do you have a /Library/Framework/Tcl.framework? If so, what is the
output of "file /Library/Frameworks/Tcl.framework/Tcl", what OSX release are
you building on and what are the configure flags.
OS X 10.6.3.
$ file /Library/Frameworks/Tcl.framework/Tcl
/Library/Frameworks/Tcl.framework/Tcl: Mach-O universal binary with 2
architectures
/Library/Frameworks/Tcl.framework/Tcl (for architecture ppc): Mach-O
dynamically linked shared library ppc
/Library/Frameworks/Tcl.framework/Tcl (for architecture i386): Mach-O
dynamically linked shared library i386
My configure command is: ./configure --prefix=/dev/null --with-pydebug
All the best,
Michael Foord
Ronald
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your
employer, to release me from all obligations and waivers arising from any and all
NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,
confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS
AGREEMENTS") that I have entered into with your employer, its partners, licensors,
agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges.
You further represent that you have the authority to release me from any BOGUS AGREEMENTS
on behalf of your employer.
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG