<div dir="ltr">Since sometime since the end of August, the building of the swig portion fails with a final message of<div><br></div><div><div>/usr/bin/ccache: invalid option -- 'p'</div></div><div><br></div><div>Before this point, after the message:</div><div><br></div><div><div>----------------------------------------------------------------------</div><div>The GDAL python package has been installed in /home/mj10777/000_links/apps_local/gdal_git_master/lib/python3.4/site-packages</div><div>Please ensure to add /home/mj10777/000_links/apps_local/gdal_git_master/lib/python3.4/site-packages to your PYTHONPATH</div><div>----------------------------------------------------------------------</div></div><div><br></div><div>come the following message, which I assume is the true cause:</div><div><br></div><div><div>env PYTHONPATH=/home/mj10777/000_links/apps_local/gdal_git_master/lib/python3.4/site-packages${PYTHONPATH:+:$PYTHONPATH} \</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>/home/mj10777/000_links/apps_local/libQt592/bin/python3.4 setup.py install --single-version-externally-managed --record=record.txt --prefix=/home/mj10777/000_links/apps_local/gdal_git_master</div><div>WARNING: "CXX=/bin/bash /home/mj10777/000_links/gdal_dev/gdal.git/gdal/gdal/libtool --mode=compile --tag=CXX /usr/bin/g++ -std=c++11" was defined in the environment and contains more than one word. Unsetting it since that is incompatible of distutils</div><div><br></div><div>running install</div><div>running build</div><div>running build_py</div><div>running build_ext</div></div><div><br></div><div>then:</div><div><br></div><div><div>gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/home/mj10777/000_links/apps_local/libQt592/include/python3.4m -I/home/mj10777/000_links/apps_local/libQt592/lib/python3.4/site-packages/numpy/core/include -I/home/mj10777/000_links/gdal_dev/gdal.git/gdal/gdal/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o</div><div>cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++</div><div>gdal_python_cxx11_test.cpp:3:2: error: #error "C++11 required"</div><div> #error "C++11 required"</div></div><div><br></div><div>then after the message 'building 'osgeo._gdal' extension'</div><div><br></div><div>comes the 'ccache: invalid option -- 'p'' message and ends.</div><div>(ccache version 3.1.9)</div><div><br></div><div>I assume the 'WARNING: "CXX=/bin/bash' is the true cause, but really have no idea how to resolve this.</div><div><br></div><div>I am using the same ./configure as always, and the error/warnings show only:</div><div><br></div><div><div>/bin/bash: ./config.rpath: No such file or directory</div><div>config.status: WARNING:  '<a href="http://GDALmake.opt.in">GDALmake.opt.in</a>' seems to ignore the --datarootdir setting</div><div>configure: WARNING: --with-libxml2 and --with-fgdb are both available. There might be some incompatibility between system libxml2 and the embedded copy within libFileGDBAPI</div></div><div><br></div><div>which I assume is not the cause, since this only occurs durring the swig portion.</div><div><br></div><div>When '<span class="gmail-Apple-tab-span" style="white-space:pre">      </span>(cd swig; $(MAKE) install)' is commented out in the GNUmakefile file, everything else runs and installs.</div><div><br></div><div>Mark Johnson, Berlin Germany</div><div><br></div><div><br></div><div><br></div></div>