Command prompt program HELP!

Joined
Oct 3, 2012
Messages
15
Reaction score
0
Hi,

I am beginning a study on the evolutionary divergence amongst 4 different populations of brook trout and need to use a program named IMa2. This program is command prompt based and I am very new to this. On the website from which I download the program the instructions are as follows:


To install the linux/unix/mac arhive:

save the archive to a suitable directory:
to decompress, type at the command prompt: tar zxf ima2-8.26.11.tar.gz
move to the ima2-8.26.11 directory
type at the command prompt: ./configure
then: make
the execuable (called 'IMa2') will be in the src directory


The command prompt is not working in the terminal. What is a suitable archive in this case? Simply unzipping the file by clicking on it does not help either...

Any suggestions would be most appreciated!

T
 
The command prompt is not working in the terminal.
What do you mean? You open Terminal and you are at the command prompt.
You can test this by typing
ls -alt
don't forget to press return after entering the ls command.
 
Let me clarify. I want to unzip that file using the "tar zxf ima2-8.26.11.tar.gz" command and I keep getting an Error message. When I unzip by clicking on the zip file it doesn't work. Seems to me that I need to use the terminal to unzip it and run the program. I have checked obsessively the spaces and the name of the file to be sure it's the same. Don't see what the problem could be...
 
an Error message? I'm driving blind here...

tar is the command
zxf are the Flags that tell tar what to do

ima2-8.26.11.tar.gz is the File that Tar is going to act on.

can you see the file ima2-8.26.11.tar.gz in Finder?
what message do you get is you just type
tar
( don't forget to press return after entering commands)
 
yes, that file is present in Finder and I type in the file name as it is shown in my finder.
Here is the error message that appears:

tar: Error opening archive: Failed to open 'ima2-8.27.11.tar.gz'

When I enter tar alone:

tar: Must specify one of -c, -r, -t, -u, -x

Yes, I am aware about pressing return after commands.Not sure what else there is to do.

Thanks!

T
 
good!

type

tar -x <then drag and drop the ima2-8.26.11.tar.gz file from Finder into Terminal press return>
 
Did that gave me instructions as follows:
List: tar -tf <archive-filename>
Extract: tar -xf <archive-filename>
Create: tar -cf <archive-filename> [filenames...]
Help: tar --help

Then I attempted to extract with tar -xf <drag drop ima2..>

Then it gave me:
Th...-MacBook-Air:~ tho.....on$
 
great!

now look around for the extracted Folder it should be in the same Folder as the ima2..
 
This is crazy, why can't they just build the 2 versions and post them as downloads.
 
Yup. I find the the folder with all the gibberish files, but have no idea as to where I need to type the commands as found on the site:


  • type at the command prompt: ./configure
  • then: make
 
Mine Fails on configure as my Dev System doesn't have gcc (I think)

See the File named configure, just drag and drop that into Terminal and press return, see what it says...
 
the GCC compiler I downloaded had to be deleted because it froze my terminal. Any other equivalent tools for the Xcode ??
 
Back
Top