LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2006, 04:55 PM   #1
Bazbo
Member
 
Registered: Mar 2004
Location: Seattle
Posts: 72

Rep: Reputation: 15
Tar cannot open any files


Greetings,

I am trying to compile WINE from source on an Ubuntu Dapper system, because all the binaries seem to be out of date for both Ubuntu and Debian, at least according to the www.winehq.org site.

When I try to extract the tar file with the command, tar xvf wine-0.9.26.tar.bz2, I get dozens of lines of:

tar: wine-0.9.26/programs/wordpad: Cannot mkdir: No such file or directory
wine-0.9.26/programs/wordpad/De.rc
tar: wine-0.9.26/programs/wordpad/De.rc: Cannot open: No such file or directory
wine-0.9.26/programs/wordpad/En.rc
tar: wine-0.9.26/programs/wordpad/En.rc: Cannot open: No such file or directory
wine-0.9.26/programs/wordpad/Fr.rc


for all the different files.

How can I extract, compile, and install this source code?

Thanks,

Paul in Seattle
 
Old 11-26-2006, 05:13 PM   #2
whk
Member
 
Registered: Jun 2005
Posts: 202

Rep: Reputation: 37
try this:
tar -xjvf <program name>tar.bz2
also search umbuntu and linux community on wine too.
and make sure this binary is commpatabible with ubuntu.
 
Old 11-26-2006, 06:19 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If a tar file has a .tar.gz extension, or .tgz, you need to use the z option to tell tar to un-compress gzip compression.

If a tar file has a .tar.bz2 extension, you need to use the j option to tell tar to uncompress bzip2 compression

For example:
Code:
tar xvf file.tar
tar zxvf file.tar.gz
tar zxvf file.tgz
tar jxvf file.tar.bz2
 
Old 11-26-2006, 09:40 PM   #4
Bazbo
Member
 
Registered: Mar 2004
Location: Seattle
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by matthewg42
If a tar file has a .tar.gz extension, or .tgz, you need to use the z option to tell tar to un-compress gzip compression.

If a tar file has a .tar.bz2 extension, you need to use the j option to tell tar to uncompress bzip2 compression

For example:
Code:
tar xvf file.tar
tar zxvf file.tar.gz
tar zxvf file.tgz
tar jxvf file.tar.bz2
Hi,

I read on another thread that the j and z options are no longer necessary. Nevertheless, I tried
tar jxvf wine-0.9.26.tar.bz2 and got the same results.

Using the file command, the output is

myname@mycomputer:~/.wine$ file wine-0.9.26.tar.bz2
wine-0.9.26.tar.bz2: bzip2 compressed data, block size = 900k
So I know I used the right command for the file type.

I have tried the GUI archiver and it does the same thing.

Note:

http://www.winehq.com/site/download-deb says there *is* a package for Ubuntu Dapper, but when I used Synaptic to add the repository, I get this error after hitting "reload":

Could not download all repository indexes

The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences.

I also noted that the same repository is listed six times.

Man, I just want to use Audiation Assistant. Do I have to buy Windows and dual-boot?

-PD
 
Old 11-27-2006, 01:02 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I suppose you use tar -jxvf wine-0.9.26.tar.bz2 and not tar jxvf wine-0.9.26.tar.bz2. 'j', 'x', 'v' and 'f' are options and should (to my knowledge) be preceeded by '-'
 
Old 11-27-2006, 01:21 AM   #6
Bazbo
Member
 
Registered: Mar 2004
Location: Seattle
Posts: 72

Original Poster
Rep: Reputation: 15
It does the same thing with or without '-'

Would anyone be willing to download the file and try it? I'd like to know if there's something funny about the file itself. Just make a directory and move the file there before extracting; then you can delete the whole thing if you don't want it when you're done.

Here's where I got it:

http://sourceforge.net/project/showf...ckage_id=77449

-PD
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
tar -zxvf foo.tar.gz creates all .gz files prophoto Linux - General 11 11-09-2006 06:27 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
How do you open .tar files!!! elamigo2004 Linux - Software 2 04-05-2004 08:19 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration