From owner-freebsd-ports Mon Dec 13 20:31:17 1999 Delivered-To: freebsd-ports@freebsd.org Received: from thelab.hub.org (nat196.191.mpoweredpc.net [142.177.196.191]) by hub.freebsd.org (Postfix) with ESMTP id 1E61F14A2D for ; Mon, 13 Dec 1999 20:31:15 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.1) with ESMTP id AAA65817; Tue, 14 Dec 1999 00:31:05 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 14 Dec 1999 00:31:04 -0400 (AST) From: The Hermit Hacker To: Ade Lovett Cc: reg@shale.csir.co.za, freebsd-ports@freebsd.org Subject: Re: Mozilla port broken under 4.0-CURRENT? In-Reply-To: <19991213204215.C75199@lovett.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org doing a 'which c++' as root shows up /usr/bin/c++, but the port appears to be finding /usr/local/bin/c++ :( just did a pkg_delete and am trying again... On Mon, 13 Dec 1999, Ade Lovett wrote: > On Mon, Dec 13, 1999 at 08:10:10PM -0400, The Hermit Hacker wrote: > > > > Just upgraded my system, and tried to compile Mozilla, and it gets down to > > compiling the 'tools' subdirectory before failing, with the failure being > > attached... > > > > This is a -current system updated to yesterday... > > > > [snip] > > > Umm.. looks like 'c++' is picking up totally the wrong compiler.. > > >From the typescript: > > ... > c++ -o IdlParser.o -c -fno-rtti -fexceptions -Wall -Wconversion -Wpointer-arit > h -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -Wno-lo > ng-long -DMOZILLA_CLIENT -include ../../config-defs.h -O3 -mpentium -pipe -pthre > ad -O -fPIC -DOSTYPE=\"FreeBSD4\" -I../../dist/include -I../../dist/include - > I../../dist/include -I../../include -I/usr/local/include -I/usr/local/include > -I/usr/X11R6/include IdlParser.cpp > c++: unrecognized option `-pthread' > cc1plus: Invalid option `-Wno-long-long' > /usr/local/lib/gcc-lib/i386-unknown-freebsd4.0/2.8.1/include/g++/stream.h: In fu > nction `class istream & WS(class istream &)': > ... > > Note two things here: > > 1. unrecognized option '-pthread' to c++ > 2. reference to /usr/local/lib/gcc-lib/.../2.8.1/... > > So, the port is picking up the 2.8.1 version of gcc from somewhere > (maybe an old port lying around?) > > It certainly isn't gcc-2.95.2: > > anaconda 2975% uname -r > 4.0-CURRENT > anaconda 2976% c++ --version > 2.95.2 > anaconda 2977% c++ -pthread > c++: No input files specified > > -aDe > > -- > Ade Lovett, Austin, TX. > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message