Print

Print




---------- Forwarded message ----------
From: wu donghui <[log in to unmask]>
Date: Mon, Mar 3, 2014 at 7:07 PM
Subject: Re: [ccp4bb] CCP4-6.4.0 source code building failed in Mac OS X 10.8.5
To: Marcin Wojdyr <[log in to unmask]>


Dear Marcin,

Yes, I set CC=gcc-4.2.1 in cj.rc file or type in command line. 

As is shown, it can identify gcc for gcc-4.2.1

> checking for gcc... gcc-4.2.1
> checking whether the C compiler works… no

But indicating that the C compiler does not work.

I will try Fortran compiler shortly and let you know.

Best,

Donghui



On Mon, Mar 3, 2014 at 5:43 PM, Marcin Wojdyr <[log in to unmask]> wrote:
On Mon, Mar 03, 2014 at 01:16:37PM +0800, wu donghui wrote:
>
> gcc version in my Mac OS X 10.8.5 is as below.
>
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

That's Apple compiler. It supports C and C++ but not Fortran,
so you also need a Fortran compiler such as gfortran.

> checking for gcc... gcc-4.2.1
> checking whether the C compiler works... no

Did you set CC=gcc-4.2.1?

Marcin

--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom