WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: e17 configure problem  (Read 1710 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
e17 configure problem
« on: October 10, 2010, 07: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
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: e17 configure problem
« Reply #1 on: October 10, 2010, 07: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" :)
dCore user

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: e17 configure problem
« Reply #2 on: October 10, 2010, 07: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).

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: e17 configure problem
« Reply #3 on: October 11, 2010, 12: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"
dCore user