Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-29 Thread cstrato
Dear Simon, As a subscriber to RootTalk I have just received the following mail: http://root.cern.ch/root/roottalk/roottalk10/0122.html As you see there are other Mac users of ROOT who do not want to use fink but another gfortran compiler. I seems that besides gfortran from your website, the

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-29 Thread cstrato
Dear Simon, Thank you for your answer which is really helpful for me. Best regards Christian Simon Urbanek wrote: On Jan 29, 2010, at 13:49 , cstrato wrote: Dear Simon, As a subscriber to RootTalk I have just received the following mail:

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread cstrato
Dear Simon, Meanwhile I have tried to install xps: $ R CMD INSTALL -l ~/Library/R/2.10/library xps_1.7.4.tar.gz * installing *source* package 'xps' ... checking for gcc... gcc-4.2 -arch i386 -std=gnu99 checking for C compiler default output file name... a.out checking whether the C compiler

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread Simon Urbanek
On Jan 26, 2010, at 15:24 , cstrato wrote: Dear Simon, Meanwhile I have tried to install xps: $ R CMD INSTALL -l ~/Library/R/2.10/library xps_1.7.4.tar.gz * installing *source* package 'xps' ... checking for gcc... gcc-4.2 -arch i386 -std=gnu99 checking for C compiler default output file

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread Kasper Daniel Hansen
On Jan 26, 2010, at 15:24 PM, cstrato wrote: Dear Simon, Meanwhile I have tried to install xps: $ R CMD INSTALL -l ~/Library/R/2.10/library xps_1.7.4.tar.gz * installing *source* package 'xps' ... checking for gcc... gcc-4.2 -arch i386 -std=gnu99 checking for C compiler default output

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread Kasper Daniel Hansen
Hmm, I forgot about --arch. As Simon said, you should be able to do it by R --arch=x86_64 --no-multiarch CMD INSTALL My guess is that you need --no-multiarch, but I cannot experiment with this where I sit. Kasper On Jan 26, 2010, at 15:57 PM, Kasper Daniel Hansen wrote: On Jan 26, 2010,

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread Simon Urbanek
On Jan 26, 2010, at 15:57 , Kasper Daniel Hansen wrote: On Jan 26, 2010, at 15:24 PM, cstrato wrote: Dear Simon, Meanwhile I have tried to install xps: $ R CMD INSTALL -l ~/Library/R/2.10/library xps_1.7.4.tar.gz * installing *source* package 'xps' ... checking for gcc... gcc-4.2 -arch i386

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-26 Thread cstrato
Dear Kasper, dear Simon, Thank you both for your help, this was easier than I thought. Since I had already installed R-2.10.1.pkg all I needed to do was: $ R --arch=x86_64 --no-multiarch CMD INSTALL -l ~/Library/R/2.10/library xps_1.7.4.tar.gz * installing *source* package 'xps' ... checking

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-25 Thread cstrato
Dear Simon, Thank you for your suggestions, which I have just tried. Sadly the error remains the same. The problem seems to be that for some reason gfortran-4.2-5564-darwin9.tar.gz does not have a /usr/lib/gcc/i686-apple-darwin9/4.2.1/x86_64 directory containing libgfortranbegin.a. For

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-25 Thread Simon Urbanek
On Jan 25, 2010, at 15:03 , cstrato wrote: Dear Simon, Thank you for your suggestions, which I have just tried. Sadly the error remains the same. The problem seems to be that for some reason gfortran-4.2-5564- darwin9.tar.gz does not have a /usr/lib/gcc/i686-apple- darwin9/4.2.1/x86_64

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-25 Thread cstrato
Dear Simon, Thank you, with this version I could finally compile ROOT as 64 bit. Now I have one more question: When I do R CMD Install xps.tar.gz which now depends on 64 bit ROOT, do I need to install the 64 bit version of R or can I use the current R version? Best regards Christian Simon

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-25 Thread Simon Urbanek
On Jan 25, 2010, at 5:34 PM, cstrato wrote: Dear Simon, Thank you, with this version I could finally compile ROOT as 64 bit. Now I have one more question: When I do R CMD Install xps.tar.gz which now depends on 64 bit ROOT, do I need to install the 64 bit version of R or can I use the

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-24 Thread cstrato
Dear Kasper, You are right. Since ROOT supports the CC, CXX, F77 and LD flags I did: ./configure macosx64 --with-cxx=/usr/bin/g++-4.2 -arch x86_64 --with-f77=/usr/bin/gfortran-4.2 -arch x86_64 The error was still the same: i686-apple-darwin9-g++-4.2.1: libgfortran.dylib: No such file or

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-24 Thread Simon Urbanek
On Jan 24, 2010, at 3:28 PM, cstrato wrote: Dear Kasper, You are right. Since ROOT supports the CC, CXX, F77 and LD flags I did: ./configure macosx64 --with-cxx=/usr/bin/g++-4.2 -arch x86_64 --with-f77=/usr/bin/gfortran-4.2 -arch x86_64 You don't really need the override - it works

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-23 Thread cstrato
Dear Kasper, Thank you for your suggestion, I did indeed use gcc 4.0. Since gcc_select does no longer exist on Leopard I had to do: cd /usr/bin sudo ln -s gcc-4.2 gcc sudo ln -s g++-4.2 g++ sudo ln -s gcov-4.2 gcov Sadly, compiling ROOT resulted still in the same error:

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-23 Thread Kasper Daniel Hansen
On Jan 23, 2010, at 8:37 AM, cstrato wrote: Dear Kasper, Thank you for your suggestion, I did indeed use gcc 4.0. Since gcc_select does no longer exist on Leopard I had to do: cd /usr/bin sudo ln -s gcc-4.2 gcc sudo ln -s g++-4.2 g++ sudo ln -s gcov-4.2 gcov I am not sure this is

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-22 Thread cstrato
Dear Simon, Thank you for this information. Now I have installed gfortran-4.2-5564-darwin9.tar.gz on Leopard and tried to compile ROOT again, but this time I got the following error: g++ -dynamiclib -single_module -undefined dynamic_lookup -install_name @rpath/libminicern.so -O2 -m64 -o

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-22 Thread Kasper Daniel Hansen
Remember that Apple has two version of GCC on Leopard: 4.0 and 4.2. You are using 4.0, you might want to switch to 4.2. In Tiger there used to be gcc_select (or select_gcc) that let you choose between 3.x and 4.0, I don't remember if that is still around on Leopard. The error seems to

[R-SIG-Mac] Which gfortran for Leopard?

2010-01-21 Thread cstrato
Dear all, I have the following problem: My Bioconductor package xps requires both R and ROOT, whereby I compile ROOT usually from source. Until now this has not been a problem since I do all my development on Tiger. However, now I wanted to compile ROOT on Leopard but failed since my gfortran

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-21 Thread Simon Urbanek
On Jan 21, 2010, at 14:47 , cstrato wrote: Dear all, I have the following problem: My Bioconductor package xps requires both R and ROOT, whereby I compile ROOT usually from source. Until now this has not been a problem since I do all my development on Tiger. However, now I wanted to

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-21 Thread cstrato
Dear Simon, Thank you for your fast reply. At the moment I have installed gfortran-4.2.3.dmg from your web-site. Which package do you mean with gfortran 4.2.4? - gfortran-42-5646.pkg which requires Snow Leopard, or - gfortran-4.2-5564-darwin9.tar.gz which I assume that I need to compile from

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-21 Thread cstrato
Dear Simon, One more question: I have just unzipped gfortran-4.2-5564-darwin9.tar.gz. The version gives: Using built-in specs. Target: i686-apple-darwin9 Configured with: /Builds/gcc/gcc_42-5564/build/obj/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man

Re: [R-SIG-Mac] Which gfortran for Leopard?

2010-01-21 Thread Simon Urbanek
On Jan 21, 2010, at 15:56 , cstrato wrote: Dear Simon, One more question: I have just unzipped gfortran-4.2-5564-darwin9.tar.gz. The version gives: Using built-in specs. Target: i686-apple-darwin9 Configured with: /Builds/gcc/gcc_42-5564/build/obj/src/configure -- disable-checking