[mesa-users] Fwd: [mesa-news] mesa release 3708

Bill Paxton paxton at kitp.ucsb.edu
Tue Nov 1 15:16:14 EDT 2011


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 <jstottsj at gmail.com>
> Date: October 31, 2011 8:19:37 AM PDT
> To: Bill Paxton <paxton at kitp.ucsb.edu>
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20111101/8c511e3d/attachment.html>


More information about the Mesa-users mailing list