PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3
Hi NMUSERS
I´m trying to install NONMEM 7.2 on a Mac with OS 10.7.3 and I first installed
gfortran 4.6.2 for Mac OS Lion (10.7) from the gfortran web site
http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
After I tried to install NONMEM (installation from a directory) using a
terminal window with the next command:
/bin/bash/ SETUP72 /Users/Rod/desktop/cd_nonmem/NONMEM_7.2.0
/Applications/nm72 gfortran y /usr/bin/ar same rec i unzip
nonmem72e.zip nonmem72r.zip
and the complete messages that appear after enter this command are:
SETUP72/Users/Rod/desktop/cd_nonmem/NONMEM_7.2.0 /Applications/nm72 gfortran y
/usr/bin/ar same rec i unzip nonmem72e.zip nonmem72r.zip
CD-ROM drive is /Users/Rod/desktop/cd_nonmem/NONMEM_7.2.0
NONMEM 7.2 directory is /Applications/nm72
Command for FORTRAN compiles is gfortran
Optimization for Fortran compiles is y
Command to build NONMEM archive is /usr/bin/ar
Sizes is same (SIZES.f90 is always used)
Recompile is rec
All binaries will be recompiled
Interactive is i
Unzip program is unzip
Encrypted source file is nonmem72e.zip
Unencrypted file is nonmem72r.zip
To learn how to override the defaults, enter
%SETUP72 help
Continue (y/n) [y]?y
directory /Applications/nm72
Step 1a. Copy files from /Users/Rod/desktop/cd_nonmem/NONMEM_7.2.0 to
/Applications/nm72
Step 1b. Copy files from /Users/Rod/desktop/cd_nonmem/NONMEM_7.2.0/NONMEM_7.2.0
to /Applications/nm72
Installing NONMEM 7.2.0 (Enter Ctrl-C to interrupt)...
Dierectories already exist -skipping step 2a.
Choosing platform-dependent files...
os is Darwin
cpu is i386
Will use install_Darwin
Compiler is gfortran
Will use existing finish
=== Checking compiler
Version of gfortran is:
GNU Fortran (GCC) 4.6.2 20111019 (prerelease)
Copyright (C) 2011 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 COPYNG
gfortran: error trying to exec 'as': execvp: No such file or directory
Could not compile util/test.f90
./util/dotest: line 72: gcc: command not found
Could not assemble util/test.c with gcc
Compiler gfortran and/or install program cannot be run
Installation Aborted
--So the error seems to be about gfortran as seen above in the last part. And I
don´t know how to solve this problem, can anybody help me or tell me what I'm
doing wrong? I thank in advance.
PhD-st ORLANDO JACOBO
E-mail: [email protected]; [email protected]