Difference between revisions of "RedHat/Fedora installation prerequisites"

From ArmadeusWiki
Jump to: navigation, search
(Fedora 13 also needs glibc-static)
(Mandatory packages)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
  yum install zlib-devel gettext-devel ncurses-devel lzo-devel libacl-devel
 
  yum install zlib-devel gettext-devel ncurses-devel lzo-devel libacl-devel
 
  yum install uuid-devel
 
  yum install uuid-devel
 +
yum install python-serial python-usb
 +
yum install libssl-devel                        (to build u-boot 2014.04 mxsimage tool for the apf28)
 
</pre>
 
</pre>
  
Line 39: Line 41:
 
</pre>
 
</pre>
 
in /etc/yum.conf
 
in /etc/yum.conf
 +
 +
===Fedora 17===
 +
* If you get this error during compilation (module-init-tools or other packages):
 +
<pre class="host">
 +
/usr/bin/ld: cannot find -lc
 +
</pre>
 +
you should install the glibc-static package:
 +
<pre class="host">
 +
$ yum install glibc-static
 +
</pre>
 +
This is because the incriminated package build process wants to statically link against the C library.
  
 
===RedHat Enterprise 5.2===
 
===RedHat Enterprise 5.2===

Latest revision as of 14:19, 18 June 2014

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
 yum install python-serial python-usb
 yum install libssl-devel                         (to build u-boot 2014.04 mxsimage tool for the apf28)

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

Fedora 17

  • If you get this error during compilation (module-init-tools or other packages):
/usr/bin/ld: cannot find -lc

you should install the glibc-static package:

$ yum install glibc-static

This is because the incriminated package build process wants to statically link against the C library.

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