Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 00:31:04 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Ade Lovett <ade@lovett.com>
Cc:        reg@shale.csir.co.za, freebsd-ports@freebsd.org
Subject:   Re: Mozilla port broken under 4.0-CURRENT?
Message-ID:  <Pine.BSF.4.21.9912140030260.63537-100000@thelab.hub.org>
In-Reply-To: <19991213204215.C75199@lovett.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912140030260.63537-100000>