[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [issues] configure error: cannot find install-sh or install.sh



Maxim Kuvyrkov a écrit :
Gaye Abdoulaye walsimou wrote:
Hello list,
Somebody can tell me where is my mistake when I try:

[walsimou@wnotebook001 build-glibc-headers]$ BUILD_CC=gcc CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar RANLIB=mipsel-linux-ranlib ../libc/configure --prefix="/usr" --host=$TARGET --with-headers=$TARGET_PREFIX --disable-profile --without-gd --without-cvs --enable-add-ons --with-glibc=../libc


which gives this error:

configure: error: cannot find install-sh or install.sh in ../libc ../libc/.. ../libc/../..

What are values of $TARGET and $TARGET_PREFIX? Does $TARGET_PREFIX have properly installed headers? What for do you use --with-glibc option?

EGLIBC comes with instructions on how to cross-build it. It is in EGLIBC.cross-building file in the root directory.

--
Maxim
Hi Maxim,
Thank you for your interest. I have:

/[walsimou@wnotebook001 build-glibc-headers]$ echo $TARGET
mipsel-linux

[walsimou@wnotebook001 build-glibc-headers]$ ls $TARGET_PREFIX
bin  include  lib  usr

[walsimou@wnotebook001 build-glibc-headers]$ ls $TARGET_PREFIX/usr
include

[walsimou@wnotebook001 build-glibc-headers]$ ls $TARGET_PREFIX/usr/include
asm  asm-generic  linux
/
When I used configure script without /--with-glibc/, I had :

/configure: error: missing --with-glibc option

Regards
/