Mam ogromny problem z ustawieniem sobie środowiska do kompilowania pod Maya 2011-x64. Ale do rzeczy: Małym słowem wstępu, wspomnę że aby kompilować pluginy pod maya 2011-x64 potrzebny jest kompilator gcc-4.1.2, w dokumentacji od maya-2011 czytamy jak go skompilować:
Kod: Zaznacz cały
Download the latest errata of RHEL 4 WS U4 and the gcc 4.1.2 source tar file from http://gcc.gnu.org/install/
Platform Maya builds on: RHEL 4 WS with latest errata updates
% uname -a
Linux lnx-maya2011 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
binutils-2.15.92.0.2-21
Setup directories:
% mkdir gcc412
% cd gcc412
% mkdir gcc-build
Extract the source files:
% tar zxvf gcc-4.1.2.tar.gz
Configure the compiler:
% cd gcc-build
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
Install compiler as root:
% su root
% make install
Note: you can make a symlink in /usr/bin to make the call to gcc easier for the
user:
% cd /usr/bin
% ln -s /opt/gcc412/bin/gcc412 .
% ln -s /opt/gcc412/bin/g++412 .
Mianowicie nie moge odpalic po configure, make -j 2 bootstrap, configure bez problemów odpalam tak:
Kod: Zaznacz cały
../configure --prefix=/opt/gcc412 --program-suffix=412 --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit -disable-multilib
Kod: Zaznacz cały
........
make[3]: Entering directory `/home/kamcio/devkit/gcc-4.1.2/gcc-build/fastjar'
(echo "@set version-GCC 4.1.2"; \
if [ "" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
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 /home/kamcio/devkit/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] Error 1
make[3]: Leaving directory `/home/kamcio/devkit/gcc-4.1.2/gcc-build/fastjar'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kamcio/devkit/gcc-4.1.2/gcc-build/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/home/kamcio/devkit/gcc-4.1.2/gcc-build'
make: *** [all] Error 2
Kod: Zaznacz cały
find / -name makeinfo
Z góry Dzięki za pomoc!
---
:::SOLUTION:::
Rozwiązanie jest proste, opisałem je narazie na forum cgtalk.com, tutaj jest link:
http://forums.cgsociety.org/showthread. ... 9&t=962624
---