From owner-freebsd-current Thu Oct 17 17:42:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60A5D37B404 for ; Thu, 17 Oct 2002 17:42:30 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C68D43E65 for ; Thu, 17 Oct 2002 17:42:30 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 6C03F57A36; Fri, 18 Oct 2002 00:42:24 +0000 (GMT) Date: Fri, 18 Oct 2002 00:42:24 +0000 (GMT) Message-Id: <20021018004224.kuNc81375@hun.org> From: Daniel Flickinger X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-Squawk: (435) 680-0750 X-No-Archive: yes X-Tags: Sanity is the Playground for the Unimaginative In-Reply-To: <20021017052536.192465bd.sheepkiller@cultdeadsheep.org> References: <20021017023951.wKA82341@hun.org> To: Clement Laforet Cc: FreeBSD 5.0-CURRENT Subject: Re: failure to make ORBit2 in CURRENT Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sent: Thu, 17 Oct 2002 05:25:36 +0200 Clement Laforet wrote: + On Thu, 17 Oct 2002 02:39:51 +0000 (GMT) + Daniel Flickinger wrote: + + > running CURRENT from slice at 1200 GMT 16 Oct 2002: + > + > system is Tyan 2642 SMP 1.2G w/SCSI-160s + > + > Configuring for Bison for ORBit2 + > + > checking how to run the C preprocessor... /lib/cpp + > configure: error: C preprocessor "/lib/cpp" fails sanity check + > ===> Script "configure" failed unexpectedly. + > Please report the problem to ports@FreeBSD.org [maintainer] and attach + > the "/work/usr/ports/devel/bison/work/bison-1.35/config.log" including + > the output of the failure of your make command. Also, it might be a good + > idea to provide an overview of all packages installed on your system + > (e.g. an `ls /var/db/pkg`). + + Hummmm, It's working fine for me. + I'm not sure, but it seems to be a gcc 3.2 related problem (upgrading problem). + When did you update your sources ? + Did you remove all c++ stuff before installing world ? System is CURRENT as of 1200 GMT 17 Oct --12 hours ago. Everytime I do an installworld I use a shell command which makes sure I have a 100% clean set of installs and libs --no left over trash. Consistency may be the hobgobblin of little minds, but it sure beats fat-finger errors. Maybe it's too new? [g] --gcc has had two updates in the last two weeks. As to c++, if it's out of date, it's gone. I personally don't use c++ --it's supposedly reusable code for disposable programmers. #!/bin/bash # # 'installworld' shell command # TFLG="-j 4 -k -s" TDEF="NO_WERROR=YES TARGET_ARCH=i386 __MAKE_CONF=/dev/null" TOUT="NOGAMES=YES NO_FORTRAN=YES NO_SENDMAIL=YES NO_MAILWRAPPER=YES NOUUCP=YES" cleanup() { rm -rf ${DESTDIR}/usr/include.old >/dev/null 2>&1 mv -f ${DESTDIR}/usr/include ${DESTDIR}/usr/include.old chflags -R noschg ${DESTDIR}/usr/lib if [ ! -d ${DESTDIR}/usr/lib/old ]; then mkdir ${DESTDIR}/usr/lib/old fi if [ ! -d ${DESTDIR}/usr/lib/compat ]; then mkdir ${DESTDIR}/usr/lib/compat fi mv -f ${DESTDIR}/usr/lib/lib*.so.* ${DESTDIR}/usr/lib/compat mv -f ${DESTDIR}/usr/lib/*.o ${DESTDIR}/usr/lib/old mv -f ${DESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib/old mv -f ${DESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib/old } # waste sendmail stomp() { cd ${DESTDIR}/usr/libexec rm -f sendmail/* cd ${DESTDIR}/usr/bin rm -f mailq newaliases ln -s ${DESTDIR}/usr/sbin/sendmail mailq ln -s ${DESTDIR}/usr/sbin/sendmail newaliases cd ${DESTDIR}/usr/sbin rm -f sendmail mailwrapper ln -s postmail sendmail } process() { cleanup >${CDATE}.installworld.${RDATE} 2>&1 make $TFLG $TDEF $TOUT installworld >>${CDATE}.installworld.${RDATE} 2>&1 rm -rf ${DESTDIR}/usr/include.old >/dev/null 2>&1 stomp >>${CDATE}.installworld.${RDATE} 2>&1 } read -p "Enter current date code as \"ymdd.hhmm\": " CDATE if [ -z "${CDATE}" ] ; then printf "! date required: enter date in format \"ymdd.hhmm\"\n" exit 3 fi read -p "Enter release date code as \"ymdd.hhmm\": " RDATE if [ -z "${RDATE}" ] ; then printf "! date required: enter date in format \"ymdd.hhmm\"\n" exit 4 fi read -p "Enter non-standard destination directory or RET: " DTARGET if [ -s "${DTARGET}" ] ; then export DESTDIR=${DTARGET} fi process & To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message