[NeXus-tech] Intel Mac installer

Paul Kienzle paul.kienzle at nist.gov
Fri Apr 17 19:30:00 BST 2009


On Apr 17, 2009, at 12:32 PM, Akeroyd, FA (Freddie) wrote:

> Paul,
>
>
>
> No, I didn’t compile for earlier releases – will I need to do that  
> for the HDF libraries too, or will I get away with it as they are  
> statically linked into libNeXus? I’ll try out the cross development  
> tools as you suggest.
>
The SDK you use determines which version of libc, etc. gets linked.   
10.3 and 10.4 do not have the 10.5 libs available.

I imagine that libhdf5.a references to system calls, libjpeg, libz  
and whatever else will be delayed until the final link step, but we  
will have to try it to be sure.  It is a bit risky --- the header  
files might change between 10.3 and 10.5 so that e.g., fopen refers  
to _old_open_hack in 10.3, but to _new_open_hack in 10.5, but tests  
should resolve this.

I wonder if we should put tests into the postflight script?
>  Where should the NeXus python be installed to on 10.4?
>

On 10.4, the default 2.5 distribution from python.org puts the site- 
packages directory at:

   /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ 
site-packages

You can still put the install at /Library/Python/2.5/site-packages,  
and we can create a postflight script like:

   SITEPKG=/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages
   test -d $SITEPKG && echo /Library/Python/2.5/site-packages >  
$SITEPKG/nxs.pth

So long as we document what we are doing in ReadMe.txt then we will  
be fine.

>  I just used the GUI PackageMaker and default disk image creator to  
> build the kit. Thank you for the note regarding permissions – I  
> forgot to set them specifically to root in the installer gui.
>
I will continue work on the script install builder then so that it  
will be a simple ssh command to build the mac distribution.

   - Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nexusformat.org/mailman/private/nexus-tech/attachments/20090417/9a3ae6f9/attachment.html 


More information about the NeXus-tech mailing list