Difference between revisions of "RedHat/Fedora installation prerequisites"

From ArmadeusWiki
Jump to: navigation, search
m (Fedora 14: make-3.82 worries can be worked around with a generic solution, and this solution is not Fedora's)
(Fedora 13 also needs glibc-static)
Line 17: Line 17:
 
cd /usr/lib
 
cd /usr/lib
 
ln -s ../../lib64/libuuid.so.1 libuuid.so
 
ln -s ../../lib64/libuuid.so.1 libuuid.so
 +
</pre>
 +
* install glibc-static to allow insmod.static compilation:
 +
<pre class="host">
 +
rpm -ivh glibc-static-2.12.90-15.i686.rpm
 
</pre>
 
</pre>
  
 
===Fedora 14===
 
===Fedora 14===
* following operations are needed:
+
Following operations are needed:
** downgrade make-3.82 to make-3.81 (Fedora 14 uses make-3.82 which is too restrictive) :
+
* downgrade make-3.82 to make-3.81 (Fedora 14 uses make-3.82 which is too restrictive) :
*** First you need to download the correct key (https://fedoraproject.org/static/E8E40FDE.txt) and import this by :
+
** First you need to download the correct key (https://fedoraproject.org/static/E8E40FDE.txt) and import this by :
 
<pre class="host">
 
<pre class="host">
 
rpm --import E8E40FDE.txt
 
rpm --import E8E40FDE.txt
 
</pre>
 
</pre>
*** Now you can downgrade make
+
** Now you can downgrade make
 
<pre class="host">
 
<pre class="host">
 
yum downgrade make --releasever=13
 
yum downgrade make --releasever=13
 
</pre>
 
</pre>
*** And to avoid futur upgrade, you need to add  
+
** And to avoid futur upgrade, you need to add  
 
<pre class="host">
 
<pre class="host">
 
exclude=make*
 
exclude=make*
 
</pre>
 
</pre>
 
in /etc/yum.conf
 
in /etc/yum.conf
** install glibc-static to allow insmod.static compilation:
 
<pre class="host">
 
rpm -ivh glibc-static-2.12.90-15.i686.rpm
 
</pre>
 
  
 
===RedHat Enterprise 5.2===
 
===RedHat Enterprise 5.2===

Revision as of 14:37, 28 September 2011

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
  • install glibc-static to allow insmod.static compilation:
rpm -ivh glibc-static-2.12.90-15.i686.rpm

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

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