> 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 [EMAIL PROTECTED] ]
> > 
> > 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
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to