How to compile 32 bit root on lxplus

Dear all,
Could someone give me a recipe to build 32 bit root on lxplus(64 bit mahine)? I gave some tries, but never fully succeed.
Thanks in advance.

Try: ./configure linux --all --enable-explicitlink --enable-soversion --enable-rpath

Hi Wile,
Thanks for the reply.
I finally managed to make it with:
./configure
"linux"
"–enable-builtin-pcre"
"–enable-python"
"–enable-roofit"
"–enable-minuit2"
"–disable-castor"
"–with-gsl-libdir=/afs/cern.ch/sw/lcg/external/GSL/1.10/i686-slc5-gcc43-opt/lib"
"–with-gsl-incdir=/afs/cern.ch/sw/lcg/external/GSL/1.10/i686-slc5-gcc43-opt/include"
However, it looks pyroot does not work:
Python 2.4.3 (#1, Jun 19 2012, 13:51:22) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type “help”, “copyright”, “credits” or “license” for more information. >>> import ROOT Traceback (most recent call last): File “”, line 1, in ? File “lib/ROOT.py”, line 85, in ? import libPyROOT as _root ImportError: libRIO.so: wrong ELF class: ELFCLASS32 >>> exit

Do you have any clue?
Thanks a lot.

AFAIK to use 32bit ROOT with Python you need a 32bit Python. The same goes for any link dependencies.

Try:
root-config --has-python
if you get “yes”, try:
root-config --python-version
and then you will need to run that particular 32-bit python version.
(If you got “no” -> the ROOT “configure” script did not find appropriate 32-bit python version and so your ROOT has no python support at all.)