[Solved] Kompilacja gcc-4.1.2 pod ubuntu 10.04, brak makeinfo

Bash, C, C++, Java, PHP, Ruby, GTK, Qt i wiele innych - wszystko tutaj.
Awatar użytkownika
HEKTOR_87
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 07 sty 2010, 17:30
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64
Kontakt:

[Solved] Kompilacja gcc-4.1.2 pod ubuntu 10.04, brak makeinfo

Post autor: HEKTOR_87 »

Witam!

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 .
Wszystko niby zrozumiałe ale jest kilka problemów.
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
Gdyż otrzymuję taki błąd:

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
Widzę, że problem jest z tym makeinfo, nie wiem skąd go wziąć, bo

Kod: Zaznacz cały

find / -name makeinfo 
nic nie zwraca. I już jestem w takiej kropce, że nie wiem co dalej.

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

---
kklimonda
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 20 kwie 2008, 04:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME

Odp: Kompilacja gcc-4.1.2 pod ubuntu 10.04, brak makeinfo

Post autor: kklimonda »

Musisz doinstalować paczkę texinfo.
Awatar użytkownika
HEKTOR_87
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 07 sty 2010, 17:30
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64
Kontakt:

Odp: Kompilacja gcc-4.1.2 pod ubuntu 10.04, brak makeinfo

Post autor: HEKTOR_87 »

Niestety to nie pomogło :wall:

texinfo zainstalowane z repozytorium, jest w /usr/bin/makeinfo
Moge je wywołać:

Kod: Zaznacz cały

kamcio@kamcio-desktop:~/devkit/gcc-4.1.2/gcc-build$ makeinfo
makeinfo: missing file argument.
Try `makeinfo --help' for more information.
I nadal ten fajny błąd co ostatnio

Kod: Zaznacz cały

	  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
a to wnętrze katalogu fastjar

Kod: Zaznacz cały

-rw-r--r-- 1 kamcio kamcio   3413 2011-03-05 17:50 config.cache
-rw-r--r-- 1 kamcio kamcio   3225 2011-03-05 17:50 config.h
-rw-r--r-- 1 kamcio kamcio  24961 2011-03-05 17:50 config.log
-rwxr-xr-x 1 kamcio kamcio  40138 2011-03-05 17:50 config.status
-rwxr-xr-x 1 kamcio kamcio 241103 2011-03-05 17:50 configure.lineno
-rw-r--r-- 1 kamcio kamcio      0 2011-03-05 17:56 gcc-vers.info
-rw-r--r-- 1 kamcio kamcio     42 2011-03-05 17:50 gcc-vers.texi
-rw-r--r-- 1 kamcio kamcio    117 2011-03-05 17:50 install-defs.sh
-rw-r--r-- 1 kamcio kamcio  37091 2011-03-05 17:50 Makefile
-rw-r--r-- 1 kamcio kamcio     23 2011-03-05 17:50 stamp-h1
Coś czuję że tego nie skompiluję.



:::SOLUTION:::
Rozwiązanie jest proste, opisałem je narazie na forum cgtalk.com, tutaj jest link:
http://forums.cgsociety.org/showthread. ... 9&t=962624
ODPOWIEDZ

Wróć do „Programowanie”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 12 gości