Subject: Re: OpenOffice fails similar to PR 18050
To: None <>
From: Michael Rauch <>
List: tech-pkg
Date: 10/07/2002 19:06:19

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