make install fails on 3.3 branch in libffi

Christian Cornelssen ccorn@cs.tu-berlin.de
Tue Jan 28 21:24:00 GMT 2003


Hi,

On Tue, 28 Jan 2003, Andreas Jaeger wrote:

> On x86-64 I just got this failure during make install:
>
> make[5]: Entering directory `/usr/src/aj/build/gcc/mainline/x86_64-unknown-linux-gnu/32/libffi'
> /bin/sh /cvs/gcc-3_3-branch/libffi//cvs/gcc-3_3-branch/libffi/../mkinstalldirs /opt/gcc/3.3-devel/lib/../lib
> /cvs/gcc-3_3-branch/libffi//cvs/gcc-3_3-branch/libffi/../mkinstalldirs: /cvs/gcc-3_3-branch/libffi//cvs/gcc-3_3-branch/libffi/../mkinstalldirs: No such file or directory
> make[5]: *** [install-toolexeclibLTLIBRARIES] Error 127
>
> The path to mkinstalldirs is completly broken,

`libffi/Makefile.in' is generated from `libffi/Makefile.am' where
mkinstalldirs isn't defined, hence we get Automake's definition.

My guess is that Automake has not been invoked correctly.
There is a difference between "cd libffi && automake Makefile" and
"automake libffi/Makefile".  The second would normally be correct,
but in GCC things may be more difficult.  (I haven't tried that yet.)

Regards,

Christian Cornelssen



More information about the Gcc-bugs mailing list