Re: problem with /usr/bin/llvm-gcc-4.2 while installing healpy
Hi Ben, The immediate problem is here: :info:build i686-apple-darwin11-llvm-gcc-4.2: healpy/src/_query_disc.c: No such file or directory This is puzzling, because the healpy package has no source file called healpy/src/_query_disc.c. It does have a source file called healpy/src/_query_disc.cpp. Would you please check that you have no outdated ports (particularly python27, and if you have it installed, py27-cython)? Then, in order to obtain the complete build log, please run: $ sudo port clean py27-healpy $ sudo port install py27-healpy and then send me the log file. Thank you, Leo Singer Graduate Student @ LIGO-Caltech On June 10, 2013, at 3:42:36 AM, bhoyle <benhoyle1212@gmail.com> wrote:
Dear all,
I'm having a hard time [for the last few days] trying to install healpy from macports. I've attached my log file. Would someone mind taking a look, and telling me where I'm messing up?
Thanks. //system Mac Mountain Lion, macports is up to date
//my .profile has export PATH=/opt/local/bin:/opt/local/include/:/opt/local/sbin:/usr/bin/:/usr/local/mysql/bin:$PATH
// the output of my main.log file is:
version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (py27-healpy) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Mon Jun 10 12:37:37 CEST 2013 :notice:build ---> Building py27-healpy :debug:build Executing proc-pre-org.macports.build-build-0 :debug:build Executing org.macports.build (py27-healpy) :debug:build Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-healpy/py27-healpy/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/llvm-gcc-4.2' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/llvm-gcc-4.2' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-healpy/py27-healpy/work/healpy-1.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-healpy/py27-healpy/work/healpy-1.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build running build :info:build running build_py :info:build running build_clib :info:build checking if configure script for library 'cfitsio' exists :info:build checking if configure script for library 'healpix_cxx' exists :info:build checking if library 'cfitsio' is installed :info:build found 'cfitsio' installed, using it :info:build checking if library 'healpix_cxx' is installed :info:build found 'healpix_cxx' installed, using it :info:build running build_ext :info:build building 'healpy._query_disc' extension :info:build /usr/bin/llvm-gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/opt/local/include -I/opt/local/include/healpix_cxx -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c healpy/src/_query_disc.c -o build/temp.macosx-10.8-x86_64-2.7/healpy/src/_query_disc.o -fopenmp :info:build i686-apple-darwin11-llvm-gcc-4.2: healpy/src/_query_disc.c: No such file or directory :info:build i686-apple-darwin11-llvm-gcc-4.2: no input files :info:build error: command '/usr/bin/llvm-gcc-4.2' failed with exit status 1 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-healpy/py27-healpy/work/healpy-1.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build Exit code: 1 :error:build org.macports.build for port py27-healpy returned: command execution failed :debug:build Error code: CHILDSTATUS 4944 1 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for py27-healpy: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install py27-healpy :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:build Please see the log file for port py27-healpy for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-healpy/py27-healpy/main.log
participants (1)
-
Leo Singer