1 |
All, |
2 |
|
3 |
I'm trying to build a small rootfs for my nslu2 project. I have the |
4 |
basics built ($SYSROOT != $ROOT), but when I go to add app-misc/screen, |
5 |
the configure stage of the build fails with the following: |
6 |
|
7 |
### begin error msg ### |
8 |
# xmerge --root ${TGTROOT} -av screen |
9 |
|
10 |
... |
11 |
|
12 |
./configure --prefix=/usr --host=armeb-softfloat-linux-uclibc |
13 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
14 |
--sysconfdir=/etc --localstatedir=/var/lib |
15 |
--with-socket-dir=/var/run/screen --with-sys-screenrc=/etc/screenrc |
16 |
--with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc |
17 |
--enable-telnet --enable-colors256 --disable-pam --build=x86_64-pc-linux-gnu |
18 |
this is screen version 4.0.3 |
19 |
checking for armeb-softfloat-linux-uclibc-gcc... |
20 |
armeb-softfloat-linux-uclibc-gcc |
21 |
checking for C compiler default output file name... a.out |
22 |
checking whether the C compiler works... yes |
23 |
checking whether we are cross compiling... yes |
24 |
checking for suffix of executables... |
25 |
checking for suffix of object files... o |
26 |
checking whether we are using the GNU C compiler... yes |
27 |
checking whether armeb-softfloat-linux-uclibc-gcc accepts -g... yes |
28 |
checking for armeb-softfloat-linux-uclibc-gcc option to accept ISO |
29 |
C89... none needed |
30 |
checking how to run the C preprocessor... |
31 |
armeb-softfloat-linux-uclibc-gcc -E |
32 |
checking for grep that handles long lines and -e... /bin/grep |
33 |
checking for egrep... /bin/grep -E |
34 |
checking whether armeb-softfloat-linux-uclibc-gcc needs -traditional... no |
35 |
checking for library containing strerror... none required |
36 |
configure: error: cannot run test program while cross compiling |
37 |
See `config.log' for more details. |
38 |
|
39 |
... |
40 |
|
41 |
### end error msg ### |
42 |
|
43 |
I've seen this happen with older versions of libssl in the gumstix |
44 |
buildroot when I tried to manually upgrade it. iirc, there is a way to |
45 |
properly fix it. Most google results suggest adding a 'config.cache' |
46 |
with the variables for problematic tests already assigned, or exporting |
47 |
them before merging. I'd prefer to fix the configure scripts. |
48 |
|
49 |
I can't be the first person who wanted to cross-compile screen. :-) |
50 |
|
51 |
Am I missing something? |
52 |
|
53 |
Bug filed at http://bugs.gentoo.org/show_bug.cgi?id=193902 |
54 |
|
55 |
tia, |
56 |
|
57 |
Jason. |
58 |
-- |
59 |
gentoo-embedded@g.o mailing list |