<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Christian, *:<br><div><div>On 2011-05-06, at 12:05 PM, Christian Lohmaier wrote:</div><blockquote type="cite"><div>Hi Peter, *,<br><br>On Fri, May 6, 2011 at 5:35 PM, Peter Teeson <<a href="mailto:peter.teeson@bell.net">peter.teeson@bell.net</a>> wrote:<br><blockquote type="cite">[...]<br></blockquote><blockquote type="cite">OK my version of ccache is 3.1.4<br></blockquote><br>And are you sure that this is also used when building?<br>Please show configure's output regarding the ccache check.<br><br>And also make sure to run configure/autogen.sh from a clean shell,<br>without having the environment variables from a previous compile set<br>(i.e. from a shell were you didn't source the MacOSX*Env.Set.sh file)<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><snip><br><blockquote type="cite"><div>This really looks like the ccache bug wrt. --ccache-skip handling,<br>where it would strip the wrong arguments.<br><br>when use of ccache-skip is enabled, the following:<br><a href="http://cgit.freedesktop.org/libreoffice/bootstrap/tree/solenv/inc/unxmacx.mk#n103">http://cgit.freedesktop.org/libreoffice/bootstrap/tree/solenv/inc/unxmacx.mk#n103</a><br># -x options generally ignored by ccache, tell it that it can cache<br># the result nevertheless<br>CCACHE_SKIP:=$(eq,$(USE_CCACHE),YES --ccache-skip $(NULL))<br>OBJCXXFLAGS:=$(CCACHE_SKIP) -x $(CCACHE_SKIP) objective-c++ -fobjc-exceptions<br></div></blockquote><br>I completely understand this (I looked at the web page)</div><div><br><blockquote type="cite"><div>will result in "--ccache-skip -x --ccache-skip objective-c++<br>-fobjc-exceptions" to be added to the compile flags.<br>Your snippet (single-process build would be easier to tell what line<br>belongs to what execution) shows that apparently<br>"-x --ccache-skip objective-c++ -fobjc-exceptions" ends up being<br>passed to the compiler.<br><br>And this clearly is wrong, the real compiler should be called with "-x<br>objective-c++ -fobjc-exceptions"<br><br>I still think something is wrong with your ccache-setup. Please post<br>what the variable CXX and CC are set to in the MacOSX*Env.Set.sh<br>file/what compiler command is actually used.<br></div></blockquote><div>Last login: Fri May 6 15:52:58 on ttys000</div><div>Gandalf:~ pteeson$ cd git/libo</div><div>Gandalf:libo pteeson$ source ./MacOSXX86Env.Set.sh</div><div>Gandalf:libo pteeson$ env</div><div>.............</div>CXX=/usr/bin/g++-4.0</div><div>CC=/usr/bin/gcc-4.0</div><div>.......</div><div><br><blockquote type="cite"><div>How did you setup ccache? Using symlinks or by passing environment variables?<br><br>ciao<br>Christian<br></div></blockquote><br>Installed ccache from the downloaded tar.bz2 file which was unpacked into a folder labelled ccache-3.1.4.</div><div>From the Terminal I did </div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">./configure</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">make</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">make install</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><br></span></div><div><span class="Apple-style-span" style="white-space: pre; ">NOTE: From log of last ./autogen.sh which I just ran (without --enable-cache-skip)echo.</span></div><div><span class="Apple-style-span" style="white-space: pre; ">NOTE: I get these same lines whether or not --enable-cache-skip is passed to autogen.</span></div><div><span class="Apple-style-span" style="white-space: pre; ">NOTE: Perhaps this is the nub of the problem?</span></div><div><span class="Apple-style-span" style="white-space: pre; "><br></span></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">checking whether we are allowed and able to use --ccache-skip... probing...
checking for ccache... /usr/local/bin/ccache
checking whether version of ccache is suitable... no
configure: ccache version 3.1.4 not accepted. See description for --enable-ccache-skip</span></font><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">
</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">What next?</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">Peter</span></div><div><div><br></div></div><br></body></html>