This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

make install issue on hpux ia64 platform with libffi 3.0.11


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

Attachment: config.log
Description: config.log


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]