| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-13-2008, 10:42 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Rep:
|
How to install gcc in mandriva 2009 (with NO internet @linux)?
Mandriva linux 2009, One (dont have gcc installed).
First of all, i do not have internet in linux, so i can't use install and remove manager to download .rpm files =/ And i won't have it any time soon
What i've tried is searching for .rpm files in the net, but everything i found belonged to other versions (like mandriva 2007 or 2008) and failed to install. I also tried to install as explained in here: http://gcc.gnu.org/install/
but it seems to be really complicated, and there was this phrase: "when configuring a native system, either cc or gcc must be in your path or you must set CC in your environment before running configure. Otherwise the configuration scripts may fail. " seems like it needs a compiler in the system for installation, so it doesnt work for me since i dont have a compiler.
I guess the easiest way would be getting .rpm file of gcc for mandriva 2009 but i just fail to find it. Can you give me link or offer another way to solve this? Thanks in advance.
|
|
|
|
12-13-2008, 11:56 AM
|
#2
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
Hi -
In general, installing GCC *shouldn't* be a problem. On Mandriva, or on *any* flavor of Linux.
Q: How did you install Mandriva itself? From DVD or CD?
Q: How can you copy media (e.g. an RPM file) to Mandriva?
You say you don't have Internet: is the box not connected to the Internet, or you just haven't configured TCP/IP with Mandriva yet?
How *do* you copy files back and forth? Do you have a CD/DVD reader? A local LAN? None of the above?
SUGGESTIONS:
1. See if you can install GCC directly from your setup CD
2. http://mandrivausers.org/index.php?showtopic=4452
'Hope that helps .. PSM
|
|
|
|
12-13-2008, 12:23 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
Hi -
In general, installing GCC *shouldn't* be a problem. On Mandriva, or on *any* flavor of Linux.
Q: How did you install Mandriva itself? From DVD or CD?
Q: How can you copy media (e.g. an RPM file) to Mandriva?
You say you don't have Internet: is the box not connected to the Internet, or you just haven't configured TCP/IP with Mandriva yet?
How *do* you copy files back and forth? Do you have a CD/DVD reader? A local LAN? None of the above?
SUGGESTIONS:
1. See if you can install GCC directly from your setup CD
2. http://mandrivausers.org/index.php?showtopic=4452
'Hope that helps .. PSM
|
A: from CD, (mandriva 2009 One). downloaded from mandriva site .iso file and then burned cd image.
A: i have 2 hard drives, one for windows, another linux. The computer is connected to the Internet at windows, but i do not know the password for connection (which makes it impossible to configure internet at linux). The only person who knows the password is ... unavailable.
i have a CD/DVD reader. I use flash to transfer files. Actually linux sees windows hdd, so i can use linux to transfer files.
-- 1. See if you can install GCC directly from your setup CD
-- There's no software at mandriva One cd, as far as i can see =/
Last edited by morganxl; 12-13-2008 at 12:38 PM.
|
|
|
|
12-13-2008, 12:59 PM
|
#4
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
OK -
There's almost certainly no problem here - what you're trying to do is probably actually very easy.
... However ...
I don't happen to have a copy of Mandriva 2009 handy, so I'm not prepared to give you the kind of step-by-step instructions that would help you best.
SUGGESTION:
1. Try one more time to install from CD:
a) Go into your Mandriva GUI (I presume you have a GUI)
b) Mount your CD (I presume you can mount it, and see if from your GUI)
c) Go into your GUI's "package manager" (for example, into "Mandrake Control Center", an equivalent to Windows Control Panel) and see if there's an option for installing software
2. Join the Mandriva User's group I mentioned above:
http://mandrivausers.org
3. Post the following two questions:
a) How do I find a compatible version of GCC and install it?
b) How can I connect to the Internet without knowing the password
I believe you probably have "Gcc" on your CD. If not, I believe it should not be difficult to find it. But, unfortunately, I can't tell you exactly how to do it. The folks at mandrivausers.org probably can.
I also believe that if Windows can use the Internet, Linux can, too. All you need to do is configure Linux to use "DHCP" (which Windows calls "Assign IP address automatically"). This, too, is probably easy. And mandrivausers.org can probably best tell you how to do it.
'Hope that helps .. PSM
PS:
If you do post to Mandrivausers.org, I would probably make two, separate posts: one for each question ("GCC" and "DHCP").
ALSO: once you get everything working (and I assure you that you will ;-)), then please post back to LQ how you did it!
Last edited by paulsm4; 12-13-2008 at 01:02 PM.
|
|
|
|
12-13-2008, 02:07 PM
|
#5
|
|
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Rep:
|
I think the easiest way for you to get the software you need may be to download either the two CD or the DVD installer set and burn the image(s) to disk. Then you have any additional packages on which the gcc package may depend.
You can get either installer set from the ftp site from which you got the Mandriva One image. If you do not know the ftp site's URI, you can go to the Mandriva Download Page, select your country in the drop down list under the Public Mirror Network banner, then choose a location near you from the resulting list.
You can add these additional CD's to your Package managers sources list, then use the software installer to install gcc. Admittedly, there is a fair amount of preparation involved with my suggestion, but once you have things set up, you will be able to add other software to your system far more easily, at least until you can get the information you need to connect Linux directly to the Internet.
HTH,
|
|
|
|
12-13-2008, 02:30 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
OK -
There's almost certainly no problem here - what you're trying to do is probably actually very easy.
... However ...
I don't happen to have a copy of Mandriva 2009 handy, so I'm not prepared to give you the kind of step-by-step instructions that would help you best.
SUGGESTION:
1. Try one more time to install from CD:
a) Go into your Mandriva GUI (I presume you have a GUI)
b) Mount your CD (I presume you can mount it, and see if from your GUI)
c) Go into your GUI's "package manager" (for example, into "Mandrake Control Center", an equivalent to Windows Control Panel) and see if there's an option for installing software
2. Join the Mandriva User's group I mentioned above:
http://mandrivausers.org
3. Post the following two questions:
a) How do I find a compatible version of GCC and install it?
b) How can I connect to the Internet without knowing the password
I believe you probably have "Gcc" on your CD. If not, I believe it should not be difficult to find it. But, unfortunately, I can't tell you exactly how to do it. The folks at mandrivausers.org probably can.
I also believe that if Windows can use the Internet, Linux can, too. All you need to do is configure Linux to use "DHCP" (which Windows calls "Assign IP address automatically"). This, too, is probably easy. And mandrivausers.org can probably best tell you how to do it.
|
Add and remove software manager in linux doesnt like the linux disk for some reason =/ it says something like "failed to migrate removable device, ignoring media". I tried checking different options there but it didnt work. I copied the cd contents to disk, then it said somethin like "gehndlistr failed on <address of the directory>" or "unable to access media" t.t
i posted the stuff u told me at mandriva users, ! *tired but have to get this crap working*
Last edited by morganxl; 12-13-2008 at 03:01 PM.
|
|
|
|
12-13-2008, 02:59 PM
|
#7
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by ernie
I think the easiest way for you to get the software you need may be to download either the two CD or the DVD installer set and burn the image(s) to disk. Then you have any additional packages on which the gcc package may depend.
You can get either installer set from the ftp site from which you got the Mandriva One image. If you do not know the ftp site's URI, you can go to the Mandriva Download Page, select your country in the drop down list under the Public Mirror Network banner, then choose a location near you from the resulting list.
You can add these additional CD's to your Package managers sources list, then use the software installer to install gcc. Admittedly, there is a fair amount of preparation involved with my suggestion, but once you have things set up, you will be able to add other software to your system far more easily, at least until you can get the information you need to connect Linux directly to the Internet.
HTH,
|
Hmm, i've been told to check this ftp : ftp://ftp.free.fr/mirrors/ftp.mandri.../main/release/
(rpm files for gcc there.)
this didnt work out. i dled the files and tried to install them with install and remove manager from linux. I got this error: "Sorry, the following package cannot be selected: - gcc-4.3.2-3mnb2.i586 (due to unsatisfied manbo-files-gcc[== 4.3.2])"
I'm afraid that what u said here might not work if this message is connected with the packages. I mean , i think it's possible that even if i dl what u told me, i will still get this message when trying to install gcc. But i should check it.
|
|
|
|
12-13-2008, 03:09 PM
|
#8
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,928
|
Not the question you asked, but -- if the "password" you don't have is used to access the ISP -- why not just call the provider and request a password change? If it's a password to access some local equipment (e.g., DLS modem), there should be a switch -- usually a small hole -- to push to reset the modem to the factory defaults, after which you can change the password to suit yourself. (In the case of equipment, check the manual if you have it, or look at the manufacturer's web site for a copy of the manual.)
Re DSL modem: On my DSL modem from the local 'phone company, the p/w is, by default, the serial number of the modem.
|
|
|
|
12-13-2008, 03:49 PM
|
#9
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
Hi, again -
1. Ernie is absolutely correct - if you *can* get the complete DVD (or 2-CD install), then you *should*. It will just make things *so* much easier for you...
2. I want to emphasize - maybe you don't *need* the password for Internet connectivity. If your PC is connected to a router ... and if Windows connects OK ... then Linux might be able to do the same. What you want to do is go into Mandrake Control Center, System configuration, and make sure:
a) your NIC is enabled
b) your NIC is configured to get an IP address automatically (DHCP)
If you have Internet connectivity, then your task becomes exponentially easier.
3. When you get an error like ""failed to migrate removable device", please try to cut/paste (or manually write down) the *exact* message. It helps.
4. Finally, if the RPM installer says it needs "manbo-files-gcc" before it can install GCC...
... did you try to download and install "manbo-files-gcc"?
5. In parallel with your efforts here, please do post those two questions to mandrivausers.org:
a) step-by-step instructions for installing GCC on Mandriva 2009 from RPM
b) step-by-step instructions for enabling an interface and configuring it for DHCP
Good luck .. PSM
|
|
|
|
12-14-2008, 02:06 AM
|
#10
|
|
LQ Newbie
Registered: Dec 2008
Posts: 5
Original Poster
Rep:
|
ok, i've installed gcc, finally. it requires lots of packages so i had to reboot and dl from windows 100 times =/
in case u need this set of packages required to install gcc:
gcc-4.3.2-3mnb2.i586.rpm
manbo-mandriva-files-gcc-4.3.2-1mnb2.i586.rpm
glibc-devel-2.8-1.20080520.5mnb2.i586.rpm
kernel-headers-2.6.27-4mnb2.i586.rpm
binutils-2.18.50.0.8-1mnb2.i586.rpm
libbinutils2-2.18.50.0.8-1mnb2.i586.rpm
actually the list is visa versa - u have to install libbinutils then binutils etc
everything available at ftp://ftp.free.fr/mirrors/ftp.mandri.../main/release/
Last edited by morganxl; 12-14-2008 at 02:15 AM.
|
|
|
|
12-14-2008, 01:06 PM
|
#11
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
So now you're going to see if you can get internet access working, right?
And you're going to burn the complete DVD or CD set?
Both mentioned above, and either of which should have prevented you from needing to repeatedly go back to Windows.
Last edited by paulsm4; 12-14-2008 at 04:31 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:05 AM.
|
|
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
|
|