[Libreoffice] (solved) Re: Is Python 2.6 acceptable on Mac OSX build?

David Dumaresq dfdumaresq at gmail.com
Mon Jan 24 20:50:17 PST 2011


On 2011-01-24, at 8:30 PM, Norbert Thiebaud wrote:

> On Mon, Jan 24, 2011 at 10:16 PM, David Dumaresq <dfdumaresq at gmail.com> wrote:
>> Hi all,
>> I'm building my first LibreOffice development system, following this link,
>> and ran ./autogen.sh which passed with warnings (see below). I'm wondering
>> if it's okay to go ahead with python2.6 instead of python2.3, which is no
>> longer on my system
>> ./autogen.sh --with-num-cpus=2 --with-max-jobs=2 --disable-mozilla
>> ...
>> checking which python to use... compiling against MacOSX10.4u.sdk (python
>> version 2.3)
>> checking Python.h usability... yes
>> checking Python.h presence... no
>> configure: WARNING: Python.h: accepted by the compiler, rejected by the
>> preprocessor!
>> configure: WARNING: Python.h: proceeding with the compiler's result
>> checking for Python.h... yes
>> 
> I get
> checking which python to use... compiling against MacOSX10.4u.sdk
> (python version 2.3)
> checking Python.h usability... yes
> checking Python.h presence... yes
> checking for Python.h... yes
> 
> but I use:
> ./autogen.sh .... 'CC=ccache gcc-4.0' 'CXX=ccache g++-4.0'
> 
> The operating thing here is not so much ccache, but making sure that
> you use gcc-4.0 AND g++-4.0
> 
> Norbert
> 


Thanks Norbert, adding 'CC=ccache gcc-4.0' 'CXX=ccache g++-4.0' to my autogen command did the trick. I now have python.h usability and presence.

Dave




More information about the LibreOffice mailing list