Subject: Re: OpenOffice fails similar to PR 18050
To: None <firstname.lastname@example.org>
From: Jan Schaumann <email@example.com>
Date: 10/07/2002 13:27:35
Michael Rauch <firstname.lastname@example.org> wrote:
> On Fri, Oct 04, 2002 at 10:47:55AM -0400, Jan Schaumann wrote:
> > I'm trying to build OpenOffice (# $NetBSD: Makefile,v 1.23 2002/10/04
> > 11:20:24 jlam Exp $), but it fails similarly to PR pkg/18050.
> > [...]
> > Any ideas?
> partly. The problem is in the lines
> checking whether cc -O2 -mcpu=pentiumpro -march=pentium accepts -g... yes
> test: -O2: unexpected operator
> configure: warning: no gcc compiler found
> The question is why "test" is seeing the -O2 as an operator; it should be
> quoted correctly. I haven't a build log around at the moment, but I'm very
> sure I've also a "-O2" in my build (added by pkgsrc standard machinery).
> Does .../work.i386/oo_641_src/config_office/config.log contain anything
Hmm, not really:
The only errors are when it tries to find the nonexistent libdnet.
But thanks for pointing out the 'test: -O2' -- now if I take out CFLAGS
and CC of /etc/mk.conf, it starts to build.
"The last time anybody made a list of the top hundred character
attributes of New Yorkers, common sense snuck in at number 79."