| Message: Re: OpenScientist installation problems - SOLVED | Not Logged In (login) |
|
Here I'm summarizing my off-line exchange with Guy Barrand.
To make sure the system is aware of the changes one makes in "package".obuild file, one needs to execute obuild on that file. For example, the initial problem concerned CLHEP.obuild (and later Geant4.obuild) file, which enters G4Lab group. Then, after editing corresponding *.obuild files (CLHEP.obuild and Geant4.obuild) do:
cd ../../../G4Lab/<version>/obuild
../../../obuild/<version>/bin_obuild/obuild
sh/build -v -group Geant4 where -v is a useful "verbose" option that will allow you to see that your changes were indeed implemented. After the group is built, you can do the general build:
cd ../../../osc_vis/<version>/obuild (to return back to osc_vis)
../../../obuild/<version>/bin_obuild/obuild
sh/build_release The last command will create a zip file containing ready to install (osc_vis) kit. It's in osc_vis/<version>/bin_obuild Move it to the place of your liking, unzip and then
cd <your path>/osc_vis/<version>
./install
Your distribution should be ready to go. To start it, you need to source the setup file (need to either put it in your profile or rc file or source it for every shell where you want to use the kit):
. <your path>/osc_vis/<version>/setup.sh (for bash shells)
After which you can run any of the programs: osc-plot, osc-g4-vis, etc
|
|
to: |