Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Installation Guide
Linux Installation on the Host PC
ST Logo
Previous   Contents   Next

Linux installation on the host PC

The supported development environment for using the STLinux Distribution is a standard x86 PC running Linux. Two Linux host distributions are supported:

  • The Red Hat, Inc commercial product Red Hat Enterprise Linux Workstation (RHELWS). This is available for purchase from Red Hat and their distributors, who also provides paid-for support.
  • The free software distribution Fedora. This is available for free download, and although it is sponsored by Red Hat, it is not directly supported by them. However there are several mailing lists which offer community support.

STLinux Distribution release 2.0 is supported on RHELWS version 3 and Fedora Core 4. In addition STLinux Distribution release 2.2 also supports Fedora Core 5. Other host platforms are not officially supported, and if problems are found which relate specifically to the use of a different distribution, we may not be able to support you. However, we do have some experience with the use of other distributions, so listed here are some hints and tips which may prove useful.

The stmyum program is written in python, and so uses the host's python interpreter and libraries. However the version of python provided with the various distributions we support can vary considerably. For this reason a number of RPM packages are available which provide python libraries which we have found to be missing on various hosts, and even a replacement version of the stmyum package for very old python installations. These are available in the compat directory on the FTP server.

These additional packages should only be installed if absolutely required, as they may conflict with the version provided by the host's python installation.

Notes for Specific Host Distributions

Enterprise Linux Work Station 4 (RHELWS4)

The STLinux Distribution has been successfully used on Update #3 of the RHELWS4, that is RHELWS4U3.

Although not known, it is believed that other update releases of RHELWS4 should install directly, with no additional requirements.

Unknown.

Enterprise Linux Work Station 3 (RHELWS3)

Should install directly, with no additional requirements.

The default version of stmyum now used in STLinux Distribution release 2.2 requires a more up to date version of python than that shipped with RHEL3. For this reason a couple of additional packages are required:

  • stlinux22-host-python-celementtree
  • stlinux22-host-yum-python2.2

These should be downloaded from the compat directory on the FTP server and installed using the rpm command. Note that you must be running as root to do this.

Fedora Core 6

Requires C++ backward compatibility library: compat-libstdc++-33-3.2.3-61.i386.rpm or later. This is not likely to be installed by default, so please ensure this package is installed prior to installing the STLinux Distribution on such a machine.

It is required that SELinux is disabled to avoid problems with using the STLinux Distribution. See Notes on SELinux for details.

Fedora Core 5

Requires C++ backward compatibility libraries: compat-libstdc++-33-3.2.3-55.fc5.i386.rpm. This is not likely to be installed by default, so please ensure this package is installed prior to installing the STLinux Distribution on such a machine.

It is required that SELinux is disabled to avoid problems with using the STLinux Distribution. See Notes on SELinux for details.

Fedora Core 4

Requires C++ backward compatibility libraries: compat-libstdc++-33-3.2.3-47.fc4.i386.rpm. This is likely to be installed by default if you have done a workstation install, but may need to be installed manually for a server.

It is recommended that SELinux is disabled to avoid possible problems with the STLinux Distribution. See Notes on SELinux for details.

Fedora Core 3

Requires C++ backward compatibility libraries: compat-libstdc++-8-3.3.4.2.i386.rpm. This is likely to be installed by default if you have done a workstation install, but may need to be installed manually for a server.

It is recommended that SELinux is disabled to avoid possible problems with the STLinux Distribution. See Notes on SELinux for details.

Red Hat 9

In practise the ST40 version of the distribution appears to work correctly, with the updates detailed beneath. However, the ST231 version is known not to work, because of shared library incompatibilities.

The native RPM system itself must be upgraded before the STLinux 2.0 distribution is installed. Version 4.2 contains a serious bug, which is fixed in 4.2-1. Install: rpm-4.2-1.i386.rpm.

The C++ backward compatibility libraries must be installed, in order to install the STLinux 2.0 distribution. This package may already be installed depending on the type of RH9 installation you performed. Install: compat-libstdc++-7.3-2.96.118.i386.rpm.

Notes on SELinux

SELinux is a Security Enhanced version of Linux. This provides additional security auditing and checking on a Linux system. However, this can cause difficulties in the installation and normal use of the STLinux Distribution. STMicroelectronics recommends that SELinux is disabled on machines used for the STLinux Distribution. This is less of a problem with FC3 or FC4. However, with FC5 SELinux does cause problems and we require SELinux to be disabled for correct behaviour.

To check the current SELinux setting, run:

% /usr/sbin/sestatus

To disable SELinux, edit the /etc/selinux/config file to change it, so that it contains SELINUX=disabled, and re-boot, then re-run /usr/sbin/sestatus to verify the status of SELinux.

Previous   Contents   Next
Valid HTML 4.01! Last updated: 2007/01/17 12:00:33
© Copyright STMicroelectronics Limited, 2005
Printer