Fedora Linux Support Community & Resources Center
Old 8th March 2010, 10:55 AM
mmehrwald Offline
Registered User
Join Date: May 2008
Posts: 60
Install two gcc in parallel


I try to install two versions of gcc in parallel. The version 4.4 is already installed in Fedora 12 but due to some problems with boost I need also 4.1. I tried to compile this version but I always got the following compiler error:

# make
make[1]: Entering directory `/opt/gcc-4.1.2'
make[2]: Entering directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=/opt/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/gcc" "infodir=/opt/gcc/info" "libdir=/opt/gcc/lib" "prefix=/opt/gcc" "tooldir=/opt/gcc/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/zlib'
make[2]: Entering directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/libiberty'
make[2]: Entering directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=/opt/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/opt/gcc" "infodir=/opt/gcc/info" "libdir=/opt/gcc/lib" "prefix=/opt/gcc" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
make[3]: Entering directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/fastjar'
restore=: && backupdir=".am$$" && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        if /opt/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000  -I ../.././fastjar/../gcc/doc/include  -I ../.././fastjar \
         -o fastjar.info `test -f 'fastjar.texi' || echo '../.././fastjar/'`fastjar.texi; \
        then \
          rc=0; \
        else \
          rc=$?; \
          $restore $backupdir/* `echo "./fastjar.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [fastjar.info] Fehler 1
make[3]: Leaving directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/fastjar'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/fastjar'
make[1]: *** [all-fastjar] Fehler 2
make[1]: Leaving directory `/opt/gcc-4.1.2'
make: *** [all] Fehler 2
I tried 4.1.1 and 4.1.2 and got the same error in both versions. makeinfo is also installed and configure found it but I still get the warning about it.

Does anyone know how to install two versions of gcc or how to overcome this error?

Reply With Quote

gcc, install, parallel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Processing in PHP alirizwan Programming & Packaging 3 14th September 2005 03:39 PM
Installing RPM 4.3.2 parallel to RPM 4.3.1 ilja Using Fedora 2 13th July 2004 08:57 PM

Current GMT-time: 08:36 (Thursday, 24-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat