Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-31 Thread Michael Meeks

On Sun, 2011-10-30 at 20:33 +0800, LOH KOK HOE wrote:
 The export to GNUMAKE is not working.

You can of course add the path to this to the beginning of your path -
which might do it better.

Personally, I'd love a --with-internal-gnumake configure option that
would download, configure and compile our patched gnumake with Norbert's
debugging fixes, my speedup, and of course without this annoying SEGV
(that no doubt just masks other bugs).

Patches for that to configure / download.in most welcome :-)

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-30 Thread LOH KOK HOE
Thank you so much on yours reply. [?]

The export to GNUMAKE is not working. When I issue a command make
--version, it still showing version 3.81. Could it be a possibility where
the old make is default install and there is no other way to modify the
environment variable? Anyhow I have temporary rename the old make and copy
over the new make into the /usr/bin/ just in case there are others program
that might need the old make.

But I still prefer to set the environment variable as this could save a lot
hassle work on rename the make file. BTW, does the export GNUMAKE work for
Ubuntu Linux?


THanks @!


On Sat, Oct 29, 2011 at 8:05 PM, Norbert Thiebaud nthieb...@gmail.comwrote:

 On Sat, Oct 29, 2011 at 6:13 AM, Christian Lohmaier
 lohmaier+libreoff...@googlemail.com wrote:
  Hi *,
 
  On Sat, Oct 29, 2011 at 11:16 AM, LOH KOK HOE huahsi...@gmail.com
 wrote:
 
  May I know is there a way to use the make 3.82 and not removing make
 3.81?
 
  export GNUMAKE=/path/to/make-3.82

 or install it at /opt/lo/bin/make

 Norbert

330.gif___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-30 Thread Christian Lohmaier
Hi *,

On Sun, Oct 30, 2011 at 1:33 PM, LOH KOK HOE huahsi...@gmail.com wrote:

 Thank you so much on yours reply.
 The export to GNUMAKE is not working. When I issue a command make 
 --version, it still showing version 3.81.

Sure, but that doesn't matter, as the toplevel makefiles calls $GNUMAKE

exporting GNUMAKE works, and of course you can also invoke the
toplevel make using $GNUMAKE on the commandline.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread LOH KOK HOE
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 nthieb...@gmail.comwrote:

 On Sun, Oct 23, 2011 at 2:57 AM, LOH KOK HOE huahsi...@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

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread Christian Lohmaier
Hi *,

On Sat, Oct 29, 2011 at 11:16 AM, LOH KOK HOE huahsi...@gmail.com wrote:

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

export GNUMAKE=/path/to/make-3.82

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread Norbert Thiebaud
On Sat, Oct 29, 2011 at 6:13 AM, Christian Lohmaier
lohmaier+libreoff...@googlemail.com wrote:
 Hi *,

 On Sat, Oct 29, 2011 at 11:16 AM, LOH KOK HOE huahsi...@gmail.com wrote:

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

 export GNUMAKE=/path/to/make-3.82

or install it at /opt/lo/bin/make

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-23 Thread Norbert Thiebaud
On Sun, Oct 23, 2011 at 2:57 AM, LOH KOK HOE huahsi...@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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice