Posts Tagged ‘readline’

Python 3.0 + py30-readline on OS X (MacPorts)

Posted by michael on January 1st, 2009 under Code, OS X
Tags: , , ,  •  No Comments

Python 3.0 (release) seems to be in MacPorts now, but the py30-readline package fails to build:
—> Building py30-readline
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_py30-readline/work/Python-3.0/Modules” && \
/opt/local/Library/Frameworks/Python.framework/ \
Versions/3.0/bin/python3.0 setup.py build ” returned \
error 1
Command output: readline.c:396: warning: passing \
argument 1 of ‘free’ discards qualifiers from pointer \
target type…
I fixed it [...]