Opened 13 years ago

Last modified 13 years ago

#31435 closed defect

Build error on py27-wxpython (doesn't detect GCC 4.2) — at Initial Version

Reported by: nicholas.clark@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jwa nicholas.clark@…
Port: py27-wxpython

Description

Py27-wxpython fails to build on my machine. The error log suggests that it's looking for gcc-4.0, instead of auto-detecting my gcc version or using the more-generic "gcc".

Here;s a snippet from the end of the build log (full log is attached to this ticket):

:info:build gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXMAC -Iinclude -Isrc -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/helpers.cpp -o build.unicode/temp.macosx-10.6-x86_64-2.7/src/helpers.o -O3 :info:build unable to execute gcc-4.0: No such file or directory :info:build error: command 'gcc-4.0' failed with exit status 1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/work/wxPython-src-2.8.12.0/wxPython" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build " returned error 1 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details)

while executing

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" :info:build Warning: the following items did not execute (for py27-wxpython): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for py27-wxpython is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-wxpython/py27-wxpython/main.log

Change History (1)

Changed 13 years ago by nicholas.clark@…

Attachment: main.log added

build log from py27-wxpython

Note: See TracTickets for help on using tickets.