[Nexus] Mac OSX 64 Bit NeXus Libraries
Paul Kienzle
paul.kienzle at nist.gov
Mon Jul 6 17:39:45 BST 2009
Mac does not have a standard for removing installed packages.
There are some 3rd party tools which can do this such as OSXPM
http://www.osxgnu.org/software/pkgdetail.html?
project_id=244&cat_id=212
This goes through the package receipts, which for NeXus are stored in
/Library/Receipts/NeXus.pkg/Contents/
If the postflight script does anything major, though, then all bets
are off.
I think the easiest would be to drop an nxuninstall script in /usr/
local/bin/.
- Paul
On Jul 1, 2009, at 6:39 AM, Akeroyd, FA (Freddie) wrote:
> Stefan,
>
> Yes, an uninstaller would be a good addition - I don't seem to get a
> default "remove all files" one when I make the package so I guess I
> need
> to create a separate script for that? The NeXus package is not build
> using "PackageMaker", but I couldn't see any specific mention of
> uninstall support in the documentation for that - is there a general
> scheme to use?
>
> I've recently compiled NeXus on Windows Vista 64, but the files are
> not
> yet part of a distribution kit. On a Win64 system you could have need
> for both 32 and 64 bit nexus libraries so I just need to
> investigate the
> best way to do the install.
>
> Regards,
>
> Freddie
>
>> -----Original Message-----
>> From: Stefan Flemming [mailto:stefan at flemming.info]
>> Sent: 30 June 2009 22:57
>> To: Akeroyd, FA (Freddie)
>> Subject: Re: [Nexus] Mac OSX 64 Bit NeXus Libraries
>>
>> Hello again,
>>
>> good news. I was able to verify the new OSX libs as compatible with
>> Java 1.6, 64 bit on Mac OSX Leopard 1.5.7.
>>
>> One small comment about the file structure, if you provide a working
>> uninstaller, you could copy the native libraries to
>> /Library/Java/Extensions and would make them usable out-of-the-box
>> without the requirment to set the path manually.
>> This path is already part of the default path.
>>
>> Thank you for your very fast solution.
>>
>> By the way, I have now seen 64 bit packages for Linux and OSX. Is
>> there also a Windows 64 version?
>> I would like to create Open Inspire packages for all common system
>> environments and this is the last remaining system.
>>
>>
>> Regards, Stefan
>>
>>
>> Am 30.06.2009 um 19:18 schrieb Akeroyd, FA (Freddie):
>>
>>> Stefan,
>>>
>>> The new NeXus OSX package was not really a "new version" - it was
>>> just a
>>> rebuild of the previous kit to add java; thus I should not actually
>>> have
>>> incremented the patch number. As far as I know macosx ignores the
>>> patch
>>> number anyway, so I have reverted back to "4.2.0" and will call the
>>> files "4.2.0-n" in future to signify any rebuilds.
>>>
>>> I have now managed to generate a combined 32bit / 64bit universal
>>> binary
>>> and put it at
>>> http://download.nexusformat.org/kits/macosx/NeXus-4.2.0-2.dmg
>>> Previously I had issues with getting HDF to build this way as HDF
>>> makes
>>> decisions about type sizes etc. at the ./configure script stage and
>>> hence you could be using incorrect answers for some of your
>>> 32bit/64bit/intel/ppc cross compiles. I believe I have sorted out
>>> these
>>> issues, but I do not have a 64bit OSX system to test this and so
>> would
>>> be grateful for any feedback.
>>>
>>> Regards,
>>>
>>> Freddie Akeroyd
>>>
>>>
>>>> -----Original Message-----
>>>> From: nexus-bounces at nexusformat.org [mailto:nexus-
>>>> bounces at nexusformat.org] On Behalf Of Stefan Flemming
>>>> Sent: 30 June 2009 11:26
>>>> To: nexus at nexusformat.org
>>>> Subject: [Nexus] Mac OSX 64 Bit NeXus Libraries
>>>>
>>>> Hello,
>>>>
>>>> I realized that a new OSX Package is ready to download.
>>>> Apart from the fact that the version String was not updated in the
>>>> text file, shown by the installer I have a second issue.
>>>>
>>>> Apple stopped to publish Java Virtual Machines for 32 bit in the
> end
>>>> of 2008.
>>>> So all operating systems that are shipped with new hardware have a
>>>> preinstalled Java 6 VM with 64 bit only.
>>>>
>>>> While Sun publishes the VM for all other operating systems with 32
>>>> and
>>>> 64 bit support, they are not responsible for the VM on OSX.
>>>>
>>>> My problem is now, that a 64 bit Java VM is definitely not able to
>>>> load 32 bit libraries. I was able to test this on Windows, Linux
> and
>>>> Mac OS
>>>> and have response by the Java Community.
>>>>
>>>> The latest Nexus package seems to be shipped with 32 bit binaries
>> and
>>>> so, they are not usable with 64 bit systems.
>>>>
>>>> So my appeal, could you please ship your NeXus Library additionally
>>>> with 64 Bit libraries to make them usable on all my 64 bit systems?
>>>>
>>>> Regards,
>>>>
>>>> Stefan Flemming
>>>>
>>>> _______________________________________________
>>>> NeXus mailing list
>>>> NeXus at nexusformat.org
>>>> http://lists.nexusformat.org/mailman/listinfo/nexus
>>> --
>>> Scanned by iCritical.
>>>
>>> _______________________________________________
>>> NeXus mailing list
>>> NeXus at nexusformat.org
>>> http://lists.nexusformat.org/mailman/listinfo/nexus
>>>
>
> --
> Scanned by iCritical.
>
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
More information about the NeXus
mailing list