public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Han Jiang <oglops@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: help with compiling gcc-4.1.2 on CentOS 6.3 x64
Date: Wed, 21 Nov 2012 06:23:00 -0000	[thread overview]
Message-ID: <CAPiRsUXPa3=edvynJdYx4AVWoG177MruK05M5mXaoRW1G54ssw@mail.gmail.com> (raw)
In-Reply-To: <CAPiRsUXtWAHWDsLx0c8uNkDQV0drhShQRFziFy-isges6fy8gg@mail.gmail.com>

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 ?

       reply	other threads:[~2012-11-21  6:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPiRsUXtWAHWDsLx0c8uNkDQV0drhShQRFziFy-isges6fy8gg@mail.gmail.com>
2012-11-21  6:23 ` Han Jiang [this message]
2012-11-21  6:41   ` Ian Lance Taylor
2012-11-21 16:40     ` Han Jiang
2012-11-21  6:29 ` Han Jiang
2012-11-21  6:38   ` Han Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPiRsUXPa3=edvynJdYx4AVWoG177MruK05M5mXaoRW1G54ssw@mail.gmail.com' \
    --to=oglops@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).