[gdal-dev] gdal make fails for python bindings - with ccache: invalid option -- 'p'

Mark Johnson mj10777 at googlemail.com
Thu Dec 14 09:58:11 PST 2017


>> Do you know where this ccache invokation comes from ? Both libtool and
non-libtool regular builds work for me with the python bindings

echo $CC shows nothing.
echo $CXX shows '/usr/bin/ccache /usr/bin/c++'

At some point in the last year I added 'ccache' for use with QGis.

For ./configure there is:
export PYTHONHOME=/home/mj10777/000_links/apps_local/libQt592;
CXX="/usr/bin/g++" CFLAGS="-Wall" LDFLAGS="-s" ./configure  \
--prefix=/home/mj10777/000_links/apps_local/gdal_git_master \
... etc

but for make, the first value is active.

So this may be cause by either:
- not setting CXX with /usr/bin/ccache during ./configure
- or setting the same value during make that was used with ./configure

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171214/a8a19f26/attachment.html>


More information about the gdal-dev mailing list