[R-SIG-Mac] R 2.1.1 available in DarwinPorts

Kjell Konis konis at stats.ox.ac.uk
Thu Sep 8 01:38:17 CEST 2005


The R configure script checks to make sure that the C compiler works  
by compiling the file conftest.c and its not working on your  
computer.   If you want you can give it a try.  Use this compile command

gcc-3.3  -I/opt/local/include -L/opt/local/lib -lcc_dynamic conftest.c

and this C code:

/* confdefs.h.  */

#define PACKAGE_NAME "R"
#define PACKAGE_TARNAME "R"
#define PACKAGE_VERSION "2.1.1"
#define PACKAGE_STRING "R 2.1.1"
#define PACKAGE_BUGREPORT "r-bugs at R-project.org"
#define PACKAGE "R"
#define VERSION "2.1.1"
#define R_PLATFORM "powerpc-apple-darwin8.2.0"
#define R_CPU "powerpc"
#define R_VENDOR "apple"
#define R_OS "darwin8.2.0"
#define Unix 1
/* end confdefs.h.  */
int main ()

{
   ;
   return 0;
}

It says it can't find /usr/lib/libcc_dynamic.a

Kjell



On 7 Sep 2005, at 16:02, Jim McLoughlin wrote:

>> The only way to get g77 is to install all of gcc 3.4.4.  On OS X  
>> the macosx variant is used by default (which uses the gcc-3.3 and g 
>> ++-3.3 provided by Apple with the developer tools and the g77- 
>> dp-3.4.4 provided by DarwinPorts).  The darwin_6 variant is there  
>> to support jaguar.
>>
>> Can you send me the config.log.  Also what version of OS X do you  
>> have and do you have any software installed in /usr/local?
>
> Hi Kjell
>
> I do have stuff installed in /usr/local - in fact, g77 is installed  
> there from the "high performance computing on mac" site - I was  
> using it to try and build sci-py.  Perhaps that is causing the  
> problem.
>
> Attached is my config.log, thanks for your help (but don't obsess  
> over it on my behalf, I was installing it via DP because I was  
> curious whether it worked).
>
> cheers
>
> Jim
>
> <Rconfig.log>
>
>



More information about the R-SIG-Mac mailing list