Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: jls on October 10, 2010, 10:06:35 PM

Title: e17 configure problem
Post by: jls on October 10, 2010, 10:06:35 PM
when I launch the configure command I get:
Code: [Select]
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: \2
checking build system type... Invalid configuration `\2': machine `\2' not recognized
configure: error: /bin/bash ./config.sub \2 failed
Title: Re: e17 configure problem
Post by: jls on October 10, 2010, 10:23:23 PM
from the #e irc channel:
raster: smells like your distro is missing stuff that configure uses to auto-detect your host/target etc.
raster: i'd be temtped to say "just use a non-buggy distro for development" :)
Title: Re: e17 configure problem
Post by: maro on October 10, 2010, 10:54:18 PM
Why don't you run your './configure PARAMETERS' like 'sh -vx ./configure PARAMETERS > configure.log 2>&1' ?

That produces a pretty large file, but you should then be able to indentify which exact command produces the "offence" (worst case: you put it somewhere and I might have a look).
Title: Re: e17 configure problem
Post by: jls on October 11, 2010, 03:49:31 AM
I solved passing this parameter to the configure script:
Code: [Select]
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu"