
Simon Marlow wrote:
when installing ghc and hugs under SuSE linux 8.1 I got
"configure: error: can not guess host type; you must specify one"
It worked after I added "--host=i386-linux"
[ redirected to glasgow-haskell-users@haskell.org ]
What does config.guess return on your system?
i686-pc-linux-gnu
That's strange, configure is supposed to emit the error only if config.guess fails. The relevant bit of the configure script is: case "$host_alias" in NONE) case $nonopt in NONE) if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;; esac Could you try adding echos in various places to determine what has gone wrong? It might be something specific to whatever /bin/sh is on your system, I suppose. Cheers, Simon

Simon Marlow wrote:
Simon Marlow wrote:
when installing ghc and hugs under SuSE linux 8.1 I got
"configure: error: can not guess host type; you must specify one"
It worked after I added "--host=i386-linux"
[ redirected to glasgow-haskell-users@haskell.org ]
What does config.guess return on your system?
i686-pc-linux-gnu
That's strange, configure is supposed to emit the error only if config.guess fails.
maeder@davinci -> ./config.guess ./config.guess: line 844: dummy-5901.c: Keine Berechtigung ./config.guess: line 1: dummy-5901.c: Keine Berechtigung ./config.guess: line 1105: dummy-5901.c: Keine Berechtigung ./config.guess: unable to guess system type This script, last modified 2001-07-09, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from [...] could this output be the source of my problem? (Meanwhile the owner of the ghc tree changed so I cannot really reproduce the situation.) Cheers Christian
participants (2)
-
Christian Maeder
-
Simon Marlow