Message: Build scripts bugs (9.2.0.p01) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Build scripts bugs (9.2.0.p01) 

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

There is a bug in the Configure script that generate a wrong config.sh script.

1) If you select build with Qt and choose /usr/lib64/qt4 as QTDIR, the moc program is /usr/bin/moc (a 3.3 version) instead of $QTDIR/bin/moc (/usr/lib64/qt4/bin/moc)

2) There is no way to select a paralell build (make -j12). I need to edit the /config/...../config.sh file

3) 64bit is not handeled correctly. libdir name is hardcoded to lib instead of lib64 on 64bits systems. This prevents to install geant4 as a system wide application (typicaly from a rpm package).

4) Configure script fails to recreate a config from a config.sh file. In fact, many variables are missed, resulting in a bad config. ./Configure -der -f config.sh -E If you do a diff between this config.sh and .config/bin/Linux-g++/config.sh you'kll see that many variable are using default values instead of values from config.sh

5) install.sh and move.sh have missleading names. install.sh should be renamed build.sh move.sh should be renamed install.sh

6) if copy all includes in one directory is selected, then the make include in not triggered by default.

7) No way to set XERCESCROOT from Configure script.

8) No way to install geant4 as a system wide app like: /usr/bin (for binaries) /usr/lib64/geant4 (for libraries) /usr/include/geant4 (for includes) /usr/share/geant4/config (for config) /usr/share/geant4/data (for data) Instead (enventhough I said that I want to build only for one architecture), I'm force to have my libs and binaries in a sub directory named Linux-g++ which is more than ugly when you install a system wide application.

Please concider using autotools or cmake as build system as the current one is buggy and difficult to maintain (IMHO).

Cheers,

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

1 Note: Re: Build scripts bugs (9.2.0.p01)   (Ben Morgan - Aug 17, 06:11)
 Add Message Add Message
to: "Build scripts bugs (9.2.0.p01)"

 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 ]