Mac Answers »Sci.Tech. »trouble with trying to compile in os x 10.4 terminal any h.. |
|||
|
|
|||
|
consumer wrote at: 2006-02-27 08:03:59
trouble with trying to compile in os x 10.4 terminal any h.. | |||
|
So please let me apologize in advance for my extreme ignorance and lack of experience. so i'm trying to compile this install.com, it's a program called charmm(chemical molecular dynamics from harvard). anyway i have all the files and im trying to install it on my mac g4. supposedly it has no problem with that. so i enter the following line in terminal and this is what i get: (note this is not under Bash, but under csh). i've tried all shells and get the same result. [kevinkolahi:/c32b1] kevinkol% /c32b1/install.com osx [ huge xlf ] Mon Feb 27 19:54:00 PST 2006 install.com Directory /c32b1/build/osx does not exist. Creating /c32b1/build/osx ... install.com Phase 1 completed. csh: xlf: Command not found. install.com Unrecognized CHARMM size specified. As default, MEDIUM will be used. install.com Phase 2 completed. install.com Processing CHARMM source on osx... ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] many times of the previous error, then i get this: install.com The CHARMM executable /c32b1/exec/osx/charmm is NOT produced. Check /c32b1/build/osx/osx.log for installation errors. install.com Phase 3 completed. I have tried installing xcode 2.2 in hopes of using GCC, but after all that, i'm not sure how to use the GNU compiler. i've really no idea what to do. do you guys have any ideas, i'm having a rough time. |
|||
|
David C. Stone wrote at: 2006-02-28 01:41:00
trouble with trying to compile in os x 10.4 terminal any h.. | |||
|
In article <1141099487.967865.180900 DeleteThis (~=~) j33g2000cwa.googlegroups.com, consumer <kevink DeleteThis (~=~) berkeley.edu wrote: So please let me apologize in advance for my extreme ignorance and lack of experience. so i'm trying to compile this install.com, it's a program called charmm(chemical molecular dynamics from harvard). anyway i have all the files and im trying to install it on my mac g4. supposedly it has no problem with that. so i enter the following line in terminal and this is what i get: (note this is not under Bash, but under csh). i've tried all shells and get the same result. [kevinkolahi:/c32b1] kevinkol% /c32b1/install.com osx [ huge xlf ] Mon Feb 27 19:54:00 PST 2006 install.com Directory /c32b1/build/osx does not exist. Creating /c32b1/build/osx ... install.com Phase 1 completed. csh: xlf: Command not found. I was going to take a look, but I see that there is a $600 licence fee to obtain the source code. Too bad... gcc 4 (which is the compiler in Tiger) comes with gFortran, if I remember correctly, not g77 or xlf. It's possible that you missed a step or switch for ./configure which would set the Makefile up correctly to use the compiler you have. Check the README files again carefully. I notice there's also a user forum at http://www.charmm.org/ .... |
|||
|
consumer wrote at: 2006-02-28 03:20:59
trouble with trying to compile in os x 10.4 terminal any h.. | |||
|
Thank you very much for your help. I used Fink Commander this morning to try to go ahead and install g77/gfortran, but now i get this still: ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] BUT, it just hangs here then terminal reads "f771", i suppose i need some other binary to be installed? thank you guys again. i'm very close to getting this compiled. I'm just assuming i'm SUPPOSED to compile this through terminal through csh, and not bash? -thanks Dave Seaman wrote: On Tue, 28 Feb 2006 13:41:54 -0500, David C. Stone wrote: In article <1141099487.967865.180900.DeleteThis (~=~) j33g2000cwa.googlegroups.com, consumer <kevink.DeleteThis (~=~) berkeley.edu wrote: So please let me apologize in advance for my extreme ignorance and lack of experience. so i'm trying to compile this install.com, it's a program called charmm(chemical molecular dynamics from harvard). anyway i have all the files and im trying to install it on my mac g4. supposedly it has no problem with that. so i enter the following line in terminal and this is what i get: (note this is not under Bash, but under csh). i've tried all shells and get the same result. [kevinkolahi:/c32b1] kevinkol% /c32b1/install.com osx [ huge xlf ] Mon Feb 27 19:54:00 PST 2006 install.com Directory /c32b1/build/osx does not exist. Creating /c32b1/build/osx ... install.com Phase 1 completed. csh: xlf: Command not found. I was going to take a look, but I see that there is a $600 licence fee to obtain the source code. Too bad... gcc 4 (which is the compiler in Tiger) comes with gFortran, if I remember correctly, not g77 or xlf. It's possible that you missed a step or switch for ./configure which would set the Makefile up correctly to use the compiler you have. Check the README files again carefully. I notice there's also a user forum at http://www.charmm.org/ .... Tiger doesn't come with any kind of Fortran preinstalled, but you can install gfortran or g95 via fink. You would need to reconfigure charmm to build with whatever compiler is installed, and there is no guarantee that it would work. It is also possible to install IBM's xlf compiler for Mac OS X, but it's a commercial product and it is not cheap. See <http://www.absoft.com/Products/Compilers/Fortran/Macintosh/XLF/xlf.html. -- Dave Seaman U.S. Court of Appeals to review three issues concerning case of Mumia Abu-Jamal. <http://www.mumia2000.org/ |
|||
|
Dave Seaman wrote at: 2006-02-28 07:41:00
trouble with trying to compile in os x 10.4 terminal any h.. | |||
|
On Tue, 28 Feb 2006 13:41:54 -0500, David C. Stone wrote: In article <1141099487.967865.180900.RemoveThis (~=~) j33g2000cwa.googlegroups.com, consumer <kevink.RemoveThis (~=~) berkeley.edu wrote: So please let me apologize in advance for my extreme ignorance and lack of experience. so i'm trying to compile this install.com, it's a program called charmm(chemical molecular dynamics from harvard). anyway i have all the files and im trying to install it on my mac g4. supposedly it has no problem with that. so i enter the following line in terminal and this is what i get: (note this is not under Bash, but under csh). i've tried all shells and get the same result. [kevinkolahi:/c32b1] kevinkol% /c32b1/install.com osx [ huge xlf ] Mon Feb 27 19:54:00 PST 2006 install.com Directory /c32b1/build/osx does not exist. Creating /c32b1/build/osx ... install.com Phase 1 completed. csh: xlf: Command not found. I was going to take a look, but I see that there is a $600 licence fee to obtain the source code. Too bad... gcc 4 (which is the compiler in Tiger) comes with gFortran, if I remember correctly, not g77 or xlf. It's possible that you missed a step or switch for ./configure which would set the Makefile up correctly to use the compiler you have. Check the README files again carefully. I notice there's also a user forum at http://www.charmm.org/ .... Tiger doesn't come with any kind of Fortran preinstalled, but you can install gfortran or g95 via fink. You would need to reconfigure charmm to build with whatever compiler is installed, and there is no guarantee that it would work. It is also possible to install IBM's xlf compiler for Mac OS X, but it's a commercial product and it is not cheap. See <http://www.absoft.com/Products/Compilers/Fortran/Macintosh/XLF/xlf.html. -- Dave Seaman U.S. Court of Appeals to review three issues concerning case of Mumia Abu-Jamal. <http://www.mumia2000.org/ |
|||
|
Dave Seaman wrote at: 2006-02-28 16:08:00
trouble with trying to compile in os x 10.4 terminal any h.. | |||
|
On 28 Feb 2006 15:21:03 -0800, consumer wrote: Thank you very much for your help. I used Fink Commander this morning to try to go ahead and install g77/gfortran, but now i get this still: ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] BUT, it just hangs here then terminal reads "f771", i suppose i need some other binary to be installed? The purpose of the "ar" command is to build libraries. The message says you called "ar" but didn't provide the names of any object files to add to the library. I suspect this was done automatically by a Makefile, which means you need to do some editing. It has been a while since I looked at CHARMm, but I remember once looking at a version that had a variety of Makefiles for various systems. One was called Makefile_osx and was intended for use under Mac OS X with either the GNU compilers or xlf. There should be a documentation folder that includes instructions on making and installing the app. thank you guys again. i'm very close to getting this compiled. I'm just assuming i'm SUPPOSED to compile this through terminal through csh, and not bash? Assuming you are using make(1), it doesn't particularly matter what shell you are running when you type the command. The make program uses sh by default to interpret the commands that it generates. -- Dave Seaman U.S. Court of Appeals to review three issues concerning case of Mumia Abu-Jamal. <http://www.mumia2000.org/ |
|||










