Ticket #163 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

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

configure.tar Download (30.0 KB) - added by Ray Osborn 3 years ago.
Tar file containing output from configure and make commands.

Change History

Changed 3 years ago by Ray Osborn

Tar file containing output from configure and make commands.

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:4 Changed 3 years ago by Freddie Akeroyd

(In [1239]) Fixes for static library build on mac.

Refs #163.

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

comment:6 Changed 16 months ago by Mark Koennecke

  • Status changed from new to closed
  • Resolution set to fixed

I failed to reproduce this problem on my Mac OS X machine. I think it is a problem of Rays setup.

Note: See TracTickets for help on using tickets.