Re: [osg-users] envvars in OSG 2.x

2007-07-12 Thread Luigi Calori
Robert Osfield wrote: On 7/12/07, John Kelso <[EMAIL PROTECTED]> wrote: Hi back, I'm looking for an envvar or command that a package which uses OSG can use to determine where OSG is installed, so the package can find OSG's library, include files, and so forth. OSG_INST_LOCATION would do th

RE: [osg-users] envvars in OSG 2.x

2007-07-12 Thread Mike Weiblen
g.com/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of John Kelso > Sent: Thursday, July 12, 2007 8:11 AM > To: osg users > Cc: Steve Satterfield; Patrick Shinpaugh > Subject: Re: [osg-users] envvars in OSG 2.x > >

Re: [osg-users] envvars in OSG 2.x

2007-07-12 Thread John Kelso
osg-config would be a good solution too. Thanks again, -John On Thu, 12 Jul 2007, Robert Osfield wrote: > On 7/12/07, John Kelso <[EMAIL PROTECTED]> wrote: > > Hi back, > > > > I'm looking for an envvar or command that a package which uses OSG can use > > to determine where OSG is installed, so

Re: [osg-users] envvars in OSG 2.x

2007-07-12 Thread Robert Osfield
On 7/12/07, John Kelso <[EMAIL PROTECTED]> wrote: Hi back, I'm looking for an envvar or command that a package which uses OSG can use to determine where OSG is installed, so the package can find OSG's library, include files, and so forth. OSG_INST_LOCATION would do the trick. Can you let us k

Re: [osg-users] envvars in OSG 2.x

2007-07-12 Thread John Kelso
Hi back, I'm looking for an envvar or command that a package which uses OSG can use to determine where OSG is installed, so the package can find OSG's library, include files, and so forth. OSG_INST_LOCATION would do the trick. Can you let us know if this ever gets added? Thanks, -John On Thu

Re: [osg-users] envvars in OSG 2.x

2007-07-12 Thread Robert Osfield
Hi John, You can configure when the build system installs things via ccmake or a cmake command line option. CMAKE_INSTALL_PREFIX is probably the one you are looking for. We could possible add the checking of the OSG_INST_LOCATION in the root CMakeLists.txt to provide backward compatibility. Ro

[osg-users] envvars in OSG 2.x

2007-07-12 Thread John Kelso
Hi, For the usual reasons, we can't install OSG in the default location. We set the OSG_INST_LOCATION envvar to specify where it's installed. We use other OSG-related envvars too: OPENTHREADS_INC_DIR, OPENTHREADS_LIB_DIR, OSG_FILE_PATH. What envvars can we use in OSG 2.x to let our software's