Problem compiling latest copy of policykit

Daniel ktdann at gmail.com
Wed Jul 16 19:55:11 PDT 2008


Hi there,

I've checked out the latest copy of policykit by running, below command.
# git clone git://anongit.freedesktop.org/git/PolicyKit

After that, I've ran "autogen.sh", followed by "configure"
configure, first complained that I needed intltoolize utility greater than
0.36.0
So, I got a copy 0.36.3 off the net and completed configure successfully.
However, during 'make', it fails with below error.

make[2]: Leaving directory `/home/<login>/build/src/tmp1/PolicyKit/tools'
Making all in policy
make[2]: Entering directory `/home/<login>/build/src/tmp1/PolicyKit/policy'
Makefile:429: *** missing separator.  Stop.
make[2]: Leaving directory `/home/<login>/build/src/tmp1/PolicyKit/policy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<login>/build/src/tmp1/PolicyKit'
make: *** [all] Error 2

Here is a cut out of policy/Makefile, Line number 429

@INTLTOOL_POLICY_RULE@

I can see the problem. It's with intltool. It's meant to substitute that
line, but it's not doing it.

After googling for a while, I found a comment that I should use intltool
version 0.37.1
So, naturally I followed that recommendation. But, even then, make still
fails with same error.

FYI, I tried with the latest copy of intltool. That is 0.40.0
This version of intltool no longer generates "intltool-update.in" and few
others that is needed by PolicyKit.
However, even getting around that problem, I still failed 'make' with same
error.

What am I doing wrong?

Thank you in advance.

-- 
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/polkit-devel/attachments/20080717/ef0e18f7/attachment.html 


More information about the polkit-devel mailing list