hi Michael

> Currently OSCAR uses "modules" to set up environment stuff for users
> automagically.  If I wanted to add a new module, where do I put it?  I
> just want to add a directory to the path at the moment, but I might
> need to do additional things as well, so I thought I would use the big
> hammer from the start, just for fun.
We used the modules distributed with oscar 4.2 to "modulise" a bunch
of applications we have which are entirely external to OSCAR. I did it
this way :
1)  make a directory under /opt/modules called "modulefiles
2) make a directory for each package you want modules to know about
3) write a module file for each version of the package in the subdirectory

There is a step missing - I can't remember where the path to
modulefiles was set, but I seem to remember that I found out at the
modules documentation page at sourceforge...

Hope that helps,
Ciao,
Bruce

-- 
Bruce Becker
I.N.F.N. Sezione di Cagliari
Cittadella Universitaria
09042 Monserrato (CA) , ITALIA
+39 070 675 4982 (w) | +39 347 317 9367 (m)
AIM/GTalk/Skype/MSN/Jabber : brucellino

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to