GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » May11 with ubuntu 11.04
May11 with ubuntu 11.04 [message #11808] Thu, 19 May 2011 11:07 Go to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Dear all,
I have just updated my Ubuntu version to 11.04.
I have problems in the "check_system.sh" script, when installing may11 external packages.
In particular, I have the error:

patch found in PATH
wget found in PATH
Subversion client  found in PATH
Checking for
 libX11 ... 
no
configure.sh: libX11 (package libX11-devel) MUST be installed


But libX11 is installed in:

spataro@briareos:~/may11$ ls -l /usr/lib32/libX11*
lrwxrwxrwx 1 root root      11 2011-05-19 10:00 /usr/lib32/libX11.so -> libX11.so.6
lrwxrwxrwx 1 root root      15 2011-05-19 10:00 /usr/lib32/libX11.so.6 -> libX11.so.6.3.0
-rw-r--r-- 1 root root 1151776 2011-04-09 11:00 /usr/lib32/libX11.so.6.3.0
lrwxrwxrwx 1 root root      15 2011-05-19 10:00 /usr/lib32/libX11-xcb.so -> libX11-xcb.so.1
lrwxrwxrwx 1 root root      19 2011-05-19 10:00 /usr/lib32/libX11-xcb.so.1 -> libX11-xcb.so.1.0.0
-rw-r--r-- 1 root root    5292 2011-04-09 11:00 /usr/lib32/libX11-xcb.so.1.0.0


Don't ask me why in lib32, the pc is a 64bit machines.
What should I do?






Re: May11 with ubuntu 11.04 [message #11809 is a reply to message #11808] Thu, 19 May 2011 11:54 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 Stefano,

Quote:


Don't ask me why in lib32, the pc is a 64bit machines.
What should I do?



Blame Ubuntu ;-}}
Can you please check if this are 32bit libraries pr 64bit libraries in the wrong directory.

file -L "filename"

Ciao

Florian
Re: May11 with ubuntu 11.04 [message #11810 is a reply to message #11808] Thu, 19 May 2011 12:40 Go to previous messageGo to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *natpool.mwn.de
Hi,

just check where the check_system.sh looks for the libraries ... You can always just create a symbolic link in one of those directotries to your actual library. I had to do this for my latest installation on Ubuntu for a couple of libraries.
Imho this is preferable to hacking the script itself.

Cheers

Felix
Re: May11 with ubuntu 11.04 [message #11811 is a reply to message #11808] Thu, 19 May 2011 12:54 Go to previous messageGo to next message
Bernd Lewandowski is currently offline  Bernd Lewandowski
Messages: 7
Registered: September 2005
occasional visitor
From: *ikf.physik.uni-frankfurt.de
Hi Stefano,

the package you are checking is libX11. The checking script is looking for the header files. These files are in the package libX11-devel.

Best Regards,
Bernd


Re: May11 with ubuntu 11.04 [message #11813 is a reply to message #11811] Thu, 19 May 2011 13:48 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
In Unbuntu there are no libX11-devel but libX11-dev.
They were installed, but under /usr/lib/x86_64-linux-gnu, that I have added in my check_system.sh (the ones in lib32 were really 32bit).
I add the same problem with libXfte, libXext. Now it seems to run (hopefully). I do not know if it is the case to fix it in the repository.
Just to be complete, I have not installed the new Ubuntu from scratch but I have updated my 10.10, maybe in the procedure it has not created the proper links in /usr/lib, I don't know what to say...

Re: May11 with ubuntu 11.04 [message #11821 is a reply to message #11813] Thu, 19 May 2011 14:36 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
Now,
trying to install root, I have the following error:

==> lib/libFitPanel.so done
bin/rmkdepend -R -fproof/proof/src/TDataSetManager.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -pthread -D__cplusplus -- /home/spataro/may11/tools/root/proof/proof/src/TDataSetManager.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -pthread -o proof/proof/src/TDataSetManager.o -c /home/spataro/may11/tools/root/proof/proof/src/TDataSetManager.cxx
/home/spataro/may11/tools/root/proof/proof/src/TDataSetManager.cxx: In member function ‘virtual void TDataSetManager::MonitorUsedSpace(TVirtualMonitoringWriter*)’:
/home/spataro/may11/tools/root/proof/proof/src/TDataSetManager.cxx:708:1: internal compiler error: in redirect_jump, at jump.c:1443
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [proof/proof/src/TDataSetManager.o] Errore 1
**** Checking libraries in /home/spataro/may11/tools/root/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***
spataro@briareos:~/may11$ 


This time I have no clue. Has somebody already tried to compile with gcc 4.5.2?
Re: May11 with ubuntu 11.04 [message #11825 is a reply to message #11808] Thu, 19 May 2011 15:58 Go to previous messageGo to next message
Tobias Weber is currently offline  Tobias Weber
Messages: 9
Registered: November 2010
occasional visitor
From: *kph.uni-mainz.de
Hi Stefano,

Try compiling root 5.28d. There should be a fix included to solve the problem.

[Updated on: Thu, 19 May 2011 16:01]

Report message to a moderator

Re: May11 with ubuntu 11.04 [message #11826 is a reply to message #11825] Thu, 19 May 2011 16:37 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 have tried to compile linking the external packages with root v5-28-00d, and it works.
Probably it is the case to upgrade the link in the main may11 repository. I do NOT think it is the case to reinstall it on the GRID nodes.

[Updated on: Thu, 19 May 2011 17:02]

Report message to a moderator

Re: May11 with ubuntu 11.04 [message #11835 is a reply to message #11808] Fri, 20 May 2011 10:53 Go to previous message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Hi Stefano,

I didn't have these problems compiling original may11 with gcc-4.5.x compilers.

I have faced the same issues before, when tried to compile external packages on mixed mode machines, older semi 64bit. It still happens when installing on virtualized systems (for example xen and 32 on 64 or 64 on 32 bits).
I think the problem comes from the fact that the script tries to find the system type using the kernel information ( uname -m and -s). In this case the output does not correspond with the arch of the installed libs. I solved these things locally just by editting check_system.sh (commenting out exit commands or hard-coding the arch and chip vars) and everything works fine.

Now, I am using root-5.28/00c with may11, changed to this because of problems I had with root-5.29/02.

Kind wishes,
M.

[Updated on: Fri, 20 May 2011 10:55]

Report message to a moderator

Previous Topic: problems with compiling pandaroot under mac
Next Topic: Reconstruction macro crash
Goto Forum:
  


Current Time: Wed Nov 27 21:23:06 CET 2024

Total time taken to generate the page: 0.00775 seconds