GSoC & error during make

Norbert Thiebaud nthiebaud at gmail.com
Wed Mar 7 19:38:43 PST 2012


On Wed, Mar 7, 2012 at 9:24 PM, Josh Heidenreich
<josh.sickmate at gmail.com> wrote:
> Hi,
>
> Just to piggyback this thread, because I am having build errors on master too.
>
>> Okay, bad news... I still couldn't build LibreOffice :(.
>> It fails in two modules: officecfg and sal. I tried building them
>> separately, with a make clean before that, but I still get errors...
>
> I am having errors in sal too.
>
>> And for sal module, there are lots of C++ errors and warnings and also
>> "No such file or directory" errors.
>> If I should post the output, tell me and I'll put it in a pastebin.
>
> These too. It appears if I do a top-level "make clean && make", I get
> one set of errors (syntax errors in the code), and if I do a make
> sal.clean && make sal, I get directory errors instead.
>
> This is all on the latest master (b43fe402154fae9bf1e2201d9b1a049cbcaf63ef).
>
> Errors from "make clean && make":
>
> /home/josh/git/libo/sal/qa/rtl/math/test-rtl-math.cxx:29:24: error:
> sal/config.h: No such file or directory
> /home/josh/git/libo/sal/qa/rtl/math/test-rtl-math.cxx:30:30: error:
> sal/precppunit.hxx: No such file or directory
> /home/josh/git/libo/sal/qa/rtl/math/test-rtl-math.cxx:36:24: error:
> rtl/math.hxx: No such file or directory
>
> Errors from "make sal.clean", done straight after:
>
> rm: cannot remove
> `/home/josh/git/libo/solver/unxlngx6.pro/inc/osl/armarch.h': Is a
> directory
> rm: cannot remove
> `/home/josh/git/libo/solver/unxlngx6.pro/inc/osl/conditn.h': Is a
> directory
> rm: cannot remove
> `/home/josh/git/libo/solver/unxlngx6.pro/inc/osl/conditn.hxx': Is a
> directory
>
> Took a look over cgit, for somethis which might be it, is:
> http://cgit.freedesktop.org/libreoffice/core/commit/sal?id=cb83035cd248348c0301a765dfe80c8d95859b4a
> to blame?

that is gnu-make 3.81 related....

one work around is to clone
git://anongit.freedesktop.org/libreoffice/contrib/dev-tools

and to ./configure | make in the make-3.82-gbuild directory
and then copy the generate make binary in that directory to /opt/lo/bin/.

the ./autogen.sh lo again and make clean + make
(note: autogen will automatically pick-up make from /opt/lo/bin if present)

Norbert


More information about the LibreOffice mailing list