Problem with readline when building R from source.
Rolf, Given the weekend status, I'll hazard a guess that you want to add these as environment variables, so in an attempt to be monosyllabic: Assuming that you are using the bash shell (which has been the default for a while) log in as the user you are going to run the ./configure script as, and at the command prompt type export F77="gfortran -arch x86_64" export FC="gfortran -arch x86_64" to see what is currently set, just type export (if you are still using the tcsh shell, the I think the command becomes setenv instead of export, and it is slightly different, so you will have to look that up) good luck, I may have the wrong end of the stick here. cheers Ben
On 22/05/2010, at 9:21 , Turner Rolf wrote:
Simon Urbanek wrote:
<SNIP>
I bet you are using 32-bit Fortran while using 64-bit gcc for everything else (see this list). You have two options: use F77="gfortran -arch x86_64" FC="gfortran -arch x86_64" or use the Leopard Fortran for Xcode instead of the old Tiger Fortran.
<SNIP>
I bet you're right. But how do I know? I just do ./configure --- I don't say anything about what/which Fortran to use.
Can you go back to being mono-syllabic please?
(a) When you say (option 1) `` use F77="gfortran -arch x86_64" FC="gfortran -arch x86_64" '' ***where*** do
I ``use'' it. I.e. how do I go about conveying to the configure process that I wish to set these values for F77
and FC? Do I edit the configure script? Do I set flags for the ./configure command? Do I set environment
variables? It's all obvious to you, but not to bunnies such as my very good self.
(b) When you say (option 2) ``use the Leopard Fortran for Xcode instead of the old Tiger Fortran'' --- how?
I presume that this is really what I should be doing --- but how do I convey to the system that the old Tiger
Fortran should not be used? I would've expected that when I installed Xcode, the Fortran that came with
it would be ``the'' Fortran on the machine (that any old Fortrans hanging around would automatically get
ditched) or that at the very least the Fortran that came with Xcode would be the one that got used by
default. Naive of me, I know ....
Thanks.
cheers,
Rolf
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.
This e-mail has been scanned and cleared by MailMarshal
www.marshalsoftware.com
######################################################################
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac