Installing OpenMx on MacBook with Snow Leopard
Posted on

Forums
As I just upgraded to Snow Leopard on my new hard drive in my MacBook, I need to find out what the best/recommended way is to install OpenMx.
svn checkout went fine. make
svn checkout went fine.
make install results in :
gfortran -arch i386 -fPIC -g -O2 -c sadmvn.f -o sadmvn.o
f951: error: unrecognized command line option "-arch"
make[1]: *** [sadmvn.o] Error 1
ERROR: compilation failed for package ‘OpenMx’
* Removing ‘/Library/Frameworks/R.framework/Resources/library/OpenMx’
make: *** [install] Error 1
apples-computer:trunk hmaes$
don't know if this problem is specific to Snow Leopard.
any suggestions?
Log in or register to post comments
In reply to svn checkout went fine. make by Hermine
What do you see when you run
What do you see when you run "gfortran --version" ?
Log in or register to post comments
In reply to What do you see when you run by mspiegel
apples-computer:OpenMx hmaes$
apples-computer:OpenMx hmaes$ gfortran --version
GNU Fortran (GCC) 4.3.0 20071026 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
apples-computer:OpenMx hmaes$
Log in or register to post comments
In reply to apples-computer:OpenMx hmaes$ by Hermine
Hmm, on the two mac machines
Hmm, on the two mac machines I have access to in the Boker lab, I try gfortran --version and get 4.2.3. I also type "which gfortran" and get /usr/local/bin/gfortran, which strongly suggests that gfortran was installed separately on these machines. Not having done any of this myself, I would recommend getting the gfortran 4.2.3 package from this page: http://r.research.att.com/tools/. Make sure to follow the directions about adding /usr/local/bin to your $PATH.
Log in or register to post comments
In reply to Hmm, on the two mac machines by mspiegel
I have the same (older)
I have the same (older) version and location.
(I'm pretty sure I didn't install gfortran: perhaps that is where the XCode installer puts it?)
Might be worth (re?) installing Xcode 3.1.4 from the Apple Developer site?
Odd if the newer version of gfortran snow leopard didn't support -arch ....
which gfortran
# /usr/local/bin/gfortran
gfortran --version
# GNU Fortran (GCC) 4.2.3
# Copyright (C) 2007 Free Software Foundation, Inc.
Log in or register to post comments
In reply to I have the same (older) by tbates
Build worked fine after
Build worked fine after installing gfortran 4.2.3.
Thanks!
Log in or register to post comments