[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] gnu: libxml2: Build python bindings separately.
From: |
宋文武 |
Subject: |
Re: [PATCH 2/2] gnu: libxml2: Build python bindings separately. |
Date: |
Sun, 31 May 2015 10:29:21 +0800 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) |
Mark H Weaver <address@hidden> writes:
> 宋文武 <address@hidden> writes:
>
>> * gnu/packages/xml.scm (libxml2)[native-inputs]: Remove python.
>> [arguments]: Remove.
>> (python-libxml2, python2-libxml): New variables.
>> ---
>> gnu/packages/xml.scm | 53
>> ++++++++++++++++++++++++++++++----------------------
>> 1 file changed, 31 insertions(+), 22 deletions(-)
>>
>> diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
>> index a4c81b2..22d4e52 100644
>> --- a/gnu/packages/xml.scm
>> +++ b/gnu/packages/xml.scm
>
> [...]
>
>> +(define-public python2-libxml
>> + (package-with-python2 python-libxml2))
>> +
>
> Due to non-obvious complications arising from the fact that xml.scm and
> python.scm are mutually dependent on each other, we can't use
> 'package-with-python2' from xml.scm. For now, I suggest moving it to
> python.scm, where all other uses of 'package-with-python2' are currently
> located.
>
> For an explanation, see:
>
> https://lists.gnu.org/archive/html/guix-devel/2014-12/msg00355.html
Thanks for explainging, but when I put it into python.scm,
I got "Unbound variable: libxml2" when running:
$ ./pre-inst-env guix package -i python2-libxml
or:
$ make
but not:
$ ./pre-inst-env guix build python2-libxml
Any ideas? Thanks!
Re: [PATCH 1/2] gnu: libxml2: Update to 2.9.2., Mark H Weaver, 2015/05/30