RedHat/Fedora installation prerequisites

From ArmadeusWiki
Revision as of 15:45, 13 September 2011 by JulienB (Talk | contribs) (New page: ==Mandatory packages== *the following commands should install all the needed prerequisites (assuming root shell): <pre class="host"> yum install gcc gcc-c++ make autoconf automake libtool...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Mandatory packages

  • the following commands should install all the needed prerequisites (assuming root shell):
 yum install gcc gcc-c++ make autoconf automake libtool bison flex gettext
 yum install patch subversion texinfo git wget
 yum install zlib-devel gettext-devel ncurses-devel lzo-devel libacl-devel
 yum install uuid-devel

Distribution specific tips

Fedora 13 & 14

  • as uuid-devel seems not installed at the right place, you may also need to do the following:
cd /usr/include
mkdir uuid
cp uuid.h uuid
cd /usr/lib
ln -s ../../lib64/libuuid.so.1 libuuid.so

Fedora 14

  • following operations are needed:
rpm --import E8E40FDE.txt
      • Now you can downgrade make
yum downgrade make --releasever=13
      • And to avoid futur upgrade, you need to add
exclude=make*

in /etc/yum.conf

    • install glibc-static to allow insmod.static compilation:
rpm -ivh glibc-static-2.12.90-15.i686.rpm

Other recent distributions such as mageia1 also have make-3.82, and a more generic solution, based on configure&& make&& sudo make install can be used to install make-3.81 (which can be retrieved from http://ftp.gnu.org/gnu/make/make-6.81.tar.gz) in /usr/local/bin (and , according to one's PATH, make 3-81 can be invoked directly or as /usr/local/bin/make)

RedHat Enterprise 5.2

Optional packages

  • Not mandatory but useful to add some extra packages:
yum install glib2-devel lzo2-devel

To compile java jamvm and gnu-classpath:

yum install java-*-openjdk