[R-SIG-Mac] unrecognized command line option "-arch"

Simon Urbanek simon.urbanek at r-project.org
Thu Jan 27 20:22:05 CET 2011


On Jan 20, 2011, at 3:44 PM, Matt Pocernich wrote:

> Hello,
> 
> Up until 30 minutes ago, I have been able to install the following package.  Perhaps while playing with the install.package( ) command and trying to install a built package - I did something.
> 
> I am running 2.12 on an iMac with an Intel Core i7 Mac OSX 10.6.6
> 
> Does this look familiar to anyone?  Does one know how I would correct this.
> 

Yes, you have the wrong Fortran compiler it appears. But then CRAN R doesn't even use g77 so there is a lot you didn't tell us...

Cheers,
Simon



> Thanks,
> 
> Matt
> 
> bash-3.2$ R CMD INSTALL gisdt
> * installing to library '/Library/Frameworks/R.framework/Resources/library'
> * installing *source* package 'gisdt' ...
> ** libs
> *** arch - i386
> g77 -c   -fPIC  -g -O2 -c tsk.f -o tsk.o
> gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o gisdt.so tsk.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
> installing to /Library/Frameworks/R.framework/Resources/library/gisdt/libs/i386
> *** arch - x86_64
> g77 -arch x86_64   -fPIC  -g -O2 -c tsk.f -o tsk.o
> f771: error: unrecognized command line option "-arch"
> make: *** [tsk.o] Error 1
> ERROR: compilation failed for package 'gisdt'
> * removing '/Library/Frameworks/R.framework/Resources/library/gisdt'
> * restoring previous '/Library/Frameworks/R.framework/Resources/library/gisdt'
> 
> 
> 
> 
> Matthew Pocernich
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 



More information about the R-SIG-Mac mailing list