Opened 16 years ago
Last modified 15 years ago
#16628 closed defect
py25-tkinter build failure — at Initial Version
Reported by: | macri.lucas@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | py25-tkinter |
Description
Hi,
I installed python 2.5 without problems, then tried to install py25-tkinter and got this error:
a% port install py25-tkinter ---> Fetching tcl ---> Attempting to fetch tcl8.5.4-src.tar.gz from http://downloads.sourceforge.net/tcl ---> Verifying checksum(s) for tcl ---> Extracting tcl ---> Configuring tcl ---> Building tcl with target all ---> Staging tcl into destroot ---> Installing tcl 8.5.4_0 ---> Activating tcl 8.5.4_0 ---> Cleaning tcl ---> Fetching tk ---> Attempting to fetch tk8.5.4-src.tar.gz from http://downloads.sourceforge.net/tcl ---> Verifying checksum(s) for tk ---> Extracting tk ---> Configuring tk ---> Building tk with target all ---> Staging tk into destroot ---> Installing tk 8.5.4_0 ---> Activating tk 8.5.4_0 ---> Cleaning tk ---> Fetching py25-tkinter ---> Attempting to fetch Python-2.5.2.tar.bz2 from http://www.python.org/ftp/python/2.5.2/ ---> Verifying checksum(s) for py25-tkinter ---> Extracting py25-tkinter ---> Configuring py25-tkinter ---> Building py25-tkinter with target build 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-tkinter/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 '_tkinter' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _tkinter.c -o build/temp.macosx-10.3-i386-2.5/_tkinter.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1
Error: Status 1 encountered during processing.
Interestingly, I changed directories to the path listed above, executed "/opt/local/bin/python2.5 setup.py build" and had no problems. Then I just issued "port install py25-tkinter" again and the installation completed without a hitch. The module is working.
Perhaps there is a typo in the command that "port" tried to execute?
Cheers,
--Lucas