GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Jan12 on 12.04 i686
Jan12 on 12.04 i686 [message #13687] Mon, 02 July 2012 16:28 Go to next message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Well, I had a bit of toothache installing, so I'll detail my changes.

Fell over installing root.
cd jan12/tools
rm -rf root
svn co https://root.cern.ch/svn/root/trunk root
(version 5.99 at time of writing, made separately, cd root; make, then reran jan12/configure.sh)

Then it fell over at geant4_vmc

jan12/transport/geant4_vmc/source/geometry/src
added "using namespace std;" to
TG4GeometryServices.cxx
TG4MCGeometry.cxx

Think the compiler (4.6.3) has some beef here, also for r3broot.
Re: Jan12 on 12.04 i686 [message #13692 is a reply to message #13687] Tue, 03 July 2012 13:31 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

Normally the packages in the fairsoft are consistence, so if you change ROOT to the newest trunk for any reason, you should not expect that everything will run out of the box! and the changes you did to the VMC had to be send to CERN and not to us.

WHy you need to go to newest ROOT? and what beef is there with 4.6.3? and what about the jan12 externals do you have problems compiling them with the 4.6.3?

Mohammad
Re: Jan12 on 12.04 i686 [message #13693 is a reply to message #13692] Tue, 03 July 2012 13:46 Go to previous messageGo to next message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Hi Mohammad, thank you for the reply.

At first I naturally tried the script without modification. From the .log "ERROR: root could not be created."

My next step - compile the present version of root stand alone. No luck.

After that, remove that version of root and update it (v5.99). No more root problems with installation.

As for VMC issues, it worked ok for 12.04 64bit. With the same compiler, actually. I have no idea why vmc gave me these stream errors on i686, I just thought it useful, if not appropriate, to explain what I did to make it run here.

Cheers
Re: Jan12 on 12.04 i686 [message #13700 is a reply to message #13687] Wed, 04 July 2012 14:09 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

the first part of the complete installation procedure of the external packages checks the system and look for needed libraries and so on. Have you encountered any problems at this step or did you have only problems when the installation process comes to root?

Ciao

Florian
Re: Jan12 on 12.04 i686 [message #13701 is a reply to message #13700] Wed, 04 July 2012 14:14 Go to previous messageGo to next message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Hi Florian, all fine up to that point.
Re: Jan12 on 12.04 i686 [message #13702 is a reply to message #13687] Wed, 04 July 2012 15:32 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

here I wonder, because Ubuntu is again using some new paths to"hide" their libraries,
which are neither foreseen in out scripts nor in the root configuration.
Anyway, I fixed the issue and for me the jan12 release compiles on Ubuntu 12.04.

Please try to start with a fresh checkout and do the installation again. If the installation should work it would be nice if you could change the topic name from "Jan12 on 12.04 i686" to " [solved] Jan12 on 12.04 i686".

Ciao

Florian
Re: Jan12 on 12.04 i686 [message #13703 is a reply to message #13702] Wed, 04 July 2012 15:34 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
I had the same problem with jan12, with the tarball you (Florian) sent me, but now taking jan12 from svn it is fixed in my case.
Re: Jan12 on 12.04 i686 [message #13704 is a reply to message #13703] Wed, 04 July 2012 20:11 Go to previous messageGo to next message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Hi, I'm afraid to say the script did not install without hitch for me.

*** Compiling root ................
*** Applying patch needed for Ubuntu 12.04
Copied rootconfig.sh ......................
Configure Root ..........................................
*** ERROR: root could not be created.

Stefano, are you on x86_64?

I'll see if I can get it working by ineptly fiddling with the root_config.patch tomorrow.
Re: Jan12 on 12.04 i686 [message #13705 is a reply to message #13704] Wed, 04 July 2012 20:39 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *10-79-r.retail.telecomitalia.it
Yes, I have downloaded the code from svn and installed it just this afternoon, w/o any interventions.
Re: Jan12 on 12.04 i686 [message #13706 is a reply to message #13704] Thu, 05 July 2012 09:25 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *pools.arcor-ip.net
Hi,

Could you send a more detailed error message. With only ERRor it is hard to understand what is the problem.

What I don't understand is why it works for me without problems.

Ciao

Florian
Re: Jan12 on 12.04 i686 [message #13707 is a reply to message #13706] Thu, 05 July 2012 10:24 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

It works also for me on Ubuntu 12.04 (64 bit), I just had to add the -fPIC to the CXXFLAGS for glpk and gsl packages (in SVN now).

results are on:
http://cdash.gsi.de/CDash/index.php?project=R3BRoot&date=20120705

Cheers,

Mohammad
Re: Jan12 on 12.04 i686 [message #13708 is a reply to message #13687] Thu, 05 July 2012 10:59 Go to previous messageGo to next message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Hi, nice to hear the installation goes well for most!

After 'svn up' 5 minutes ago, I find these errors when running the script (see attached).

(12.04, i686)

Any further information needed, please ask.
  • Attachment: jan12_errors
    (Size: 22.58KB, Downloaded 215 times)
Re: Jan12 on 12.04 i686 [message #13709 is a reply to message #13708] Thu, 05 July 2012 11:25 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

Seems to be a known problem with i686 and ROOT 5.32:

http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=13999


So may be it would be better if you use the trunk of FairSoft, and we have to make a new release as soon as possible!

regards,

Mohammad
Re: Jan12 on 12.04 i686 [message #13710 is a reply to message #13709] Thu, 05 July 2012 11:33 Go to previous message
Ben Pietras is currently offline  Ben Pietras
Messages: 7
Registered: June 2012
occasional visitor
From: *usc.es
Great, many thanks.
Previous Topic: problem installing external package jan12
Next Topic: jan12 not working on wheezy 64 bit
Goto Forum:
  


Current Time: Fri Jul 19 13:45:24 CEST 2024

Total time taken to generate the page: 0.00796 seconds