On FreeBSD we have an old (to old for libreoffice) version of gperf in base (/usr/bin/gperf) and we can install a newer version from ports (/usr/local/bin/gperf)
by default the configure script fails finding the old version of gperf.
if I set GPERF=/usr/local/bin/gperf before the configure script it finds the newer one and is happy.
but building libreoffice fails. because the following files :
uses gperf from path.
Two work around are possible : declare /usr/local/bin first in path or replace gperf by /usr/local/bin/gperf in those files.
The best thing would be to use the absolute path of the detected gperf (sorry I don't have a patch for that)
sounds we should AC_SUBST([GPERF]) in configure.in after the check and then just
use $(GPERF) in the makefile
I agree with Rene, that's the correct way.
Any takers for cooking up a patch?
thorsten: yes, me :)
Created attachment 41086 [details]
patch (as pushed to master)
this patch should do it (also committed and pushed to master)
now also in libreoffice-3-3 (-> will be fixed in rc2)
Closing - Sophie