[Libreoffice] Segmentation fault in building tail_build project
nthiebaud at gmail.com
Sun Oct 23 03:06:41 PDT 2011
On Sun, Oct 23, 2011 at 2:57 AM, LOH KOK HOE <huahsin68 at gmail.com> wrote:
> Hi all,
> I have just downloaded the latest source code from GIT, following the
> developer guideline in making the build. But it failed in tail_build
> project. When attempting the individual build on tail_build project, I get
> this output "No environment set!".
You have overlooked the message that tell you to source Env.Host.sh
see in the output you quoted the line that says:
> source ./Env.Host.sh
> Below are a snapshot of the output during the build from top level, hoping
> this could give out some hints on fixing this issue.
> ----- Output Snapshot -----
> [ build CXX ] unoxml/source/rdf/CURI
> [ build CXX ] unoxml/source/rdf/CLiteral
> [ build CXX ] unoxml/source/rdf/librdf_repository
> [ build CXX ] unoxml/source/rdf/librdf_services
> [ build DEP ] LNK:Library/libunoxmllo.so
> [ build DEP ] SRS:sw/res
> [ build SRS ] sw/res
> [ build DEP ] LNK:Library/libswdlo.so
> /bin/bash: line 1: 10810 Segmentation fault make -s -r -j2 build
> dmake: Error code 139, while making 'all'
You are most likely using an unpatched gnu make 3.81 with -j > 1
there should have been a warning at configure time about that. something like
"* - make 3.81 is prone to crashes with parallelism > 1. Since
--with-num-cpus was explicitely given, it is honored, but do not
complain when make segfault on you."
Anyway, you either need to disable (i.e do not specify
--with-num-cpus) the build parallelism or install and use a gnu make
3.82 or a patched 3.81 version.
You can find a usable 3.82 version at
More information about the LibreOffice