Results 1 to 10 of 23
hey,
I'm trying to install Asterisk on my PC but for some reason it shows the following error, provided my zipped file is in the desktop.
sudo tar -xfv asterisk-1.6.0.tar.gz
...
- 08-24-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 80
tar.gz...Error is not recoverable
hey,
I'm trying to install Asterisk on my PC but for some reason it shows the following error, provided my zipped file is in the desktop.
sudo tar -xfv asterisk-1.6.0.tar.gz
tar: v: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
what am I missing?
Thanks
- 08-24-2009 #2
You missed out the "z" flag which tells tar to filter the archive through gzip since its a gzipped file. Try
Code:tar zxvf somefile.tar.gz
- 08-24-2009 #3Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
How to untar a tar.gz file
1) From the terminal, change to the directory where yourfile.tar.gz has been downloaded.
Code:cd /home/<username>/Desktop
- 08-24-2009 #4Just Joined!
- Join Date
- Aug 2009
- Posts
- 80
I tried as below also without '-' , but still I get error:
tar -zxvf asterisk-1.6.0.13.tar.gz
tar: asterisk-1.6.0.13.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
I'm using Ubuntu-7.04 OS.
Is the version has to do anything with this install stuff?
- 08-24-2009 #5
You need to run the command in the directory where that file is stored lie HROAdmin26 mentioned e.g.
Also make sure that the filename is correct.Code:cd /home/user/downloads tar zxvf somefile.tar.gz
- 08-24-2009 #6Just Joined!
- Join Date
- Aug 2009
- Posts
- 80
hey,
Thanks for your reply.
I did as suggested by changing directory as /home/<username>/Desktop.
But now when I went for configure command like
sudo ./configure
I get:
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Guess I'm missing a C complier, how do I get rid of this issue?
Thanks
- 08-24-2009 #7Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
How to install software in Linux
Compiling from source requires a compiler and possibly header/source files from other dependencies.
I just Googled "ubuntu asterisk howto" and got many hits.
- 08-24-2009 #8Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
At minimum in Ubuntu, you will need to install the build-essential package. This IS where your version will give you trouble, since Feisty isn't supported any more. You will need to upgrade to at least 8.04LTS (Hardy Heron) in order to make your installs via the repositories.
If you have your install CD, there is a way to make apt install from the CD, but any foreign dependency issues you run into will stop you cold. I'm thinking your best bet is to upgrade your Ubuntu first.
- 08-25-2009 #9Just Joined!
- Join Date
- Aug 2009
- Posts
- 80
How do I upgrade to 8.04 LTS?
Can I do it online, if YES how?
- 08-25-2009 #10Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
Yes and no. The built-in upgrade method wont work any more, so you'll have to download the iso and burn a CD. If you don't have a CD burner, you can also request a CD mailed to you.
Get Ubuntu - Download, request a CD, or buy on CD/DVD | Ubuntu


Reply With Quote