python25 install woes

Daniel J. Luke dluke at geeklair.net
Wed Oct 29 11:52:49 PDT 2008


On Oct 29, 2008, at 2:43 PM, Jon Crump wrote:
> After some reading, I gathered that this might have something to do  
> with readline. So I tried sudo port install py25-readline

Which is what you want to do.

> which fails with the following error:
>
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_python_py25-readline/work/Python-2.5.2/ 
> Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1
> Command output: running build
> running build_ext
> building 'readline' extension
> creating build
> creating build/temp.macosx-10.3-i386-2.5
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/ 
> include -I/opt/local/Library/Frameworks/Python.framework/Versions/ 
> 2.5/include/python2.5 -c readline.c -o build/temp.macosx-10.3- 
> i386-2.5/readline.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
>
> Error: Status 1 encountered during processing.

http://trac.macports.org/wiki/LeopardProblems

It's a bug. Workaround:

sudo port clean --work py25-readline
sudo port install py25-readline

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081029/90ab07ad/attachment.bin>


More information about the macports-users mailing list