* help with compiling gcc-4.1.2 on CentOS 6.3 x64
[not found] <CAPiRsUXtWAHWDsLx0c8uNkDQV0drhShQRFziFy-isges6fy8gg@mail.gmail.com>
@ 2012-11-21 6:23 ` Han Jiang
2012-11-21 6:41 ` Ian Lance Taylor
2012-11-21 6:29 ` Han Jiang
1 sibling, 1 reply; 5+ messages in thread
From: Han Jiang @ 2012-11-21 6:23 UTC (permalink / raw)
To: gcc-help
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 ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* help with compiling gcc-4.1.2 on CentOS 6.3 x64
[not found] <CAPiRsUXtWAHWDsLx0c8uNkDQV0drhShQRFziFy-isges6fy8gg@mail.gmail.com>
2012-11-21 6:23 ` help with compiling gcc-4.1.2 on CentOS 6.3 x64 Han Jiang
@ 2012-11-21 6:29 ` Han Jiang
2012-11-21 6:38 ` Han Jiang
1 sibling, 1 reply; 5+ messages in thread
From: Han Jiang @ 2012-11-21 6:29 UTC (permalink / raw)
To: gcc-help
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 ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* help with compiling gcc-4.1.2 on CentOS 6.3 x64
2012-11-21 6:29 ` Han Jiang
@ 2012-11-21 6:38 ` Han Jiang
0 siblings, 0 replies; 5+ messages in thread
From: Han Jiang @ 2012-11-21 6:38 UTC (permalink / raw)
To: gcc-help
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 ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with compiling gcc-4.1.2 on CentOS 6.3 x64
2012-11-21 6:23 ` help with compiling gcc-4.1.2 on CentOS 6.3 x64 Han Jiang
@ 2012-11-21 6:41 ` Ian Lance Taylor
2012-11-21 16:40 ` Han Jiang
0 siblings, 1 reply; 5+ messages in thread
From: Ian Lance Taylor @ 2012-11-21 6:41 UTC (permalink / raw)
To: Han Jiang; +Cc: gcc-help
On Tue, Nov 20, 2012 at 10:23 PM, Han Jiang <oglops@gmail.com> wrote:
> 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.
Install Texinfo 4.7 or later before running configure, or run
"contrib/gcc_update --touch" after unpacking the tar file.
> i'm not a programmer and i'm out of clue right now, anyone please help me ?
The truth is that building GCC yourself is a job for a programmer.
GCC 4.1 is very old. You can probably find an installable package for
it on the net somewhere.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with compiling gcc-4.1.2 on CentOS 6.3 x64
2012-11-21 6:41 ` Ian Lance Taylor
@ 2012-11-21 16:40 ` Han Jiang
0 siblings, 0 replies; 5+ messages in thread
From: Han Jiang @ 2012-11-21 16:40 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: gcc-help
i followed this tutorial and compiled 4.1.2 successfully.
../gcc-4.1.2/configure --prefix=/opt/gcc412 --program-suffix=412
--enable-shared --enable-threads=posix --enable-checking=release
--disable-libunwind-exceptions --enable-__cxa_atexit
--disable-multilib
then change Makefile line
MAKEINFO = /opt/YOURUSERNAME/newlib-1.15.0/missing makeinfo
to:
MAKEINFO = makeinfo
then:
make -j 2 bootstrap
compilation succeeded then.
On Wed, Nov 21, 2012 at 2:41 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Tue, Nov 20, 2012 at 10:23 PM, Han Jiang <oglops@gmail.com> wrote:
>
>> 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.
>
> Install Texinfo 4.7 or later before running configure, or run
> "contrib/gcc_update --touch" after unpacking the tar file.
>
>> i'm not a programmer and i'm out of clue right now, anyone please help me ?
>
> The truth is that building GCC yourself is a job for a programmer.
> GCC 4.1 is very old. You can probably find an installable package for
> it on the net somewhere.
>
> Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-21 16:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAPiRsUXtWAHWDsLx0c8uNkDQV0drhShQRFziFy-isges6fy8gg@mail.gmail.com>
2012-11-21 6:23 ` help with compiling gcc-4.1.2 on CentOS 6.3 x64 Han Jiang
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
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).