pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Forward: Re: Building openoffice2 on amd64



I'm sorry, I sent to a wrong list.  Forward to a correct list.

--- Begin Message ---
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@localhost

Attachment: patch-cy
Description: Binary data


--- End Message ---


Home | Main Index | Thread Index | Old Index