kedarius / php-libvirt Goto Github PK
View Code? Open in Web Editor NEWPHP bindings for Libvirt API
Home Page: http://phplibvirt.cybersales.cz/
PHP bindings for Libvirt API
Home Page: http://phplibvirt.cybersales.cz/
Hi,
I've got a problem to compile php-libvirt.
./phpize and ./configure --enable-libvirt are OK.
(Environment : OS : Ubuntu 13.04 / Php 5.4.9 / libvirt-dev installed)
But ./make send this stacktrace :
/tmp/php-libvirt/libvirt.c:271:5: warning: passing argument 2 of 'virSetErrorFunc' from incompatible pointer type [enabled by default]
In file included from /tmp/php-libvirt/libvirt.c:9:0:
/usr/include/libvirt/virterror.h:319:8: note: expected 'virErrorFunc' but argument is of type 'int ()(void *, struct virError *)'
/tmp/php-libvirt/libvirt.c: In function 'zif_libvirt_node_get_info':
/tmp/php-libvirt/libvirt.c:518:3: warning: passing argument 4 of 'add_assoc_string_ex' makes pointer from integer without a cast [enabled by default]
In file included from /usr/include/php5/main/php.h:39:0,
from /tmp/php-libvirt/libvirt.c:5:
/usr/include/php5/Zend/zend_API.h:379:14: note: expected 'char *' but argument is of type 'long int'
/tmp/php-libvirt/libvirt.c: In function 'zif_libvirt_domain_get_name':
/tmp/php-libvirt/libvirt.c:1016:7: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
make: ** [libvirt.lo] Erreur 1
a solution ?
thanks
This version of php binding for libvirt is out of date, and cannot work well with new version of libvirt, I think we should maintain it for users who use php as backend on virtualization projects。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.