|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling R-2.9.1 on Mac OS X 10.4Hello,
I am trying to compile R-2.9.1 on Mac OS-X 10.4 using --enable-R-shlib. I am not comfortable with Mac/Linux environments and trying to follow the instructions from CRAN site to every detail. The Mac OS did not have a gcc (gcc -version did not work). So I did the following: ## For gcc 4.2 and Fortran 4.2.4 Compilers Download gcc-4.2-5566-darwin8-all.tar.gz from http://r.research.att.com/tools/#gcc42 unpacked using: sudo tar fvxz gcc-4.2-5566-darwin8-all.tar.gz -C / Made gcc-4.2 default: sudo link gcc-4.2 gcc Made g++-4.2 default: sudo link g++-4.2 g++ I downloaded the source and tried compiling using: ./configure --with-blas='-framework vecLib' --with-lapack --with-ICU \ --with-aqua --enable-R-framework --enable-R-shlib Got the following error: Configure: error: C compiler cannot create executables I have attached the compile.log file. I would really appreciate some help. Raktim Bioinformatics Engineer DFCI, Harvard Med School Boston The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ______________________________________________ R-help@... mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
|
Re: Compiling R-2.9.1 on Mac OS X 10.4On Jul 9, 2009, at 12:12 PM, Sinha, Raktim, DFCI wrote:
> Hello, > > > > I am trying to compile R-2.9.1 on Mac OS-X 10.4 using --enable-R- > shlib. > > > > I am not comfortable with Mac/Linux environments and trying to > follow the > instructions from CRAN site to every detail. > > The Mac OS did not have a gcc (gcc -version did not work). So I did > the > following: > > > > ## For gcc 4.2 and Fortran 4.2.4 Compilers > > Download gcc-4.2-5566-darwin8-all.tar.gz from > http://r.research.att.com/tools/#gcc42 > > unpacked using: sudo tar fvxz gcc-4.2-5566-darwin8-all.tar.gz -C / > > Made gcc-4.2 default: sudo link gcc-4.2 gcc > > Made g++-4.2 default: sudo link g++-4.2 g++ > > > > I downloaded the source and tried compiling using: > > ./configure --with-blas='-framework vecLib' --with-lapack --with-ICU \ > > --with-aqua --enable-R-framework --enable-R-shlib > > > > Got the following error: > > Configure: error: C compiler cannot create executables > > > > I have attached the compile.log file. > > I would really appreciate some help. The log file did not survive the list spam filters, but is there a particular reason that you are compiling from source? A universal binary installation package (which is built using --enable- R-shlib) is available from a CRAN mirror such as: http://cran.us.r-project.org/ You might want to review the OSX FAQ as well: http://cran.us.r-project.org/bin/macosx/RMacOSX-FAQ.html If you really need to build from source, which is not for the feint of heart, begin by reviewing section 2 of the FAQ. HTH, Marc Schwartz ______________________________________________ R-help@... mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
|
Re: Compiling R-2.9.1 on Mac OS X 10.4I used to build from source on Mac OS X, but I stopped when I found I
could do everything I needed to do from the binary on CRAN. That includes building my own packages that use fortran, or building the one or two CRAN packages that use C code and do not have Mac binaries on CRAN. In addition to which, if you were to install the Mac binary from CRAN, there's an optional install of gcc, and that might even be an easier way to get a gcc on your machine. You can still build R from sources separately, even if you've already installed the binary. For further help on building from source, I'd suggest asking again on R-sig-Mac. -Don At 1:12 PM -0400 7/9/09, Sinha, Raktim, DFCI wrote: >Hello, > > > >I am trying to compile R-2.9.1 on Mac OS-X 10.4 using --enable-R-shlib. > > > >I am not comfortable with Mac/Linux environments and trying to follow the >instructions from CRAN site to every detail. > >The Mac OS did not have a gcc (gcc -version did not work). So I did the >following: > > > >## For gcc 4.2 and Fortran 4.2.4 Compilers > >Download gcc-4.2-5566-darwin8-all.tar.gz from >http://*r.research.att.com/tools/#gcc42 > >unpacked using: sudo tar fvxz gcc-4.2-5566-darwin8-all.tar.gz -C / > >Made gcc-4.2 default: sudo link gcc-4.2 gcc > >Made g++-4.2 default: sudo link g++-4.2 g++ > > > >I downloaded the source and tried compiling using: > >./configure --with-blas='-framework vecLib' --with-lapack --with-ICU \ > > --with-aqua --enable-R-framework --enable-R-shlib > > > >Got the following error: > >Configure: error: C compiler cannot create executables > > > >I have attached the compile.log file. > >I would really appreciate some help. > > > >Raktim > >Bioinformatics Engineer > >DFCI, Harvard Med School > >Boston > > > > > >The information in this e-mail is intended only for the...{{dropped:26}} ______________________________________________ R-help@... mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
|
|
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |