[Libreoffice] [PATCH] build system patches

Lionel Elie Mamane lionel at mamane.lu
Wed Sep 7 03:21:00 PDT 2011


On Wed, Sep 07, 2011 at 07:21:42AM +0200, Lionel Elie Mamane wrote:
> On Tue, Sep 06, 2011 at 07:27:38PM -0500, Norbert Thiebaud wrote:
>> On Tue, Sep 6, 2011 at 5:32 PM, Peter Foley <pefoley2 at verizon.net> wrote:

>>> Here are some patches for various problems I encountered while
>>> building libreoffice.

>>>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 ?

> I get the same problem (or a very similar one), and reported it as fdo
> bug #39852.

>> 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 :-)

> More precisely, it tries to create ${LIBDIR}; by default, that is
> /usr/local/lib, but if one passed --prefix and/org --libdir to
> autogen.sh, then it is another directory.

Why the library files are declared in the Makefile.in to depend on
LIBDIR, I have not idea, since they are build locally, not in
LIBDIR. I disabled that (commit
34a3046698890676d492d46dfb628d51eb823395) and works for me. Let's see
if it breaks something else :)

-- 
Lionel


More information about the LibreOffice mailing list