[MacPorts] #37627: py-pyproj is not UsingTheRightCompiler
MacPorts
noreply at macports.org
Sun Jan 13 13:50:33 PST 2013
#37627: py-pyproj is not UsingTheRightCompiler
--------------------------+-----------------------
Reporter: ryandesign@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: py-pyproj
--------------------------+-----------------------
py-pyproj is not UsingTheRightCompiler, nor any `-arch` flags.
{{{
---> Building py27-pyproj
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py27-pyproj)
DEBUG: Environment: CFLAGS='-arch x86_64 -arch i386' CXXFLAGS='-arch
x86_64 -arch i386' CPATH='/opt/local/include'
MACOSX_DEPLOYMENT_TARGET='10.8' LIBRARY_PATH='/opt/local/lib'
CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
/_Users_rschmidt_macports_dports_python_py-
pyproj/py27-pyproj/work/.CC_PRINT_OPTIONS' LDFLAGS='-arch x86_64 -arch
i386' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64 -arch i386'
CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
/_Users_rschmidt_macports_dports_python_py-
pyproj/py27-pyproj/work/pyproj-1.9.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build'
DEBUG: Executing command line: cd "/opt/local/var/macports/build
/_Users_rschmidt_macports_dports_python_py-
pyproj/py27-pyproj/work/pyproj-1.9.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
cc -Isrc -c nad2bin.c -o nad2bin.o
cc: Error: You should be using ${configure.cc}
See https://trac.macports.org/wiki/UsingTheRightCompiler
Traceback (most recent call last):
File "setup.py", line 14, in <module>
objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py",
line 572, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/unixccompiler.py",
line 180, in _compile
raise CompileError, msg
distutils.errors.CompileError: command 'cc' failed with exit status 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/37627>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list