Subject: Re: Building openoffice2 on amd64
To: None <paul@whooppee.com>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: tech-pkg
Date: 12/26/2007 19:50:37
--Multipart_Wed_Dec_26_19:50:37_2007-1
Content-Type: text/plain; charset=US-ASCII
Hello,
At Tue, 25 Dec 2007 11:13:42 -0800 (PST),
Paul Goyette wrote:
>
> On Mon, 24 Dec 2007, Paul Goyette wrote:
>
> > On Tue, 25 Dec 2007, Kouichirou Hiratsuka wrote:
> >>
> >> Did you compile gcc34 with `USE_BINUTILS=yes'?
> >> It seems not work for this package.
> >
> > Yes, I removed the gcc34 package and did
> >
> > make USE_BINUTILS=yes cleandir install
> >
> > and then re-ran the make for openoffice2 and got the same errors.
> >
> > How can I force gcc34 to build _without_ using USE_BINUTILS? Does
> > USE_BINUTILS=no work?
>
> Well, I built gcc34 with USE_BINUTILS=no and that doesn't help either.
> Same errors.
>
> I'm pretty much at the end of my rope now. Joerg Sonnenberger suggested
> (on current-users) making it link against libstdc++ instead of libsupc++
> but I can't figure out how to make the makefiles do that. Indeed, I
> can't even figure out where it's getting libsupc++ in the first place.
There is only one -lsupc++ in build log. I've attached a patch for
removing it. I'm trying it on NetBSD/amd64 4.0. Please try it on
-current.
<save patch-cy to /somewhere>
# cd /usr/pkgsrc/misc/openoffice2
# vi Makefile.NetBSD.x86_64
<comment out USE_PKGSRC_GCC>
# make clean && make patch
# patch -d `make show-var VARNAME=WRKSRC` < /somewhere/patch-cy
# make
If the patch works fine, I'll commit it.
best regards.
--
Kouichirou Hiratsuka
hira@po6.nsk.ne.jp
--Multipart_Wed_Dec_26_19:50:37_2007-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="patch-cy"
Content-Transfer-Encoding: base64
LS0tIHN0b3JlL3V0aWwvbWFrZWZpbGUubWsub3JpZwkyMDA3LTEyLTI2IDE5OjAyOjU1LjAwMDAw
MDAwMCArMDkwMAorKysgc3RvcmUvdXRpbC9tYWtlZmlsZS5tawkyMDA3LTEyLTI2IDE5OjA0OjMy
LjAwMDAwMDAwMCArMDkwMApAQCAtNzksOSArNzksNyBAQAogLklGICIkKEdVSSkiPT0iV05UIgog
U0hMMVNURExJQlMrPSAJLWxzdXBjKysKIC5FTFNFCi0uSUYgIiQoT1MpIj09Ik5FVEJTRCIKLVNI
TDFTVERMSUJTKz0gCS1sc3VwYysrCi0uRUxJRiAiJChPUykiPT0iTUFDT1NYIgorLklGICIkKE9T
KSI9PSJNQUNPU1giIHx8ICIkKE9TKSI9PSJORVRCU0QiCiAuSUYgIiQoQ0NOVU1WRVIpIjw9IjAw
MDM5OTk5OTk5OSIKIFNITDFTVERMSUJTKz0JLWxzdXBjKysKIC5FTkRJRiAjIENDTlVNVkVSCg==
--Multipart_Wed_Dec_26_19:50:37_2007-1--