LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2004, 04:33 PM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
how to install tar.gz files


I use mandrake 10.1 community (or 10.0.1 dunno)

can somebody pls explain me how to install a tar.gz file, now the only successful installation I can do is with a rpm file, but you don't always find rpm's. So what I want to be able to do is go to the command line and install a tar.gz file.

In many forums I found something like ok you type this

eg

install <tarball> <target dir>

ok this all is very nice and clear but i don't know where you normally install software (let's say the program files directory in windows).

Could somebody explain this very very clear because I am a true newbe to linux (i have mandrake up and running for, let's say at the time of writing this, 4 hours

Wannes Smet
 
Old 10-22-2004, 04:35 PM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Compiling Software
 
Old 10-22-2004, 04:40 PM   #3
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
fast

one hell of a fast reply thx
 
Old 11-12-2004, 03:58 AM   #4
MRAB54
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
I am also really new at this. I followed the directions on that link but when I run the configure command, it goes for a while and then says "configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details."

A bunch of files are created, but when I try to run make, it says "make: *** No targets specified and no makefile found. Stop."

Even though there are three different makefiles, Makefile.am, Makefile.am.in, Makefile.in. Any suggestions about what I should do to fix this?
 
Old 11-12-2004, 04:01 AM   #5
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Is gcc-cpp installed? gcc-cpp is the compiler and c preprocessor. do
rpm -qa|grep cpp
as root and see if you get output(the output of this command on my mandrake 10 box gives me this --> gcc-cpp-3.3.2-6mdk) if not then install the gcc-cpp package and any dependencies.

linux_terror

Last edited by linux_terror; 11-12-2004 at 04:06 AM.
 
Old 11-12-2004, 04:27 AM   #6
MRAB54
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
The output I get from that is:
gcc-cpp-3.4.1-3mdk

I'm running Mandrake 10.1, I just downloaded and installed like three days ago.
 
Old 11-12-2004, 04:35 AM   #7
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
can you post the config.log for us to take a look at, might shed some light.
Thanks.

linux_terror
 
Old 11-12-2004, 04:50 AM   #8
MRAB54
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Well, I don't know if it is soposed to be this long, it was too big to post so here's an URL to it


config.log
 
Old 11-12-2004, 05:10 AM   #9
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
it looks like its definitely not finding g++, do
rpm -qa|grep gcc-c++
do you get output, this is c++ support for gcc, if you dont get output install the gcc-c++ package and any dependencies and see if it works.

linux_terror
 
Old 11-12-2004, 05:18 AM   #10
MRAB54
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
I don't get any output for that. I'm downloading the gcc-c++ package right now. I have a question though, why would this not already be installed, seeing as though it must be an integral part of dealing with tar.gz files. was there some sort of option I might have missed when I installed Mandrake??? Thanks for your help by the way

Last edited by MRAB54; 11-12-2004 at 05:19 AM.
 
Old 11-12-2004, 05:31 AM   #11
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
I think its the 'development' section that all of this is contained in, Im running MDK 10.0 and haven't tried 10.1 yet so there may be some issues with it, Im really not sure. Please post how it goes. I'll be up for a little while longer if you run into a snag. And hey, glad to help

linux_terror
 
Old 11-12-2004, 05:49 AM   #12
MRAB54
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Well, the file I downloaded is gcc-3.4.1-4mdk.src.rpm
I got it from here: http://rpm.pbone.net/index.php3/stat....i586.rpm.html

I'm not totally sure what I'm soposed to do w/ this kind of file but when I click on it, it asks me for root password, then asks me if I want to install it, I clicked yes and it says:

Some package requested cannot be installed:
gcc-3.4.1-4mdk.src (due to unsatisfied gcc-gnat[>= 3.1])
do you agree ?

???
Well I need to go to bed! So late it's almost early...
 
Old 11-12-2004, 05:57 AM   #13
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
do you have gcc installed?
rpm-qa|grep gcc
output should look like this

libgcc1-3.3.2-6mdk
gcc-3.3.2-6mdk <---this is the one your looking for
gcc-cpp-3.3.2-6mdk
gcc-c++-3.3.2-6mdk

instead of downloading the packages I would check your cd's for them, you can go to
start menu>system>configuration>packaging>install software
and look to see if they are on the cd's, this will also take care of dependencies. Also just fyi, to install rpm's on the command line you would do this

rpm -Uhv packagename.rpm

yeah, 5:00am here, time for bed, LOL. I'll check tomorrow and see if you got it workin.

Cya,
linux_terror
 
  


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
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
how do i install .tar files? squirlprotector Linux - Software 16 02-17-2005 07:04 PM
How do you install .tar.gz files? Lechium Slackware 7 09-20-2004 01:04 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration