Ticket #163 (closed defect: fixed)
Make failure on 4.2rc4 (Mac OS X)
| Reported by: | Ray Osborn | Owned by: | Freddie Akeroyd |
|---|---|---|---|
| Priority: | major | Milestone: | NeXus 4.2 Release |
| Component: | napi | Version: | 4.2rc4 |
| Keywords: | Cc: |
Description
I'm attempting to do a compilation from source on Mac OS X 10.5.6 but the Make stage fails to find the SZIP library.
Building NeXus with: HDF4 4.2.4 installed in /usr/local, HDF5 1.6.4 in /sw, with SZ 2.1 in /usr/local (and /sw), I get
libtool: link: warning: library `/usr/local/liblibmfhdf.la' was moved. grep: /Users/epourmal/Working/lib/SZIP/lib/libsz.la: No such file or directory sed: /Users/epourmal/Working/lib/SZIP/lib/libsz.la: No such file or directory libtool: link: `/Users/epourmal/Working/lib/SZIP/lib/libsz.la' is not a valid libtool archive
I'm enclosing piped text from the configure and make commands (though I didn't pipe the above error message).
Attachments
Change History
Changed 3 years ago by Ray Osborn
-
attachment
configure.tar
added
comment:1 Changed 3 years ago by Mark Koennecke
Ray,
nice to hear from you again. Can you run: find /usr/local -name "libsz*" ? I want to figure out if the sz library is at all installed on your system. Because, sz needs to be installed separatly and is required for hdf4. If that library is missing, does an install of libsz fix the problem?
Mark
comment:2 Changed 3 years ago by Ray Osborn
The libraries are installed - here's the output from the find command:
/usr/local/lib/libsz.2.0.0.dylib /usr/local/lib/libsz.2.dylib /usr/local/lib/libsz.a /usr/local/lib/libsz.a~ /usr/local/lib/libsz.dylib /usr/local/lib/libsz.la /usr/local/lib/libsz.la~
The files with ~ added are ones that I had installed earlier from binaries supplied by HDF (of course now renamed), but I then reinstalled SZ from source because I was suspicious of the reference to "/Users/epourmal/Working/lib/SZIP/lib" in the libtool error. This is presumably some hangover from Elena's build of the library at UIUC, but I don't know where the reference is embedded.
comment:3 Changed 3 years ago by Stuart Campbell
- Summary changed from Make failure on 4.2rc4 to Make failure on 4.2rc4 (Mac OS X)
comment:5 Changed 3 years ago by Freddie Akeroyd
- Owner changed from Unassigned to Freddie Akeroyd
Ray, if you download
http://download.nexusformat.org/kits/nexus-trunk-i686-apple-darwin9.6.0.tar.gz
and untar it from the root directory, it should create
/usr/local/{bin,lib,include} directories with nexus libraries /Library/Python/2.5/site-packages/nxs directory with the nexus python interface
The nexus libraries are statically linked with hdf4, hdf5 and mxml – there should be no need for you to have hdf4, hdf5 or mxml installed on your computer for everything to operate
If that seems to work OK, I'll set about putting it into a proper MAC installer and doing a PowerPC version too
Regards,
Freddie

Tar file containing output from configure and make commands.