LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-14-2004, 12:38 PM   #1
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Rep: Reputation: 15
GTK compile problems


ok someone explain this to me:

gzip -cd gtk+-2.4.4.tar.gz | tar xf
gzip: gtk+-2.4.4.tar.gz: No such file or directory
tar: Old option `f' requires an argument.
Try `tar --help' for more information.

no matter what ive tried it tells me that theres no such thing as the GTK files im trying to compile. this is getting really frustrating
 
Old 07-14-2004, 12:50 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
No, what it's telling you is that tar is expecting a filename after the 'f' (for file) switch that you've passed to it.

What you want is:
Code:
tar zxvf gtk+-2.4.4.tar.gz
The switches in order are z(gzip compressed) x(extract) v(verbose) f(filename to follow).
If it was a tar.bz2 file (which are fairly common) you would use a 'j' option instead of the 'z' option. It's often worth getting the bz2 where it's offered as the file is smaller.
 
Old 07-14-2004, 12:56 PM   #3
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
gzip -cd gtk+-2.4.4.tar.gz | tar xvwf gtk+-2.4.4.tar.gz
gzip: gtk+-2.4.4.tar.gz: No such file or directory
tar: gtk+-2.4.4.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

ive also tried the basic gzip -d.. nothing
 
Old 07-14-2004, 01:07 PM   #4
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
ok so i got it to work. yay

but now i cant find the directory it made. im sorry im stupid
 
Old 07-14-2004, 01:19 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
The directory will be called gtk+-2.4.4 and will be a subdirectory of wherever you typed the tar command.
 
Old 07-14-2004, 01:25 PM   #6
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
its not however because it would be in home/downloads then and its not

gzip -cd gtk+-2.4.4.tar.gz | tar xvwf gtk+-2.4.4.tar

from this command it should be there, no?
 
Old 07-14-2004, 02:10 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by AnimaSola
its not however because it would be in home/downloads then and its not

gzip -cd gtk+-2.4.4.tar.gz | tar xvwf gtk+-2.4.4.tar

from this command it should be there, no?
That's not the right command. You need *just* the second part, but replace that w with a z. That takes care of the gzipping...you don't need to run gzip separately at all.

Run the command as I originally gave it a few posts ago. JUST the tar part, it will unzip it anyway. If you run that from home/downloads then the directory will appear in home/downloads.
 
Old 07-14-2004, 02:19 PM   #8
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
nope.. it still says theres no such file/directory.

% gzip -cd gtk+-2.4.4.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.4.4 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GTK
[ Become root if necessary ]
% make install # install GTK

this is what the instructions say to do. and i did the first thing and it worked.. or it did *something* anyhow. but it didnt give me a directory to configure in
 
Old 07-14-2004, 04:44 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You're doing something wrong but without watching you do it I have no idea what.
Code:
tar zxvf gtk+-2.4.4.tar.gz
cd gtk+-2.4.4
./configure
make
will do it. It did for me, and it did for my friend's computer when I installed it yesterday. When you do the cd gtk... etc bit, just press tab a couple of times after 'cd gt' and see what autocomplete suggests...your directory will be there somewhere.

Or how about move the tarball to a completely empty directory somewhere and then untar it from there. That way you know the only subdirectory will be the one you created.
 
Old 07-14-2004, 04:49 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
AnimaSola, why do you insist on not using the commands that are beign repeatedly given to you?? please try to pay more attention to what Komakino is telling you.
 
Old 07-14-2004, 05:33 PM   #11
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
AnimaSola, why do you insist on not using the commands that are beign repeatedly given to you?? please try to pay more attention to what Komakino is telling you.

its not that im not paying attention. i have indeed tried every suggestion in this thread and nothing seems to be working
 
Old 07-14-2004, 06:25 PM   #12
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If gtk-2.4.4.tar.gz is in home/downloads then cd into downloads and then untar it. Or just open a shell in your home and untar it there with the path

tar xzf downloads/gtk+-2.4.4.tar.gz
cd gtk+-2.4.4
./configure --prefix=/usr
make
su
password
make install


P.S. Komakino you have the patience of a saint.
 
Old 07-14-2004, 06:31 PM   #13
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
thats the thing its NOT there. its not like ive never compiled a piece of software before i know what should be happening here. and its not giving me the GTK folder to ./configure

btw thank u too everyone who has put up with me on this one. i aplogize

Last edited by AnimaSola; 07-14-2004 at 06:33 PM.
 
Old 07-14-2004, 07:30 PM   #14
AnimaSola
Member
 
Registered: Feb 2004
Distribution: SUSE 9.2 PRO
Posts: 148

Original Poster
Rep: Reputation: 15
ok the hell with this!
 
  


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
GTK Compile Problem MRLindstrom Linux - Software 2 01-24-2005 02:30 AM
gtk+2.4.4 compile problems AnimaSola Linux - Software 0 07-13-2004 08:49 PM
Attempting to compile software - GTK+ problems vasudevadas Mandriva 2 11-24-2003 12:59 PM
Problems wirh compile - GTK falcon56215 Linux - Software 3 11-07-2003 04:10 PM
GTK 2.2 Compile? Allen614 Slackware 2 01-05-2003 10:07 PM

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

All times are GMT -5. The time now is 09:56 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