Re: [Libreoffice] Build in xmloff fails on Mac OSX

2011-09-23 Thread Norbert Thiebaud
On Fri, Sep 23, 2011 at 1:36 AM, Alexander Thurgood
 wrote:
[...]
> on top, and yet the build keeps bombing in postprocess, telling me it
> can't find bfmigrate_filter.component, yet this is present in
> /source/bf_migrate/. Perhaps it is linked to the open file number limit
> you mention below.
>

are you sure that your binfilter repo is up-to-date ?
since the repo conversion it is tempting to just do
git pull -r
and often it does work...
put really one should still do
./g pull -r to make sure to pick-up changes on the
binfitler,dictionaries,help and possible translations repos...



btw: I don't think it is searching for it in
binfitler/filter/source/bf_migrate/.. but in solver/unxmacxi.pro/xml/

and it is named bg_migratefilter.component, not bfmigrate_filter.component...


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


Re: [Libreoffice] Build in xmloff fails on Mac OSX

2011-09-22 Thread Alexander Thurgood
Le 23/09/11 06:29, Norbert Thiebaud a écrit :

Hi Norbert,

First, thanks for your tips.

> 1/ building mozilla... so --disable-mozilla is a great first step,
> next is probably to use the prebuilt binary for mozilla.

I do both of those as standard.


> 2/ having macports of finks packages getting in the way: ironically
> many times macports/fink installed version of common tools/libs get in
> the way of the SDK, so making sure that your build env does not see
> these macport/fink packages if any  is a good thing.

On my Macbook I have ports installed because I use some/much of the
software that comes with it and find it very useful. It has caused
problems in the past with the LibO build, but this seems to have settled
down after I removed the offending libraries. On the OSX server machine,
the installation is virgin, i.e. I have no ports or fink stuff installed
on top, and yet the build keeps bombing in postprocess, telling me it
can't find bfmigrate_filter.component, yet this is present in
/source/bf_migrate/. Perhaps it is linked to the open file number limit
you mention below.

> 
> Recently I've had issues with ulimit... especially ulimit -n (max
> number of open files). my system defaulted to 256 which prove to be
> too low, which made offapi and similar idlc processing module fail.
> on my box I added in /etc/launchd,conf
> 
> limit maxproc 1024 2000
> limit maxfiles 2048 4096
> 
> note that I have in /etc/sysctl.conf
> [...]
> kern.maxfiles=65536
> kern.maxproc=2068
> kern.maxprocperuid=2068

Thanks for the tips, I will try them out.


Alex



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


Re: [Libreoffice] Build in xmloff fails on Mac OSX

2011-09-22 Thread Norbert Thiebaud
On Thu, Sep 22, 2011 at 3:08 AM, Alexander Thurgood
 wrote:
> I am currently attempting the build on 2 Mac machines, an OSX Server and
> my Macbook Pro. Ultimately, I would like to be able to offer one of the
> machines as a tinbuild (the server probably, as it doesn't do much most
> of the time) whereas the Macbook is my workhorse, but if I can't even
> get it to build with the basic --with-distro=LibreOfficeMacOSX switch
> then that is going to be a challenge.

Ok, so Most it not all the 'complication' in building mac come from

1/ building mozilla... so --disable-mozilla is a great first step,
next is probably to use the prebuilt binary for mozilla.
2/ having macports of finks packages getting in the way: ironically
many times macports/fink installed version of common tools/libs get in
the way of the SDK, so making sure that your build env does not see
these macport/fink packages if any  is a good thing.

Recently I've had issues with ulimit... especially ulimit -n (max
number of open files). my system defaulted to 256 which prove to be
too low, which made offapi and similar idlc processing module fail.
on my box I added in /etc/launchd,conf

limit maxproc 1024 2000
limit maxfiles 2048 4096

note that I have in /etc/sysctl.conf
[...]
kern.maxfiles=65536
kern.maxproc=2068
kern.maxprocperuid=2068
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build in xmloff fails on Mac OSX

2011-09-22 Thread Alexander Thurgood
Le 21/09/11 20:27, Michael Meeks a écrit :

Hi Michael,


> 
>   I believe this is an artifact of a non-re-build offapi - if you can; go
> into offapi and 'make clean' 'make'. Of course, ideally - it would have
> correct dependencies so it re-built cleanly automatically,
> unfortunately ... ;-)
> 

Thanks, did that, but it still failed, so I gave up last night and
repulled from the repo this morning and will try again.

I am currently attempting the build on 2 Mac machines, an OSX Server and
my Macbook Pro. Ultimately, I would like to be able to offer one of the
machines as a tinbuild (the server probably, as it doesn't do much most
of the time) whereas the Macbook is my workhorse, but if I can't even
get it to build with the basic --with-distro=LibreOfficeMacOSX switch
then that is going to be a challenge.

Yesterday I built on my 32bit Xbuntu Natty box and it went a breeze in
comparison. I even managed to build the mysql connector extension
without any hassle (it will be up on the extensions site soon), and
without having to worry about telling it in addition where to look for
the libraries, enabling X, disabling Z, etc. For the casual builder
wanting to try and help out with certain bugs that only seem to occur on
OSX this is offputting to say the least (or 'character building' ;-)
depending on how you look at it).


Alex

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


Re: [Libreoffice] Build in xmloff fails on Mac OSX

2011-09-21 Thread Michael Meeks
Hi Alex,

On Wed, 2011-09-21 at 18:32 +0200, Alexander Thurgood wrote:
> While trying to build from master, I get a fail in xmloff with the
> following error

I believe this is an artifact of a non-re-build offapi - if you can; go
into offapi and 'make clean' 'make'. Of course, ideally - it would have
correct dependencies so it re-built cleanly automatically,
unfortunately ... ;-)

Thanks,

Michael.

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

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


[Libreoffice] Build in xmloff fails on Mac OSX

2011-09-21 Thread Alexander Thurgood
Hi all,

While trying to build from master, I get a fail in xmloff with the
following error

/Users/alex/DevHack/git/libo/core/xmloff/source/core/xmlexp.cxx: In
member function ‘void SvXMLExport::addChaffWhenEncryptedStorage()’:

/Users/alex/DevHack/git/libo/core/xmloff/source/core/xmlexp.cxx:1284:
error: ‘class com::sun::star::embed::XEncryptionProtectedSource2’ has no
member named ‘hasEncryptionData’


Alex

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