Date: Tue, 01 Oct 1996 01:53:54 +0100 From: "Julian H. Stacey" <jhs@FreeBSD.org> To: undisclosed-recipients:; Subject: Re: hylafax port fails to build on -current, can't find a working Ansi C , Compiler Message-ID: <199610010053.BAA14985@vector.jhs.no_domain>
next in thread | raw e-mail | index | archive | help
------- Blind-Carbon-Copy To: Andreas Klemm <andreas@klemm.gtn.com> cc: hylafax@freebsd.org Subject: Re: hylafax port fails to build on -current, can't find a working Ansi C , Compiler From: "Julian H. Stacey" <jhs@freebsd.org> Reply-To: "Julian H. Stacey" <jhs@freebsd.org> Organization: Vector Systems Ltd. Mailer: EXMH 1.6.7, PGP available X-Address: Holz Strasse 27d, 80469 Munich, Germany X-Phone: +49.89.268616 X-Fax: +49.89.2608126 X-Web: http://www.freebsd.org/~jhs/ In-reply-to: Your message of "Sat, 28 Sep 1996 20:58:47 +0200." <Pine.BSF.3.95.960928204017.6692A-100000@klemm.gtn.com> Date: Tue, 01 Oct 1996 01:53:54 +0100 Sender: jhs@vector.jhs.no_domain Hi, Reference: > From: Andreas Klemm <andreas@klemm.gtn.com> > Subject: Re: hylafax port fails to build on -current, can't find a working Ansi C , Compiler > > Seems to be an error because the migration to gcc 2.7.2.1 ?! This was sent To: Andreas Klemm <andreas@klemm.gtn.com> bcc: ports@FreeBSD.org cc: hylafax@freebsd.org As Andreas posted to ports, but we actually have a special list just for hylafax, so best use that for follow up :-) Andreas, Yes, thanks for your diagnostics, here's the patch, Would some committer please commit this ? (I'm Maintainer ) ( As FreeBSD Policy is to maintain ports against current rather than release, this patch is essential ) Thanks. - ---------- ports/comms/hylafax/patch-ae By Julian Stacey <jhs@freebsd.org> 1996.10.01 This patch is _only_ to be applied if you are running a current FreeBSD from late September 1996 onward, which has the new 2.7.2.1 compiler, rather than the old 2.6.3 as in FreeBSD release 2.1.5 To check which you have, use cc --version Thanks to Andreas Klemm <andreas@klemm.gtn.com> for initial diagnostics. This avoids configure breaking as below, when checking for versions. Configuring HylaFAX (tm) (aka FlexFAX) v3.0pl1113. Reading site-wide parameters from ./config.site. Wow, you've got a i386-unknown-freebsd2.2 system! ncc: not found dcc: not found xlc: not found c89: not found gcc2: not found Cannot locate a working ANSI C compiler. *** configure Tue Oct 1 01:00:30 1996 - --- configure Tue Oct 1 00:54:30 1996 *************** *** 445,452 **** checkGCCVersion() { app=$1; shift eval `$app -v 2>&1 | \ ! sed -n -e '/version/s/.* \([0-9]*\)\.\([0-9]*\).\([0-9]*\)/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'` GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion required="$1$2$3" actual="${GCCdist}${GCCmajor}${GCCminor}" - --- 445,454 ---- checkGCCVersion() { app=$1; shift + # eval `$app -v 2>&1 | \ + # sed -n -e '/version/s/.* \([0-9]*\)\.\([0-9]*\).\([0-9]*\)/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'` eval `$app -v 2>&1 | \ ! sed -n -e '/version/s/.* \([0-9]*\)\.\([0-9]*\).\([0-9]*\).\([0-9]*\)/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'` GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion required="$1$2$3" actual="${GCCdist}${GCCmajor}${GCCminor}" *************** *** 464,470 **** CCOMPILER= for i in $CC gcc cc ncc dcc xlc c89 gcc2; do if isGNU $i; then ! checkGCCVersion $i 2 6 1 || continue; ISGCC=yes else ISGCC=no - --- 466,473 ---- CCOMPILER= for i in $CC gcc cc ncc dcc xlc c89 gcc2; do if isGNU $i; then ! checkGCCVersion $i 2 7 2 || continue; ! #checkGCCVersion $i 2 6 1 || continue; ISGCC=yes else ISGCC=no *************** *** 605,611 **** $RM dummy dummy.o ($i -o dummy dummy.C) >/dev/null 2>&5 && { if isGNU $i; then ! checkGCCVersion $i 2 6 1 || continue; ISGXX=yes fi CXX=$i; - --- 608,615 ---- $RM dummy dummy.o ($i -o dummy dummy.C) >/dev/null 2>&5 && { if isGNU $i; then ! # checkGCCVersion $i 2 6 1 || continue; ! checkGCCVersion $i 2 7 2 || continue; ISGXX=yes fi CXX=$i; - ------------- - -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/ ------- End of Blind-Carbon-Copy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610010053.BAA14985>