zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "GARCIA,JULIO (HP-FtCollins,ex1)" <julio_garcia@am.exch.hp.com>,
	"'zsh-workers@sunsite.auc.dk'" <zsh-workers@sunsite.auc.dk>
Subject: Re: FW: zsh-3.1.6 on hppa2.0n-hp-hpux11.00?
Date: Tue, 12 Oct 1999 17:13:07 +0000	[thread overview]
Message-ID: <991012171307.ZM9148@candle.brasslantern.com> (raw)
In-Reply-To: <56D553C0B61BD311AD2300A0C9F485C2197AFF@xfc02.fc.hp.com>

On Oct 12,  6:46am, GARCIA,JULIO (HP-FtCollins,ex1) wrote:
} Subject: FW: zsh-3.1.6 on hppa2.0n-hp-hpux11.00?
}
} configuring for zsh 3.1.6
} checking host system type... Invalid configuration `hppa2.0n-hp-hpux11.00':
} machine `hppa2.0n-hp' not recognized

I think the problem is that zsh's config.sub has become out of date with
respect to the version of autoconf that was used to produce the configure
script -- although on my system the only other "config.sub"s I can find,
which are the from automake and libtool, are even further out of whack
than zsh's.

However, it puzzles me greatly that configure didn't stop upon getting
that error.  It should have printed:

    configure: error: can not guess host type; you must specify one

and then exited.  (The one to specify would be "hppa2.0-hp-hpux11.00" i.e.
with no "n" after the "0").

Index: config.sub
===================================================================
@@ -175,7 +175,8 @@
 	      | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
 	      | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
 	      | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
-	      | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \
+	      | xmp-* | ymp-* \
+	      | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0[nw]-* \
 	      | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
 	      | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
 	      | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \


} ./configure[2861]: test: Specify a parameter with this command.

It's difficult to tell where this is coming from.  I should have asked you
to send your config.log file.

}  ~/Shar/zsh/zsh-3.1.6 > make 
} No suffix list.

This is just "make" warning needlessly that zsh's build has intentionally
clobbered one of its defaults.

} sh: cc -E:  not found.

I'm going to assume for the time being that this is an artifact of something
you did while configuring on a different machine than where you compiled,
and instead look at the other output you sent:

} 	nawk -f ../Src/makepro.awk builtin.c Src > builtin.pro
[...]
} 	cc -c -I.  -DHAVE_CONFIG_H -O  -o builtin.o builtin.c
} cc: "builtin.pro", line 4: error 1000: Unexpected symbol: "in".
} cc: "builtin.pro", line 5: error 1000: Unexpected symbol: "ebuil".
} cc: "builtin.pro", line 6: error 1000: Unexpected symbol: "a".
} cc: "builtin.pro", line 6: error 1000: Unexpected symbol: "void".
} cc: "builtin.pro", line 6: error 1000: Unexpected symbol: "HashNode".
} cc: "builtin.pro", line 6: error 1000: Unexpected symbol: "prin".
} cc: "builtin.pro", line 6: error 1000: Unexpected symbol: ";".
} cc: "builtin.pro", line 6: warning 558: Empty declaration.
} cc: "builtin.pro", line 7: error 1000: Unexpected symbol: "a".
} cc: "builtin.pro", line 7: error 1000: Unexpected symbol: "void".
} cc: "builtin.pro", line 8: error 1000: Unexpected symbol: "execbuil".
} cc: "builtin.pro", line 8: error 1000: Unexpected symbol: "args".
} cc: "builtin.pro", line 8: error 1000: Unexpected symbol: "in".
} cc: "builtin.pro", line 8: error 1000: Unexpected symbol: ")".
} cc: "builtin.pro", line 9: error 1000: Unexpected symbol: "bin_enable".
} cc: error 2017: Cannot recover from earlier errors, terminating.
} *** Error exit code 1

Every lower-case "t" in your builtin.pro file has been turned into a space.
This suggests that your copy of nawk is misinterpreting this command in
makepro.awk:

	gsub(/\t/, " ")

And it may also be misreading

	if (line == "" && $0 ~ /^[ \t]*#/) {

Either obtain gawk, or try replacing those \t in Src/makepro.awk with
actual tab characters, then rm Src/*.pro and reconfigure.  Let us know
how it goes.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  parent reply	other threads:[~1999-10-12 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-12 12:46 GARCIA,JULIO (HP-FtCollins,ex1)
1999-10-12 15:01 ` Mike Fletcher
1999-10-12 17:13 ` Bart Schaefer [this message]
1999-10-14 13:36 GARCIA,JULIO (HP-FtCollins,ex1)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=991012171307.ZM9148@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=julio_garcia@am.exch.hp.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).