Re: PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3

From: Joanna Lewis Date: March 02, 2012 technical Source: mail-archive.com
Dear Carlos, Yes, I agree with Teijo that the problem is probably that you need to install Xcode. It will be included with your OSX installation CD, or else you can download it from the Apple Developer website (you will need to register and/or log in). I had this same problem last week, and a couple of extra (and mildly embarrassing..) problems we ran into were 1) installing a version of Xcode that was not compatible with the OS version and 2) it not installing properly, even though we thought we had run the installer. I hope that helps. Joanna Joanna Lewis PhD student Institute of Child Health, 30 Guilford Street, London WC1N 1EH 0207 905 2307
Quoted reply history
From: Teijo Saari <[email protected]<mailto:[email protected]>> Date: Fri, 2 Mar 2012 09:54:50 +0100 To: Carlos Orlando Jacobo Cabral <[email protected]<mailto:[email protected]>> Cc: <[email protected]<mailto:[email protected]>> Subject: Re: [NMusers] PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3 Dear Carlos, One problem might be, that XCode-package is not updated (to 4.x). That has to be done before installing NONMEM, since XCode does not update automatically with Lion (instead Lion deletes the previous version 3.x). With best wishes, Teijo 2012/3/2 Carlos Orlando Jacobo Cabral <[email protected]<mailto:[email protected]>> 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]<mailto:[email protected]>; [email protected]<mailto:[email protected]> -- Teijo Saari, MD PhD Post Doctoral Researcher Anästhesiologische Klinik Friedrich-Alexander-Universität Erlangen-Nürnberg Krankenhausstrasse 12 D-91054 Erlangen Phone +49 9131 853 9157 Fax +49 9131 853 9161 Mobile +49 152 5855 4502 email: [email protected]<mailto:[email protected]>
Mar 02, 2012 Teijo Saari Re: PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3
Mar 02, 2012 Joanna Lewis Re: PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3
Mar 09, 2012 Carlos Orlando Jacobo Cabral RE: PROBLEM WITH THE COMPILER IN INSTALLATION OF NM7.2.0 ON A MAC OSX 10.7.3