Linux - SoftwareThis 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
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.
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.
Hi All:
I'm a Linux newbie and I'm working on installing RH Fedora Core 1 on my IBM Thinkpad 570. I have the book "Fedora Core for Dummies" and I got the distro from the included CD and installed the OS flawlessly. Everything works fine except for my D-Link DFE-690TXD network card. The Thinkpad recognizes the device in the card slot, but will not "Activate" it the point where I can connect to my network and grab an ip. I scoured the D-Link site and found a neat little FAQ to help with my issue.
Unfortunately, I get stuck on Step 1. I can't seem to compile the downloadable source code. I get the error message "bash: gcc: command not found" I searched the web again and found a suggestion to enter "Add/Remove Applications" and simply add the gcc feature. I found gcc and tried to add the feature, but I get an error message asking for "Fedora Core Disc 2" which I don't have because it didn't come with the book. I suppose I could download the Fedora Core 1 Disc 2 and hope this remedies the problem, but I think it'd be neat to find a way to install the gcc command manually without having to grab 650MB image and burning it to the cd in the hopes that it will work. Remember, I don't have a network connection but I do have a floppy and a cd-rom available on my laptop. How can I solve this issue?
Thanks,
_sandbag
Didn't work. I tried gcc-4.0.0-2.i386.rpm but it stated unlocateable packes: binutils, cpp, libgcc. So I went down to gcc-3.3.2-1.i386.rpm and tried to install, but I got the request for Fedora Core 1, Disc 2 again. I guess I can't get away from Disc 2. I might as well dnload and try it.
Originally posted by sandbag Didn't work. I tried gcc-4.0.0-2.i386.rpm but it stated unlocateable packes: binutils, cpp, libgcc. So I went down to gcc-3.3.2-1.i386.rpm and tried to install, but I got the request for Fedora Core 1, Disc 2 again. I guess I can't get away from Disc 2. I might as well dnload and try it.
I'd stick with gcc-3.x.x for now ( but thats up to you). by itself, gcc cannot create executables, you're better off installing most if not all of the things in the development section of packages, some you will never use, but when you need something you will probably already have it. for compiling from source you'll want:
autoconf
automake
make
m4
bison
flex
gawk
sed
binutils ( this one is required, without it gcc will not be able to create executables)
gcc (for c)
g++ (for c++)
perl
python (optional, you probably already have it)
gettext
since you are running an rpm distro, there are a couple of things you need to watch out for. one is -devel packages, which contain what you need to link against a particular library/program. for example, if a program you are trying to compile needs gtk+-2.x.x, you will need both gtk+-2.x.x-ixxx.rpm and gtk+-2.x.x-devel-ixxx.rpm's installed to link against it. the other thing is rpm distro's split some of their development packages off into separate packages so watch out for those like in your above post cpp, libgcc, libstdc++ ( and libstdc++-devel) (normally all of these come with gcc/g++).
Wow, you guys are so fast with responses. Awesome!!!
I thought the same thing last night and decided to try to fix gcc-3.3.2-1.i386.rpm. I didn't want to get ahead of myself with gcc-4.0.0-2.i386.rpm since it seemed that was much newer than the version that was supposed to be on my Fedora Core 1 install. I downloaded rpm's for binutils, cpp, libgcc and installed. binutils installed. cpp and libgcc said it was already present. I tried gcc and it worked. Awesome! Thanks!
Originally posted by sandbag Didn't work. I tried gcc-4.0.0-2.i386.rpm but it stated unlocateable packes: binutils, cpp, libgcc. So I went down to gcc-3.3.2-1.i386.rpm and tried to install, but I got the request for Fedora Core 1, Disc 2 again. I guess I can't get away from Disc 2. I might as well dnload and try it.
I meant the whole development section, not just gcc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.