Message: Re: Installation problems on certain 64bit Linux systems (Qt) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Installation problems on certain 64bit Linux systems (Qt) 

Forum: Installation and Configuration
Re: None Installation problems on certain 64bit Linux systems (Qt) (Jan Pipek)
Date: 18 Jan, 2011
From: Ben Morgan <Ben Morgan>

On Mon, 17 Jan 2011 23:06:22 GMT, Jan Pipek wrote:
> Certain Linux systems (like Arch Linux I use on my laptop) place their
> libraries in /usr/lib although they are 64bit. The automatic detection
> in Configure (lines 2532-2539) then wrongly (or correctly - depends on
> the angle of view :-)) decides about the expected Qt4 libraries location
> based on uname. The libraries are not found and the compilation fails.
> 
>             case "`uname -m`" in
>                 i*86)
>                     g4_qt_lib_dir=\$g4_qt_dir/lib
>                     ;;
>                 *)
>                     g4_qt_lib_dir=\$g4_qt_dir/lib64
>                     ;;
>             esac
> 
> Perhaps the system could be improved if we included both lib and lib64
> directories and searched in them instead of guessing the correct one?

Which Geant4 version are you using? I only ask because there's a test around that section on the existence of a lib64 directory - and at least my reading of that section (I did write it a over a year ago ;-))suggests that g4_qt_lib_dir would get set to /usr/lib on a pure 64bit system respecting the FHS (i.e. no lib64). If you are using the latest version of Geant4, do you actually have a /usr/lib64 directory and if so is it a symlink to /usr/lib (ala Debian)?

Cheers,

Ben.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Installation problems on certain 64bit Linux systems (Qt)   (Jan Pipek - 19 Jan, 2011)
(_ None: Re: Installation problems on certain 64bit Linux systems (Qt)   (Ben Morgan - 19 Jan, 2011)
 Add Message Add Message
to: "Re: Installation problems on certain 64bit Linux systems (Qt)"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]