Problem 1260

Summary: Configure Script with Qt visualization Ubuntu 11.10
Product: Geant4 Reporter: Antoine Lemasson <lemasson>
Component: configAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED WONTFIX    
Severity: normal CC: lemasson
Priority: P5    
Version: 9.4   
Hardware: PC   
OS: Linux   

Description Antoine Lemasson 2011-10-31 20:01:11 CET
There is a small Bug in the configure script of Geant4.9.4p02 in Ubuntu 11.10 32bit, and Qt4 install using Ubuntu package manager

The configure script is no able to locate the libQtCore.so .

The Qt source location is in /usr/include/qt4, however, the library are situated in the common directory /usr/lib/i386-linux-gnu/libQtCore.so . 

In general in Ubuntu (at least previous version) the Qt libraries were stored in the  /sur/lib if they are installed through package manager.

I do not know what is your policy in the configure script regarding specific distributions, so i do not provide a patched configure script. 
However, everything work fine with the variable set as follows 
g4_qt_lib_dir='/usr/lib/i386-linux-gnu/'

If these problems become more frequent, may be the script can check in case of failure if environment variables $QT_INC_DIR and $QT_LIBS_DIR are set and use them. This may be a work around where user directly supplies the correct paths.


Cheers, 

Antoine LEMASSON
Comment 1 Ben Morgan 2011-11-02 16:22:57 CET
Moving to config component as the report is not about the CMake buildsystem
Comment 2 Ben Morgan 2011-11-02 16:27:35 CET
I'm tentatively marking this as WONTFIX because Configure will not be in release beyond 9.4 and *to my knowledge* there will not be further patches to 9.4 itself.

However, if you could submit the patch here, it's at least available should other users need it, and we can look at adding it should a further 9.4 patch come along.

Cheers,

Ben.