Re: Problems compiling root with pythia6

From: Mario Kadastik <mario.kadastik_at_cern.ch>
Date: Tue, 04 Oct 2005 11:55:02 +0300


Hello Rene,

Well $ROOTSYS/lib contains libPythia6.so file and I have also set the PYTHIA6 environment to point to that directory so in the end it would not differ in the commandline. I know the libPythia6.so file works as it works on an another system where I somehow at some point managed to compile pythia into root, but how I did it then is kind of eluding me at this point.

Mario

Rene Brun wrote:

> Mario,
>
> You should not do:
> ./configure linux --prefix=$ROOTSYS --with-pythia6-libdir=$ROOTSYS/lib/
> but
> ./configure linux --prefix=$ROOTSYS --with-pythia6-libdir=$PYTHIA6
>
> where $PYTHIA6 points to a directory containing the libPythia6.so file.
> To build this file, see the ROOT install page and search for
> "Pythia Event Generators"
> Download the file ftp://root.cern.ch/root/pythia6.tar.gz
>
> Rene Brun
>
>
> On Mon, 3 Oct 2005, Mario Kadastik wrote:
>
>> Hello,
>>
>> well I'm trying to compile root with pythia6, but have trouble. I
>> download root as source (4.04g version), unpack it, create ROOTSYS
>> directory, ROOTSYS/lib directory, copy there libPythia6.so there and
>> then run:
>> ./configure linux --prefix=$ROOTSYS
>> --with-pythia6-libdir=$ROOTSYS/lib/ --enable-pythia6
>> Configuring for linux
>> Checking for libX11 ... /usr/X11R6/lib
>> Checking for X11/Xlib.h ... /usr/include
>> Checking for libXpm ... /usr/X11R6/lib
>> Checking whether to build included libfreetype6 ... yes
>> Checking for GL/gl.h ... /usr/include
>> Checking for libGL, or libMesaGL ... /usr/lib
>> Checking for libGLU, or libMesaGLU ... /usr/lib
>> Checking for mysql.h ... /usr/include/mysql
>> Checking for libmysqlclient_r, libmysqlclient, or mysqlclient ...
>> /usr/lib/mysql
>> Checking for occi.h ... no
>> Checking for libclntsh ... no
>> Checking for libocci ... no
>> Checking for libpq-fe.h ... /usr/include
>> Checking for libpq ... /usr/lib
>> Checking for sql.h ... no
>> Checking for libsqlod ... no
>> Checking for rfio_api.h ... no
>> Checking for libshift, shiftmd, or shift ... no
>> Checking for libpacklib, packmd, or packlib ... no
>> Checking for libkernlib, kernmd, or kernlib ... no
>> Checking for libPythia6 ... no
>> Checking for libVenus ... no
>> Checking for dcap.h ... no
>> Checking for libdcap ... no
>> Checking for chirp_client.h ... no
>> Checking for libchirp_client ... no
>> Checking for AliEnAPI++.h ... no
>> Checking for libAliEnAPI++ ... no
>> Checking for jpeglib.h ... /usr/include
>> Checking for png.h ... /usr/include
>> Checking for tiffio.h ... /usr/include
>> Checking for gif_lib.h ... /usr/include
>> Checking for libjpeg ... /usr/lib
>> Checking for libtiff ... /usr/lib
>> Checking for libz ... /usr/lib
>> Checking for libpng ... /usr/lib
>> Checking whether to build included libAfterImage ... yes
>> Checking for ldap.h ... /usr/include
>> Checking for libldap ... /usr/lib
>> Checking for liblber ... /usr/lib
>> Checking for Python.h ... /usr/include/python2.2
>> Checking for libpython2.4, libpython2.3, libpython2.2, python24,
>> python23, or Python ... /usr/lib/python2.2/config
>> Checking for libxml/tree.h ... /usr/include/libxml2
>> Checking for libxml2_a, or libxml2 ... /usr/lib
>> Checking whether to build xrootd ... yes
>> Checking for globusdir ... no
>> Checking for GLOBUS_LOCATION ... no
>> Checking for libssl ... /usr/lib
>> Checking for libcrypto ... /usr/lib
>> Checking for openssl/bio.h ... /usr/include
>> Checking for openssl/blowfish.h ... /usr/include
>> Checking for openssl/err.h ... /usr/include
>> Checking for openssl/pem.h ... /usr/include
>> Checking for openssl/rand.h ... /usr/include
>> Checking for openssl/rsa.h ... /usr/include
>> Checking for t_server.h ... no
>> Checking for libsrp ... no
>> Checking for libgmp ... /usr/lib
>> Checking for libmisc ... no
>> Checking for pwauth.h ... no
>> Checking for krb5.h ... /usr/kerberos/include
>> Checking for libk5crypto ... /usr/kerberos/lib
>> Checking whether we're using MIT Kerberos ... yes
>> Checking for libkrb5 ... /usr/kerberos/lib
>> Checking for kinit ... /usr/kerberos/bin/kinit
>> Checking for libcom_err ... /usr/kerberos/lib
>> Checking for shadow passwords ... yes
>> Checking whether to build libTable ... no
>> Checking for Clarens support ... no
>> Checking for PEAC support ... no
>> Checking whether setresuid declared in /usr/include/unistd.h ... yes
>> Creating include ... done
>> Creating bin ... done
>> Creating lib ... done
>> Writing config/Makefile.config ... done
>> Writing include/config.h ... done
>> Writing bin/root-config ... done
>> Writing etc/system.rootrc ... done
>> Writing etc/system.rootauthrc ... done
>> Writing etc/system.rootdaemonrc ... done
>> Writing etc/root.mimes ... done
>> Writing etc/rootd ... done
>> Writing bin/memprobe ... done
>> Writing build/misc/root-help.el ... done
>> Writing macros/html.C ... done
>> Writing config.status ... done
>>
>> Enabled support for asimage, builtin_afterimage, builtin_freetype,
>> exceptions, krb5, ldap, mysql, opengl, pgsql, python, shadowpw,
>> shared, ssl, thread, xml, xrootd.
>>
>> To build ROOT type:
>>
>> make
>> make install
>>
>> as you can see it doesn't find libPythia6 for some reason. Any
>> suggestions why this is happening? I remember having trouble once
>> before, but don't remember how I figured it out in the end. I am
>> using the same libPythia6.so on another system and it works.
>>
>> Thanks in advance,
>>
>> Mario
>>
Received on Tue Oct 04 2005 - 10:55:14 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET