[Libreoffice] [PATCH] build system patches

Peter Foley pefoley2 at verizon.net
Tue Sep 6 17:34:55 PDT 2011


On Tue, 6 Sep 2011, Norbert Thiebaud wrote:

> On Tue, Sep 6, 2011 at 5:32 PM, Peter Foley <pefoley2 at verizon.net> wrote:
> > Hi,
> >
> > Here are some patches for various problems I encountered while building
> > libreoffice.
> >
> 
> 0002...
> 
> >From 913ba23fd2552436c7c48e83fd1d6ec7de6c2e96 Mon Sep 17 00:00:00 2001
> >From: Peter Foley <pefoley2 at verizon.net>
> >Date: Mon, 5 Sep 2011 21:39:22 -0400
> >Subject: [PATCH 2/7] /usr/local/lib
> >
> >If /usr/local/lib doesn't exist the Mozilla build fails.
> >This patch fixes the build failure.
> 
> Is that an observed behavior or a speculated one ?

Observed. I've atached the relevent logfile.

> 
> I mean:
> 1/ why on earth would our build ever try to create or even install
> something in /usr/loca/bin when building an external lib. if we do,
> then the fix is to stop that madness, not encourage it :-)

Yeah, I'll try to come up with a better fix then this admittedly somewhat 
hacky one.

> 2/ if /usr/local/bin does not exist mkdir -p is not going to succeed
> anymore than $(MKDIR), unless you run make as root or have g+w or o+w
> authorization on /usr, both of which are a really, really bad idea.

I'm actually building libreoffice in a chroot but I agree that a better 
fix is probably necessary. Feel free to drop this patch for now and I'll 
try to come up with a better solution.

Thanks,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mozlog
Type: application/octet-stream
Size: 8899 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110906/f1dc14d0/attachment.obj>


More information about the LibreOffice mailing list