Krzysztof Zając wrote:
Hi,
I have to build freeipa package for centos server. I've downloaded
*.src.rpm file but after rpmbuild -ba command I receive the following
error:
tg-admin i18n compile
Traceback (most recent call last):
File "/usr/bin/tg-admin", line 5, in ?
from pkg_resources import load_entry_point
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2479, in ?
working_set.require(__requires__)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 585, in
require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 483, in
resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: Cheetah>=2.0.1
make[4]: *** [locales/ja/LC_MESSAGES/messages.mo] Error 1
make[4]: Leaving directory
`/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server/ipa-gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server/ipa-gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server'
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.88078 (%build)
I'm not entirely sure, it seems like you're missing something though.
This was seen once before that I know of and we didn't get a follow-up
if there was a fix:
http://www.mail-archive.com/[email protected]/msg00383.html
Do you have python-cheetah installed?
rob
_______________________________________________
Freeipa-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-users