make install issue on hpux ia64 platform with libffi 3.0.11

Bill Smith bsmith@progress.com
Thu Sep 13 20:30:00 GMT 2012


I'm trying to build libffi on HPUX 11.31 IA64 platform.  The build goes fine but I get some errors when I try to do "make install".  Attached is my config.log.

The errors are:

test -z "/tools/hpuxia64/libffi-3.0.11/lib/libffi-3.0.11/include" || ../../install-sh -c -d "/tools/hpuxia64/libffi-3.0.11/lib/libffi-3.0.11/include"
 ../install-sh -c -m 644 ffi.h ffitarget.h '/tools/hpuxia64/libffi-3.0.11/lib/libffi-3.0.11/include'
/bin/sh: ../install-sh:  not found.
gmake[2]: *** [install-nodist_includesHEADERS] Error 127


test -z "/tools/hpuxia64/libffi-3.0.11/share/man/man3" || ../../install-sh -c -d "/tools/hpuxia64/libffi-3.0.11/share/man/man3"
 ../install-sh -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/tools/hpuxia64/libffi-3.0.11/share/man/man3'
/bin/sh: ../install-sh:  not found.

I was able to get past the errors by running install-sh by hand as follow:

# add ./include/ in front of ffi.h & ffitarget.h ../install-sh -c -m 644 ./include/ffi.h ./include/ffitarget.h '/tools/hpuxia64/libffi-3.0.11/lib/libffi-3.0.11/include'

# remove extra ../ in front of ffi.3, ffi_call.3, ffi_prep_cif.3, ffi_prep_cif_var.3 ../install-sh -c -m 644 ../man/ffi.3 ../man/ffi_call.3 ../man/ffi_prep_cif.3 ../man/ffi_prep_cif_var.3 '/tools/hpuxia64/libffi-3.0.11/share/man/man3'


I was able to build and install on Linux x86 without any issues.  It seems that Linux uses /usr/bin/install instead of ../install-sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 44743 bytes
Desc: config.log
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20120913/fd9d46f8/attachment.obj>


More information about the Libffi-discuss mailing list