LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-13-2007, 02:56 AM   #1
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Rep: Reputation: 3
g++ tarball, ./configure not working


Ok I'm using fc6, and I got the tarball of g++, gcc-g++-4.0.2.tar.bz2, unpacked it and tried installing. There were two folders, gcc and libstdc++-v3. I went to the lib* folder and tried doing ./configure, and it didn't work.. what am I doing wrong? I tried reading the installation instructions on the website but they went over my head..
I can't use yum because I don't have a net connection..
 
Old 04-13-2007, 03:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
"it didn't work" is hardly much to go on it is? tell us real error messages etc...
 
Old 04-13-2007, 06:46 AM   #3
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Original Poster
Rep: Reputation: 3
sorry.. my bad.. the error message was
Code:
error: cannot find install-sh or install.sh in . ./.. ./../..
 
Old 04-13-2007, 06:57 AM   #4
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Well, presumably you got the tarball from the net on another computer, right? How about downloading the necessary rpms instead of a tarball and installing those? I know this isn't a direct solution to your problem, but it might be easier...
 
Old 04-13-2007, 07:47 AM   #5
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Original Poster
Rep: Reputation: 3
I searched for the RPM, and I can't get one for FC6.. I don't want to try RPMS for other distros because I read somewhere that it might screw the os.. And I want to learn from my mistakes as well..
 
Old 04-14-2007, 08:04 AM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Why do you want to install g++-4.0.2 by the way? The net tells me that Fedora ships with some version of gcc-4.1. Do you need 4.0.2 for backwards compatibility?

If you want to try the rpms for gcc/g++, you can find them on this page (assuming you're on i386, if using a different architecture try changing the "i386" part in the url).
 
Old 04-14-2007, 09:21 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, firstly g++ is on your distro cd's, and is actually quite possibly already installed correctly... if not run "yun install gcc-g++" and that should install the current version for you. you really do not want to compile your own compiler...

i'd imagine that you got here becuase something else in turn needed g++ to compile, in which case go even further back up the path and install THAT from rpm and forget all about g++ for now.
 
  


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
tarball and cron not working hkillen Red Hat 8 09-10-2006 03:55 PM
./configure not working dscheide Linux - Software 10 07-12-2005 03:51 PM
./configure not working Cyberian Linux - Newbie 8 11-04-2004 07:02 PM
./configure not working linux_n00by Linux - Newbie 7 08-03-2004 10:57 PM
./configure not working StarmanDeluxe Linux - Newbie 5 01-20-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:45 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
Open Source Consulting | Domain Registration