Tuesday, January 17, 2012

Build GCC 4.1.2 | Ubuntu 10.0.4

So, the stuff I forgot to backup before reinstalling my system (and switching from opensuse to ubuntu) is now evident :)

I need to compile some plugins using gcc 4.1.2 and that means a lot of deb packages to install. Then, when trying to build gcc (make -j 2 bootstrap) there was a recurrent error with makeinfo version.

Long story short: There's a bug which is finally solved here -> http://docwiki.gumstix.org/index.php?title=Buildroot#Makeinfo_.22Missing.22 and now everything is working again!

I'm using ubuntu 10.0.4 (Lucid Lynx) and makeinfo 4.13

edit - Oct 18 2012: Fixed the link to the new site. Also, probably you want to make sure texinfo is installed. If you get the stubs-32.h error while trying to build according to Autodesk Maya Linux Compiler Requirements, you can disable  using --disable-multilib or adding libc6-dev.i686 (Thanks to http://www.gccupc.org/gcc-upc-faq/article/compiler_build_fails_with_fatal_error_gnu_stubs_32.h_no_such_file_or_directory.html).

And just in case that the links above doesn't work anymore, you can get rid of the makeinfo bug editing Makefile in gcc-build and replacing "missing makeinfo" path with "/usr/bin/makeinfo".

Well, that's all for now. Don't forget to check the linux beta/demo of Miarmy!

No comments: