Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-13-2007, 02:56 AM
|
#1
|
Member
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41
Rep:
|
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..
|
|
|
04-13-2007, 03:00 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
"it didn't work" is hardly much to go on it is? tell us real error messages etc...
|
|
|
04-13-2007, 06:46 AM
|
#3
|
Member
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41
Original Poster
Rep:
|
sorry.. my bad.. the error message was
Code:
error: cannot find install-sh or install.sh in . ./.. ./../..
|
|
|
04-13-2007, 06:57 AM
|
#4
|
Member
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900
Rep:
|
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...
|
|
|
04-13-2007, 07:47 AM
|
#5
|
Member
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41
Original Poster
Rep:
|
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..
|
|
|
04-14-2007, 08:04 AM
|
#6
|
Member
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900
Rep:
|
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).
|
|
|
04-14-2007, 09:21 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
All times are GMT -5. The time now is 09:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|