Re: Trying to build git-head
- From: Ulrik Sverdrup <ulrik sverdrup gmail com>
- To: SanskritFritz <sanskritfritz gmail com>
- Cc: Kupfer list <kupfer-list gnome org>
- Subject: Re: Trying to build git-head
- Date: Fri, 4 Mar 2011 16:19:04 +0100
2011/3/4 SanskritFritz <sanskritfritz gmail com>:
> I try to build kupfer from the git, based on this AUR script:
> https://aur.archlinux.org/packages.php?ID=43459
>
> This is how I modified it (basically just threw outdated waf out, installing
> it separately as makedepend):
>
>
>> ... [snip]
>> makedepends=('git' 'python2-waf')
>> ... [snip]
>> #
>> # BUILD HERE
>> #
>>
>> # Python2 fixes
>> export PYTHON="/usr/bin/python2"
>>
>> sed \
>> -e "s_env python_&2_" \
>> -e "s_bin/python_&2_" \
>> -i `grep -rlE "(env python|bin/python)" .`
>>
>> waf configure --prefix=/usr
>> waf
>> }
>>
>> package() {
>> cd "$srcdir/$_gitname-build"
>>
>> waf install -f --destdir="$pkgdir/"
>> }
>
> Now when I run makepkg, waf complains like this:
>
>> Setting top to :
>> /Common/Builds/aur/kupfer-git/src/kupfer-build
>> Setting out to :
>> /Common/Builds/aur/kupfer-git/src/kupfer-build/build
>> Checking for program python : /usr/bin/python2
>> Checking for python version : (2, 7, 1, 'final', 0)
>> Checking for program msgfmt : /usr/bin/msgfmt
>> Checking for program perl : /usr/bin/perl
>> Checking for 'intltool-merge' : /usr/bin/intltool-merge
>> Checking for program xml2po : not found
>> Could not find the program xml2po
>> (complete log in
>> /Common/Builds/aur/kupfer-git/src/kupfer-build/build/config.log)
>
>
> What is this xml2po, and is it really necessary? Sadly there is no package
> for it in the aur.
Hi, it's in this package for arch:
http://www.archlinux.org/packages/extra/any/gnome-doc-utils/files/
It's an optional feature (for the Help/Yelp pages), but it seems waf
1.6 treats the same configuration code differently, so now it's
non-optional. It'll be fixed, thanks for reporting.
Ulrik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]