Re: Problem building on Mac OS X 10.7

2012-08-02 Thread Niklas Johansson
Hi Tor That fixed it. I have now managed to do my first build on a Mac. I had to disable -werror and add a second language to get there but I have a running build. I'll try to get some time to look at the errors next week. Thanks, Niklas Den onsdagen den 1:e augusti 2012 skrev Tor Lillqvist: >

Re: Problem building on Mac OS X 10.7

2012-08-01 Thread Stephan Bergmann
On 08/01/2012 06:15 PM, Niklas Johansson wrote: unexpected otool -D output ("/Volumes/hfs+/git/lo/core/solver/unxmacxi/lib/libuno_sal.dylib: ", expecting "/Volumes/hfs+/git/lo/core/solver/unxmacxi/lib/libuno_sal.dylib:") at /Volumes/hfs+/git/lo/core/solenv/bin/modules/macosxotoolhelper.pm line

Re: Problem building on Mac OS X 10.7

2012-08-01 Thread Tor Lillqvist
> Any help/pointers would be much appreciated. The (mysterious) code in solenv/bin/modules/macosxotoolhelper.pm doesn't cope with a file name that contains regexp metacharacters (the '+' in your "/Volumes/hfs+/git"). I think the quickest solution might be to change the $line =~ /^$file:\n$/ t

Problem building on Mac OS X 10.7

2012-08-01 Thread Niklas Johansson
Hi I'm, having some troubles building LibreOffice on Mac OS X 10.7 using Xcode 4.3.3 with "Command line tools" installed. I started out with Stephan Bergmans script [1]. Unfortunately I don't have much space on my internal hard drive so I had to adapt the script a bit exchangeing ${HOME?} wit

Re: Building on Mac OS X 10.7

2012-08-01 Thread Tor Lillqvist
> The build is against the 10.6 SDK, --with-macosx-version-min-required=10.6. Ah ok, that explains it. In the current (since a few days) Xcode 4 (4.4), only 10.7 and 10.8 SDKs are included. --tml ___ LibreOffice mailing list LibreOffice@lists.freedeskto

Re: Building on Mac OS X 10.7

2012-08-01 Thread Stephan Bergmann
On 08/01/2012 11:55 AM, Tor Lillqvist wrote: I still don't understand how you managed to build against the 10.7 SDK The build is against the 10.6 SDK, --with-macosx-version-min-required=10.6. Stephan ___ LibreOffice mailing list LibreOffice@lists.fre

Re: Building on Mac OS X 10.7

2012-08-01 Thread Tor Lillqvist
I still don't understand how you managed to build against the 10.7 SDK without getting undefined errors for FMGetATSFontRefFromFont() and KillPicture(). These two functions are not declared in the 10.7 (or 10.8) SDK headers. (They are still present in the respective frameworks (libraries).) I had t

Re: Building on Mac OS X 10.7

2012-08-01 Thread Stephan Bergmann
On 06/08/2012 12:50 PM, Jan Holesovsky wrote: On 2012-06-07 at 09:13 +0200, Stephan Bergmann wrote: FYI, attached BUILD-lo script allowed me to build recent LO master on Mac OS X 10.7 with Xcode 4. A few comments: Can you pleas add it to http://wiki.documentfoundation.org/Development/Native_

Re: Building on Mac OS X 10.7

2012-06-08 Thread Jan Holesovsky
Hi Stephan, On 2012-06-07 at 09:13 +0200, Stephan Bergmann wrote: > FYI, attached BUILD-lo script allowed me to build recent LO master on > Mac OS X 10.7 with Xcode 4. A few comments: Can you pleas add it to http://wiki.documentfoundation.org/Development/Native_Build too? Ideally probably c

Re: Building on Mac OS X 10.7

2012-06-07 Thread Tor Lillqvist
> * --with-macosx-version-min-required=10.6 (instead of 10.7) is needed at > least for the moz and python modules. If I recall correctly, using --with-macosx-version-min-required=10.7 even in a build with no mozilla on python will break in vcl thanks to it using deprecated API (deprecated already

Building on Mac OS X 10.7

2012-06-07 Thread Stephan Bergmann
FYI, attached BUILD-lo script allowed me to build recent LO master on Mac OS X 10.7 with Xcode 4. A few comments: * It builds into ~/Software/lo (which must not yet exist). * It uses MacPorts for the various dependencies, but in a way that does not pollute the machine (by checking out and bui