From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31528 invoked by alias); 21 Nov 2012 06:23:31 -0000 Received: (qmail 31315 invoked by uid 22791); 21 Nov 2012 06:23:30 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_CX,TW_XV,TW_ZX X-Spam-Check-By: sourceware.org Received: from mail-ie0-f175.google.com (HELO mail-ie0-f175.google.com) (209.85.223.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 06:23:20 +0000 Received: by mail-ie0-f175.google.com with SMTP id qd14so4475373ieb.20 for ; Tue, 20 Nov 2012 22:23:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.179.100 with SMTP id df4mr12730018igc.60.1353479000200; Tue, 20 Nov 2012 22:23:20 -0800 (PST) Received: by 10.50.152.199 with HTTP; Tue, 20 Nov 2012 22:23:20 -0800 (PST) In-Reply-To: References: Date: Wed, 21 Nov 2012 06:23:00 -0000 Message-ID: Subject: help with compiling gcc-4.1.2 on CentOS 6.3 x64 From: Han Jiang To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00160.txt.bz2 Hi all, i'm compiling gcc 4.1.2 for autodesk maya ( a 3d animation software) , and came across these error messages. i'm following this tutorial http://docs.autodesk.com/MAYAUL/2013/ENU/Maya-API-Documentation/index.html Download the gcc 4.1.2 source tar file from http://gcc.gnu.org/install/ Setup directories: % mkdir gcc412 % cd gcc412 % mkdir gcc-build Extract the source files: % tar zxvf gcc-4.1.2.tar.gz % cd gcc-build Configure the compiler. Run the following all on 1 line: ../gcc-4.1.2/configure --prefix=/opt/gcc412 --program-suffix=412 --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit Build the compiler: % make -j 2 bootstrap Everything goes well until this step. i searched the mailing list and found in 2011 ,Olumide faced with a similar error message, http://gcc.gnu.org/ml/gcc-help/2011-01/msg00279.html but he managed to get it compiled successfully after installing two packages, "(I had to compiled and install textinfo version 4.9 and install the latest version ncurses in order to compile texinfo.)" I have these two packages installed, but still can't compile it. other preparations i did yum groupinstall "Development tools" yum groupinstall "Additional Development" yum install glibc-devel.i686 yum install libXext-devel the compiling stops with the following error messages: ... ... if /home/oglop/Downloads/gcc412/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 -I ../../gcc-4.1.2/fastjar/../gcc/doc/include -I ../../gcc-4.1.2/fastjar \ -o fastjar.info `test -f 'fastjar.texi' || echo '../../gcc-4.1.2/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[4]: *** [fastjar.info] Error 1 make[4]: Leaving directory `/home/oglop/Downloads/gcc412/gcc-build/fastjar' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/oglop/Downloads/gcc412/gcc-build/fastjar' make[2]: *** [all-fastjar] Error 2 make[2]: *** Waiting for unfinished jobs.... gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/fixtests.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/fixfixes.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/server.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/procopen.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/fixlib.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc-4.1.2/fixincludes -I../include -I../../gcc-4.1.2/fixincludes/../include ../../gcc-4.1.2/fixincludes/fixopts.c srcdir="../../gcc-4.1.2/fixincludes" /bin/sh ../../gcc-4.1.2/fixincludes/mkfixinc.sh x86_64-unknown-linux-gnu sed -e 's/@gcc_version@/4.1.2/' < mkheaders.almost > mkheadersT gcc -g -O2 -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a mv -f mkheadersT mkheaders echo timestamp > full-stamp make[3]: Leaving directory `/home/oglop/Downloads/gcc412/gcc-build/fixincludes' make[2]: Leaving directory `/home/oglop/Downloads/gcc412/gcc-build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/oglop/Downloads/gcc412/gcc-build' make: *** [bootstrap] Error 2 i'm not a programmer and i'm out of clue right now, anyone please help me ?