LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Tar cannot open any files (https://www.linuxquestions.org/questions/linux-software-2/tar-cannot-open-any-files-505074/)

Bazbo 11-26-2006 04:55 PM

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

whk 11-26-2006 05:13 PM

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.

matthewg42 11-26-2006 06:19 PM

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


Bazbo 11-26-2006 09:40 PM

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

Wim Sturkenboom 11-27-2006 01:02 AM

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 '-'

Bazbo 11-27-2006 01:21 AM

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


All times are GMT -5. The time now is 12:08 PM.