On 7/23/13 5:49 AM, sta...@ebi.ac.uk wrote: > sorry for the omission of the subject line in the original email - please > see below > > > > > > Hi Finkers, > > I have trouble setting up CCP4 on my Mac - I've been following the steps > outlined here, > http://scottlab.ucsc.edu/~wgscott/xtal/wiki/index.php/Installing_CCP4_on_OS_X#Installing_from_source_code > > i.e. 'fink selfupdate', and then 'fink install ccp4' > > the installation runs for a long time (like two hours) and then terminates > with an error connected to the configuration of pointless -- see below > > any help much appreciated! > > > > > [......................] > cd src/pointless > ./configure --with-clipper=$CCP4 --with-fftw=$CCP4 > FFTW_LIBS="-L$CCP4/lib -lrfftw -lfftw" > FFTW_CXXFLAGS="-I$CCP4/lib/fftw/fftw -I$CCP4/lib/fftw/rfftw > -I$CCP4/include -I$CCP4/lib/libccp4 -I$CCP4/lib/mmdb" > --with-ccp4=$CCP4 CXXFLAGS="-O2 " > --with-cctbx=$CCP4/lib/cctbx/cctbx_sources > --with-cctbx-build=$CCP4/lib/cctbx/cctbx_build CXXFLAGS="-O2 " > CXXFLAGS="-O2 " --prefix=$CCP4 --bindir=$CCP4/bin > LDFLAGS=-L$CCP4/lib CXX="g++ -arch i386" CC="gcc -arch i386" > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... ./install-sh -c -d > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether the Fortran compiler works... no > configure: error: in > `/sw/src/fink.build/ccp4-6.3.0-6/ccp4-6.3.0/src/pointless': > configure: error: Fortran compiler cannot create executables > See `config.log' for more details. > ### execution of /tmp/fink.tYzGA failed, exit code 77 > ### execution of /tmp/fink.mJbU6 failed, exit code 77 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-ccp4-6.3.0-6 > (Reading database ... 15606 files and directories currently installed.) > Removing fink-buildlock-ccp4-6.3.0-6 ... > Failed: phase installing: ccp4-6.3.0-6 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > [...] > > Package manager version: 0.35.1 > Distribution version: selfupdate-rsync Mon Jul 22 17:37:57 2013, 10.6, i386 > Trees: local/main stable/main stable/crypto > Xcode.app: 4.2 > Xcode command-line tools: 4.2 > ccp4-6.3.0-6 is set to build with only one job. > > > > >
The two hours, at least, weren't pointless. :-) That time was spent successfully building dependencies. The immediate problem is the following: > checking whether the Fortran compiler works... no What do you get if you run which gfortran in a terminal window? If it isn't /sw/bin/gfortran that could well be the problem. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners