[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] FreeBSD Port, update to 0.9.2 compile error



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, Jun 07, 2011 at 09:45:41PM -0600, Eric Blake thus spake:
>On 06/07/2011 09:27 PM, Jason Helfman wrote:
>> Hi,
>>
>> I am trying to update the port for libvirt to 0.9.2, but am receiving a new
>> compiling error, that I have not seen yet.
>
>Is this a VPATH build?
>
>> `/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.2/docs'
>>   GEN    libvirt-api.xml
>> ./apibuild.py: not found
>
>What does 'gmake V=1' show for the full command being attempted here?
>
>> Any thoughts?
>
>Possibly a missing make dependency, or a VPATH problem.  I'll try to
>find some time to look into it tomorrow (it's late for me tonight).
>

I found the issue in building was an absolute path for apibuild.py for
python, that is incorrect on FreeBSD.

Here is a patch:

- --- ./docs/apibuild.py.orig	2011-06-07 21:31:43.000000000 -0700
+++ ./docs/apibuild.py	2011-06-07 21:31:55.000000000 -0700
@@ -1,4 +1,4 @@
- -#!/usr/bin/python -u
+#!/usr/bin/env python
  #
  # This is the API builder, it parses the C sources and build the
  # API formal description in XML.
- -- 
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iF4EAREIAAYFAk3vEcIACgkQXpKtZoyM+6UTDgD+M0FhJEjiE79Q8H2mODWYWwlO
IUJYUqK7Wc4RwKki5LAA/AqgFeYD+JzPvQ3fOSEb0h4RmCKENYKEdppO22F9DOF3
=oNes
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]