From: Bill P. <pa...@ki...> - 2011-11-01 19:16:22
|
Jonathan pointed out this problem with the mesasdk --- it will be fixed in a future release, but until then you should be aware of the fix. [thanks Jonathan!] -B Begin forwarded message: > From: Jonathan Stott SJ <jst...@gm...> > Date: October 31, 2011 8:19:37 AM PDT > To: Bill Paxton <pa...@ki...> > Subject: Re: [mesa-news] mesa release 3708 > > Hi Bill, > > Ran into one little problem installing. The last line of mesasdk_init.csh [for mac] reads > > > setenv DYLD_LIBRARY_PATH ${MESASDK_ROOT}/lib:${DYLD_LIBRARY_PATH} > > which will fail if DYLD_LIBRARY_PATH isn't defined (and, on a stock mac, it won't be). I fixed my copy by changing it to > > if (${?DYLD_LIBRARY_PATH} == 0) then > # DYLD_LIBRARY_PATH is not defined > setenv DYLD_LIBRARY_PATH ${MESASDK_ROOT}/lib > else > setenv DYLD_LIBRARY_PATH ${MESASDK_ROOT}/lib:${DYLD_LIBRARY_PATH} > endif > > For a distribution copy, there should probably also be double-quotes around all the setenv's too, just in case something in the path has an embedded space. > > The build is now in progress, so that seems to have fixed the problem... > > Jonathan |