With the emails flying around, I'm not sure if Henk's install problem was solved.
In case it wasn't, the basic problem is that MacOSX doesn't actually use the GNU compiler infrastructure. As such, it doesn't support linker scripts, and that's why the ranlib on liborange.a didn't work. The way to do something similar is to use libtool which on MacOSX is called glibtool. Normally, you can use libtool to create a static library from the object files, but it doesn't work as expected on MacOSX. One way to get around it is to create a static library using libpvfs2.a. There may be better ways to do this, but for now I've patched Makefile.in (attached) to get this to work. John.
Makefile.in.patch
Description: Binary data
On Aug 1, 2012, at 7:25 AM, Henk D. Schoneveld wrote: > Hi all, > > Something seems to depend on the time of the day or the phase of the moon, > what worked yesterday doesn't work anymore. > Rebuilding works, but installing gives: > > sudo make install > Password: > install -d /usr/local/share/man/man1 > install -d /usr/local/share/man/man5 > rm -f /usr/local/share/man/man1/*.gz > rm -f /usr/local/share/man/man5/*.gz > install -m 644 ./doc/man/*.1 /usr/local/share/man/man1 > install -m 644 ./doc/man/*.5 /usr/local/share/man/man5 > gzip -f /usr/local/share/man/man1/*.1 > gzip -f /usr/local/share/man/man5/*.5 > install -d /usr/local/include > install -m 644 /Network/spvfs/sources/orangefs-2.8.6-OSX/include/pvfs2.h > /usr/local/include > install -m 644 ./include/orange.h /usr/local/include > install -m 644 ./include/pvfs2-request.h /usr/local/include > install -m 644 ./include/pvfs2-debug.h /usr/local/include > install -m 644 ./include/pvfs2-sysint.h /usr/local/include > install -m 644 ./include/pvfs2-usrint.h /usr/local/include > install -m 644 ./include/pvfs2-mgmt.h /usr/local/include > install -m 644 ./include/pvfs2-types.h /usr/local/include > install -m 644 ./include/pvfs2-util.h /usr/local/include > install -m 644 ./include/pvfs2-encode-stubs.h /usr/local/include > install -m 644 ./include/pvfs2-hint.h /usr/local/include > install -m 644 ./include/pvfs2-compat.h /usr/local/include > install -m 644 ./include/pvfs2-mirror.h /usr/local/include > install -d /usr/local/lib > for i in libpvfs2.a liborange.a ; do \ > install -m 755 lib/$i /usr/local/lib ;\ > done > ranlib /usr/local/lib/libpvfs2.a /usr/local/lib/liborange.a > ranlib: file: /usr/local/lib/libpvfs2.a(xattr-utils.o) has no symbols > ranlib: file: /usr/local/lib/liborange.a is not an archive > make: *** [install] Error 1 > > Another for me unexplainable situation occurs when adding --prefix=/usr to > the configure statement, building works, but install fails at a different > point. > > sudo make installinstall -d /usr/share/man/man1 > install -d /usr/share/man/man5 > rm -f /usr/share/man/man1/*.gz > rm -f /usr/share/man/man5/*.gz > install -m 644 ./doc/man/*.1 /usr/share/man/man1 > install -m 644 ./doc/man/*.5 /usr/share/man/man5 > gzip -f /usr/share/man/man1/*.1 > gzip: /usr/share/man/man1/bzip2recover.1: No such file or directory > gzip: /usr/share/man/man1/c++.1: No such file or directory > gzip: /usr/share/man/man1/cpp.1: No such file or directory > gzip: /usr/share/man/man1/g++.1: No such file or directory > gzip: /usr/share/man/man1/gcc.1: No such file or directory > gzip: /usr/share/man/man1/gcov.1: No such file or directory > gzip: /usr/share/man/man1/tar.1: No such file or directory > make: *** [install_doc] Error 1 > > > I'm speechless. > > Henk Schoneveld >
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
