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

[Patches] install_root= broken?



While I was doing the install-headers step in EGLIBC.cross-building I
noticed that install_root= is partly(!) broken.

The configure command is:
$HOME/src/eglibc/configure --prefix=
--with-headers=$HOME/obj/cross.tools.staging/include --without-gd
--without-cvs --disable-profile --build=x86_64-unknown-linux-gnu
--host=x86_64-centix-linux-gnu
and make is: make install-headers install-bootstrap-headers=yes
install_root=$PWD/dest

It barfs with:
mv -f /home/solskogen/obj/eglibc.cross.tools.headers.staging/soversions.mkT
/home/solskogen/obj/eglibc.cross.tools.headers.staging/soversions.mk
make[1]: Leaving directory `/home/solskogen/src/eglibc'
make[1]: Entering directory `/home/solskogen/src/eglibc'
./scripts/mkinstalldirs /include
mkdir /include
mkdir: cannot create directory `/include': Permission denied
make[1]: *** [/include/limits.h] Error 1
make[1]: Leaving directory `/home/solskogen/src/eglibc'
make: *** [install-headers] Error 2

But using DESTDIR instead of install_root works.

You might notice that prefix is zero. But it does not matter. I tried
with prefix=/usr as well, but it barfs the same way.

-- 
chs,
_______________________________________________
Patches mailing list
Patches@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/patches