Guest ramakan Posted July 31, 2006 Report Share Posted July 31, 2006 Hi, I'm trying to install GCC. I downloaded ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 and untar'd it. If I understand the instructions correctly, I have to configure, build, and complie the unpacked files. However, when I run the /tmp/gcc-4.1.1/configure script I get: checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... no checking whether a default assembler was specified... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. So I can't install gcc because I don't have gcc. Can someone assist? Thanks [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
ffi Posted July 31, 2006 Report Share Posted July 31, 2006 (edited) Welcome to MUB, You could try installing an older version first via urpmi (ie. urpmi gcc ) and then compile the latest version with the older version.... Edited July 31, 2006 by ffi Quote Link to comment Share on other sites More sharing options...
Guest ramakan Posted July 31, 2006 Report Share Posted July 31, 2006 Thanks for your reply. However, uprmi says there's no package named gcc. I have not been able to find a RPM GCC package(old or new), just the TAR I mentioned earlier. The version of Mandriva I have is a single-CD ISO off the Mandriva website. Do you know if this is a stripped-down version? Quote Link to comment Share on other sites More sharing options...
arctic Posted July 31, 2006 Report Share Posted July 31, 2006 Go to the easyurpmi site ( http://www.mandrivausers.org/easyurpmi/index.php ) and set up software mirrors as explained there. By adding those mirrors, you get access to more than 13.000 software packages, among them is gcc. ;) The version you downloaded is probably Mandriva ONE, which is some kind of "light" version (=live CD with installer). There are several different versions of Mandriva available. The most common one is the 3 CD release. Quote Link to comment Share on other sites More sharing options...
Guest ramakan Posted August 1, 2006 Report Share Posted August 1, 2006 Yes, no wonder the RPM manifest was almost empty and I can't switch between sessions. :-) Now, do you know if I can install the 3 CD version over the 'light' version w/out losing the config changes I have made (daemons to run on startup, installed apps)? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted August 1, 2006 Report Share Posted August 1, 2006 Using the easyurpmi site you are not installing one version on top of another. Rather, you are updating your existing system. When configuring urpmi, just make sure and select the proper repository for the version you are currently running. If you are using Mandriva One, it is the same as Mandriva 2006 with regard to the repository selection. Quote Link to comment Share on other sites More sharing options...
Guest ramakan Posted August 1, 2006 Report Share Posted August 1, 2006 Ok, I'm trying to fix two things that I believe are not working because I installed the 1-CD distro: 1. I can't switch sessions. I can start a new session and lock the current one, but to return to the first one I need to log out the 2nd one first. I assume that there is a package not installed. When I click on the desktop option to switch users, nothing happens. 2. I can't get anything to show on the root's desktop. If I navigate to the Desktop folder using Konqueror, it's all there, but nothing save a red bg displays on the actual Desktop. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 1, 2006 Report Share Posted August 1, 2006 Why are you switching sessions? If you're logging in as root on the other suggestion, that is bad bad bad and not recommended. All you have to do is sign on as your normal user, open a konsole prompt and type: su then enter the root password when prompted and you have root privileges. No need to open another session window and login as root. Here's the gcc package list in the urpmi repositories: [ian@europa ~]$ urpmf --name gcc libgcc1:libgcc1-4.0.1-5mdk.i586.rpm gcc-cpp:gcc-cpp-4.0.1-5mdk.i586.rpm gcc2.96-cpp:gcc2.96-cpp-2.96-0.83mdk.i586.rpm gcc:gcc-4.0.1-5mdk.i586.rpm gcc-c++:gcc-c++-4.0.1-5mdk.i586.rpm libgcc1:libgcc1-4.0.1-5mdk.i586.rpm gcc-cpp:gcc-cpp-4.0.1-5mdk.i586.rpm gcc2.96-cpp:gcc2.96-cpp-2.96-0.83mdk.i586.rpm gcc:gcc-4.0.1-5mdk.i586.rpm gcc-java:gcc-java-4.0.1-5mdk.i586.rpm gcc-c++:gcc-c++-4.0.1-5mdk.i586.rpm gcc-gfortran:gcc-gfortran-4.0.1-5mdk.i586.rpm gcc2.96:gcc2.96-2.96-0.83mdk.i586.rpm gcc-colorgcc:gcc-colorgcc-4.0.1-5mdk.i586.rpm gcc-doc:gcc-doc-4.0.1-5mdk.i586.rpm gcc-doc-pdf:gcc-doc-pdf-4.0.1-5mdk.i586.rpm gcc-gnat:gcc-gnat-4.0.1-5mdk.i586.rpm gcc-objc:gcc-objc-4.0.1-5mdk.i586.rpm gcc2.96-c++:gcc2.96-c++-2.96-0.83mdk.i586.rpm gcc3.3-cpp:gcc3.3-cpp-3.3.6-2mdk.i586.rpm cross-ppc-gcc-cpp:cross-ppc-gcc-cpp-3.4.3-6mdk.i586.rpm cross-ppc64-gcc-cpp:cross-ppc64-gcc-cpp-3.4.3-6mdk.i586.rpm gcc3.3:gcc3.3-3.3.6-2mdk.i586.rpm cross-ppc-libgcc1:cross-ppc-libgcc1-3.4.3-6mdk.i586.rpm cross-ppc64-libgcc1:cross-ppc64-libgcc1-3.4.3-6mdk.i586.rpm cross-ppc-gcc:cross-ppc-gcc-3.4.3-6mdk.i586.rpm cross-ppc64-gcc:cross-ppc64-gcc-3.4.3-6mdk.i586.rpm gccxml:gccxml-0.7-3.20050805.3mdk.i586.rpm gcc3.3-c++:gcc3.3-c++-3.3.6-2mdk.i586.rpm gcc3.3-doc:gcc3.3-doc-3.3.6-2mdk.i586.rpm gcc3.3-doc-pdf:gcc3.3-doc-pdf-3.3.6-2mdk.i586.rpm gcc3.3-g77:gcc3.3-g77-3.3.6-2mdk.i586.rpm I think the package you need is this one: gcc:gcc-4.0.1-5mdk.i586.rpm and this command should install it: urpmi gcc and that should be it. Of course, you need all your urpmi repositories, so visit the easyurpmi link at the top of this page. Quote Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Report Share Posted August 24, 2006 Aha maybe this is problem I have been having coz it always says no package. Thanks guys. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Report Share Posted August 24, 2006 Yep, you definitely need the urpmi sources from easyurpmi. BTW I'm from Sandbach which is only 5 miles from Alsager! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.