[libvirt] FreeBSD Port, update to 0.9.2 compile error
Jason Helfman
jhelfman at e-e.com
Fri Jul 1 20:58:10 UTC 2011
On Fri, Jul 01, 2011 at 08:57:35AM -0600, Eric Blake thus spake:
>On 07/01/2011 01:08 AM, Daniel Veillard wrote:
>>>>>> another way would be to launch python directly giving the path to the
>>>>>> python script, this is likely to solve the issue there.
>>>>
>
>>> I was wondering if this issue was addressed in the upcoming release?
>>
>> Oops, no but it should be as simple as the following patch, we should
>> be able to get this fixed in time !
>
>>
>> diff --git a/docs/Makefile.am b/docs/Makefile.am
>> index 689fe32..050ebe1 100644
>> --- a/docs/Makefile.am
>> +++ b/docs/Makefile.am
>> @@ -181,7 +181,7 @@ $(python_generated_files): $(srcdir)/apibuild.py \
>> $(srcdir)/../include/libvirt/*.h \
>> $(srcdir)/../src/libvirt.c \
>> $(srcdir)/../src/util/virterror.c
>> - $(AM_V_GEN)srcdir=$(srcdir) $(srcdir)/apibuild.py
>> + $(AM_V_GEN)srcdir=$(srcdir) $(PYTHON) $(srcdir)/apibuild.py
>>
>> check-local: all
>>
>
>ACK.
>
>--
>Eric Blake eblake at redhat.com +1-801-349-2682
>Libvirt virtualization library http://libvirt.org
>
I applied this patch (cleanly), and it still breaks:
gmake[3]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.3/tools'
gmake[2]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.3/tools'
Making all in docs
gmake[2]: Entering directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.3/docs'
GEN libvirt-api.xml
./apibuild.py: not found
gmake[2]: *** [libvirt-api.xml] Error 127
gmake[2]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.3/docs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.3'
gmake: *** [all] Error 2
*** Error code 1
From the top of the file:
#!/usr/bin/python -u
From Makefile.am after patch:
$(python_generated_files): $(srcdir)/apibuild.py \
$(srcdir)/../include/libvirt/*.h \
$(srcdir)/../src/libvirt.c \
$(srcdir)/../src/util/virterror.c
$(AM_V_GEN)srcdir=$(srcdir) $(PYTHON) $(srcdir)/apibuild.py
-jgh
--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5
More information about the libvir-list
mailing list