Coder Social home page Coder Social logo

php-libvirt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-libvirt's Issues

Compilation error

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

Is there updates for this repo?

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。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.