What do I need&nb…

来源:互联网 发布:水逆退散网络语啥意思 编辑:程序博客网 时间:2024/04/30 08:08

What do I need to do to install and run Sourcery CodeBench on anx86 64-bit Linux host system?

Question

What do I need to doto install and run Sourcery CodeBench on an x86 64-bit Linux hostsystem?

Answer

In order to useSourcery CodeBench on an x86 64-bit Linux host system, you musthave 32-bit system libraries installed. You can install these32-bit libraries using your system's package management tool, orbuild them from source.

Distribution Notes:

Debian/Ubuntu

The following32-bit libraries are available as packages that can be installedusing apt-get on the command line or graphically usingSynaptic:

  • ia32-libs
  • ia32-libs-gtk (notrequired for Hardy 8.04 and later)

To install thesepackages from the command line:

apt-get install ia32-libs ia32-libs-gtk

Next you will need touse Getlibs toinstall a 32-bit version of xulrunner:

  • Download getlibs-all.deb

  • Install getlibs-all.deb byrunning:

    sudo dpkg -i getlibs-all.deb
  • Installthe 32-bit xulrunner byrunning:

    sudo getlibs -p xulrunner-1.9.2
  • Setupthe IDE to use your recently installed 32-bit xulrunner:

    export MOZILLA_FIVE_HOME=/usr/lib32/xulrunner-1.9.2.X

    Substitute X forthe version you see installed on your system. You will need to setthis environment variable every time you start the IDE.

Red Hat EnterpriseLinux

The following32-bit library is available as a package that can be installed fromthe command line:

  • glibc-devel

To install thispackage from the command line:

  • RHEL 4and older:

    up2date-nox -i --arch=i386 glibc
  • RHEL 5and later:

    yum install glibc-devel.i686 gtk2-devel.i686 gtk-nodoka-engine.i686 \libcanberra.i686 libcanberra-gtk2.i686 PackageKit-gtk-module.i686 \GConf2.i686 ncurses-libs.i686 xulrunner.i686

Fedora

If working with anew installation of the operating system pleaserun yum update beforeattempting the following steps.

Logged in as the rootuser run the following:

  • Fedora14:

    yum install glibc-devel.i686 gtk2-devel.i686 gtk-nodoka-engine.i686 \libcanberra.i686 libcanberra-gtk2.i686 PackageKit-gtk-module.i686 \GConf2.i686 ncurses-libs.i686 xulrunner.i686
  • Fedora11:

    yum install glibc-devel.i586 gtk2-devel.i586 gtk-nodoka-engine.i586 \libcanberra.i586 libcanberra-gtk2.i586 PackageKit-gtk-module.i586 \GConf2.i586 ncurses-libs.i586 xulrunner.i586

Generic Linux

The following32-bit libraries must be installed with versions greater than orequal to those listed here:

  • GLIBC 2.3
  • GTK 2.2.1
  • ATK 1.2.0
  • glib 2.2.1
  • Pango 1.2.1
  • Freetype2.1.3
  • Ncurses 5.0
  • XULRunner1.9.1

Thisentry was last updated on 26 November 2012.

0 0