Message: geant4 build tools suggestions. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None geant4 build tools suggestions. 

Forum: Installation and Configuration
Date: Aug 20, 02:20
From: Olivier LAHAYE <Olivier LAHAYE>

Hi,

I've been working on an rpm package for my company recently and ran into many problems that are now fixed.

Though, as a feedback (linux based), I think that many of these troubles could have been avoided if the build system had used some "standard" tools instead of own build script that assues tha libs are in lib directory even on 64bits system (which is often false).

(This remark is not only for geant4 and could apply to aida , root, gate and such.

I mean, for example, the link options (cflags and ld flags):

Couldn't pkg-config tool be used to guess cflags and ldflags for some libraries
instead  of own scripts + aida-config + ....?

I mean, instead of hard coded values is config.sh, why not use the following: ?

g4_qt_cxxflags=$(pkg-config --cflags QtCore QtGui)
g4_qt_gl_libs=$(pkg-config --libs QtOpenGL)
g4_qt_libs=$(pkg-config --libs QtCore QtGui)
g4_qt_version=$(pkg-config --modversion QtCore)
g4_qt_moc=$(pkg-config --variable=prefix QtCore)/bin/moc

same for xaw7, ...

BTW, it would be cool to have aida-config and root-config replaced by pkg-config configurations (aida.pc and root.pc).

-- 
 Olivier LAHAYE
 CEA Saclay
 DRT-LIST-DETECS-SSTM

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

1 None: Re: geant4 build tools suggestions.   (Ben Morgan - Aug 20, 05:12)
 Add Message Add Message
to: "geant4 build tools suggestions."

 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 ]