Error instaling asterisk

I am new to asterisk and just familiar with linux. I am geting an error while extracting a compilation code for asterisk…
tar: asterisk-1.2.9.1.tar.gz: Not found in archive

can anyone help me to sort out this issue.

thanks,

Are you using the RPM or extracting from source?

If you’re extracting from the source the file may be corrupt so download it again. I usually run this command to extract a tar.gz file:

gunzip -c asterisk-1.2.9.1.tar.gz | tar xvf -

Would really have to know more about how you’re installing to pin this down.

.

[quote=“ashfaaq.poonawala”]tar: asterisk-1.2.9.1.tar.gz: Not found in archive

can anyone help me to sort out this issue.

thanks,[/quote]

you didn’t said the full command that you are using… I use this:

tar zxfv asterisk-1.2.9.1.tar.gz

if this doesn’t work maybe the file is corrupt… download it again

Miko

I used this command:
tar zxvf asterisk-*.tar.gz
which gave me the above errors.

the command
gunzip -c asterisk-*.tar.gz | tar xvf -
is working fine