|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
09 Jul 2004, Stefan Ritt, , Introduction of environment variable MIDASSYS
|
09 Jul 2004, Piotr Zolnierczuk, , Introduction of environment variable MIDASSYS
|
09 Jul 2004, Stefan Ritt, , Introduction of environment variable MIDASSYS
|
09 Jul 2004, Piotr Zolnierczuk, , Introduction of environment variable MIDASSYS
|
09 Jul 2004, John M O'Donnell, , Introduction of environment variable MIDASSYS
|
12 Jul 2004, Stefan Ritt, , Introduction of environment variable MIDASSYS
|
20 Jul 2004, Konstantin Olchanski, , Introduction of environment variable MIDASSYS
|
21 Jul 2004, Stefan Ritt, , Introduction of environment variable MIDASSYS
|
|
Message ID: 18
Entry time: 09 Jul 2004
In reply to: 16
Reply to this: 19
28
|
Author: |
Piotr Zolnierczuk |
Topic: |
|
Subject: |
Introduction of environment variable MIDASSYS |
|
|
> Starting from midas version 1.9.4 on, the environment variable 'MIDASSYS'
> should be defined and point to the installation directory of midas. The
> purpose of that is that add-on packages (like the upcoming ROME system) can
> find the midas libraries and include files. It is excatly the same as for
> ROOT which defines ROOTSYS and should therefore be straight forward. The
> libraries should then reside in $MIDASSYS/lib (or %MIDASSYS%\lib under windows).
>
> To remind users about this new variable, a test has been added to odbedit,
> which shows a warning when starting odbedit and MIDASSYS is not defined.
1. Finally! It's about time to do that!
2. What will the entire structure tree look like?
Here's my suggestion
MIDASSYS=/opt/midas-1.9.4 (for example)
so the Linux binaries would go to
MIDASHOST=i386-pc-linux-gnu
$MIDASSYS/$MIDASHOST/bin
$MIDASSYS/$MIDASHOST/lib
the VxWorks binaries
MIDASHOST=m68k-wrs-vxworks
$MIDASSYS/$MIDASHOST/bin
$MIDASSYS/$MIDASHOST/lib
and the shared stuff would go to
$MIDASSYS/include
$MIDASSYS/share/drivers
$MIDASSYS/share/examples
The Makefile would need to be adjusted (for make install) but that is not
too complicated
What do you think?
Regards
Piotr |