All,

I'm trying to build a small rootfs for my nslu2 project.  I have the
basics built ($SYSROOT != $ROOT), but when I go to add app-misc/screen,
the configure stage of the build fails with the following:

### begin error msg ###
# xmerge --root ${TGTROOT} -av screen

...

./configure --prefix=/usr --host=armeb-softfloat-linux-uclibc
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib
--with-socket-dir=/var/run/screen --with-sys-screenrc=/etc/screenrc
--with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc
--enable-telnet --enable-colors256 --disable-pam --build=x86_64-pc-linux-gnu
this is screen version 4.0.3
checking for armeb-softfloat-linux-uclibc-gcc...
armeb-softfloat-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armeb-softfloat-linux-uclibc-gcc accepts -g... yes
checking for armeb-softfloat-linux-uclibc-gcc option to accept ISO
C89... none needed
checking how to run the C preprocessor...
armeb-softfloat-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether armeb-softfloat-linux-uclibc-gcc needs -traditional... no
checking for library containing strerror... none required
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

...

### end error msg ###

I've seen this happen with older versions of libssl in the gumstix
buildroot when I tried to manually upgrade it.  iirc, there is a way to
properly fix it.  Most google results suggest adding a 'config.cache'
with the variables for problematic tests already assigned, or exporting
them before merging.  I'd prefer to fix the configure scripts.

I can't be the first person who wanted to cross-compile screen.  :-)

Am I missing something?

Bug filed at http://bugs.gentoo.org/show_bug.cgi?id=193902

tia,

Jason.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to