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


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

On Mon, Jan 24, 2011 at 10:16 PM, David Dumaresq <dfdumaresq@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



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.