This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

linuxthreads fails on i386-linux (INSTALL="../")


Building newlib CVS 2005-10-07 for i386-linux gives the following error:
/bin/sh ./libtool  --mode=install ../ libpthread.la
/home/sjackman/work/debian/newlib/newlib-1.13.0+20051007/debian/tmp/usr/i386-linux/lib/libpthread.la
../ .libs/libpthread-newlib.so.0.0.0
/home/sjackman/work/debian/newlib/newlib-1.13.0+20051007/debian/tmp/usr/i386-linux/lib/libpthread-newlib.so.0.0.0
./libtool: line 5012: ../: is a directory
/bin/sh ./libtool  --mode=install ../ libthread_db.la
/home/sjackman/work/debian/newlib/newlib-1.13.0+20051007/debian/tmp/usr/i386-linux/lib/libthread_db.la
../ .libs/libthread_db-newlib.so.0.0.0
/home/sjackman/work/debian/newlib/newlib-1.13.0+20051007/debian/tmp/usr/i386-linux/lib/libthread_db-newlib.so.0.0.0
./libtool: line 5012: ../: is a directory
make[9]: *** [install-toollibLTLIBRARIES] Error 126
make[9]: Leaving directory
`/home/sjackman/work/debian/newlib/newlib-1.13.0+20051007/_build/i386-linux/newlib/libc/sys/linux/linuxthreads'
make[8]: *** [install-am] Error 2

In i386-linux/newlib/libc/sys/linux/linuxthreads/Makefile, INSTALL is
set to "../". Likewise, in
i386-linux/newlib/libc/sys/linux/linuxthreads/config.status
ac_given_INSTALL is set to "../". The configure command I used was...
	../configure --build=i386-linux --host=i386-linux \
	--with-newlib --disable-multilib \
	--prefix=/usr --mandir=/usr/share/man \
	--infodir=/usr/share/info

.../linuxthreads/config.status reads as....
# ../../../../../../../newlib/libc/sys/linux/linuxthreads/configure 
--build=i386-linux --host=i386-linux --target=i386-linux --with-newlib
--with-newlib --disable-multilib --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --program-transform-name=s,y,y,
--with-target-subdir=i386-linux
--cache-file=../../../.././config.cache
--srcdir=../../../../../../../newlib/libc/sys/linux/linuxthreads

Cheers,
Shaun


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