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
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to