Subject: Re: Building openoffice2 on amd64
To: None <firstname.lastname@example.org>
From: Kouichirou Hiratsuka <email@example.com>
Date: 12/25/2007 02:20:51
At Mon, 24 Dec 2007 06:18:09 -0800 (PST),
Paul Goyette wrote:
> On Mon, 24 Dec 2007, Kouichirou Hiratsuka wrote:
> > I've fixed libXinerama. On NetBSD/amd64 the package still cannot be
> > compiled with gcc-4. Please try:
> > # cd /usr/src/gnu/lib/libsupc++4
> > # make CFLAGS+="-fPIC" && make install
> > # cd /usr/pkgsrc/misc/openoffice2 && make
> I had to make clean in libsupc++4 before it would make anything more, so
> I used the following command:
> /usr/obj/tooldir/x86_64/amd64/bin/nbmake-amd64 CFLAGS+="-fPIC" \
> cleandir dependall install
> It completed successfully, as far as I can tell.
With pkgsrc's gcc-3.4.6, -fPIC and -DPIC are added to CFLAGS when
compiling libsupc++.a. These flags seem to be missing from NetBSD.
> Then I tried to update libXinerama (since you said you'd fixed it) and
> got the following:
"I've fixed Xinerama." -> "I've fixed the same error with Xinerama."
With X11_TYPE=native, x11/libXinerama cannot be compiled and you don't
need to install it.