So, should help.sh check to see if COMPILE_EXAMPLES is not set, and then print out something more intelligent? Because, by default, it is not set, and help.sh prints out some rather nonsensical things in that case. -Paul
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Osfield > Sent: Friday, December 22, 2006 1:03 PM > To: osg users > Subject: Re: [osg-users] Linux build questions > > Hi Paul, > > The OpenSceneGraph/Make/dependencies file holds all the > default settings that you can override on the make command > line or via env vars, or via you own custom dependencies > file, I use the later, pointing to it with the env var > OSG_DEPENDENCIES. > > In summary: > > make COMPILE_EXAMPLES=yes > > Or > > export COMPILE_EXAMPLES=yes > make > > Or > > > cp OpenSceneGraph/Make/dependencies my_path/my_dependencies > edit my_path/my_depdencies > export OSG_DEPENDENCIES=my_path/my_dependencies; > > make > > Do forgot you have a .bashrc file which you place you default > env vars in too. > > Robert. > > > > On 12/22/06, Paul Martz <[EMAIL PROTECTED]> wrote: > > > > > > I've just successfully built OSG on my Ubuntu Linux box, and I just > > have a few questions and issues to see whether what I > experienced was > > normal or not. > > > > First, a simple 'make' did not build the examples. I had to > 'cd examples' > > and then 'make'. > > > > Second, INST_EXAMPLES does not appear to be defined by > default. As a > > result, if I do a 'make help', this displays some erroneous > paths when > > talking about where the examples get installed. Apparently, make.sh > > takes the paths as command line arguments, and if > INST_EXAMPLES isn't > > defined, that argument is missing, and the help text displays the > > value of INST_DOC for the examples path, so that's a little odd. > > > > Consequently, 'make instlinks' doesn't install the > examples, I have to > > 'make INST_EXAMPLES=<some_path> instlinks' instead. > > > > Is this normal and expected behavior? Can we improve upon it? > > > > Paul Martz > > Skew Matrix Software LLC > > http://www.skew-matrix.com > > 303 859 9466 > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
