Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Thanks for your help. I have the make 3.82 downloaded. May I know can I
instruct the build to use the latest version of make 3.82.

I was using Ubuntu, currently using version 3.81, and not really want to
remove the old version and install a new one because there are dependencies
using make 3.81.

May I know is there a way to use the make 3.82 and not removing make 3.81?

THanks @!


On Sun, Oct 23, 2011 at 6:06 PM, Norbert Thiebaud <nthiebaud@gmail.com>wrote:

On Sun, Oct 23, 2011 at 2:57 AM, LOH KOK HOE <huahsin68@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
gb_PARTIALBUILD=T
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
git://cgit.freedesktop.org/libreoffice/contrib/dev-tools

Norbert


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.