On 30.11.2015 19:01, Remi Collet wrote:
Le 30/11/2015 15:56, Michal Privoznik a écrit :
> there's a plenty of other features missing - e.g. docs won't be built with
this.
Yes, as I said in my initial email, mostly a PoC.
> I don't know about tests, because I am unable to get this working on
my machine. I mean, this is what I've managed to get to:
phpize / configure / make should be run (for now) in src dir.
Typo fix in attached patch
Remi.
Oh, we use to post another versions of patches as yet again diffs to HEAD not diffs to
previous versions. I had to go and apply previous versions - which was not much work in
this specific case, but yet slightly more than just plain 'git am a.patch'.
Anyway, this seems like it should work. At least I'm able to get pass ./configure. But
make is still not working for me:
libvirt-php.git/src $ make
/bin/sh /home/zippy/work/libvirt/libvirt-php.git/src/libtool --mode=compile cc -I.
-I/home/zippy/work/libvirt/libvirt-php.git/src -DPHP_ATOM_INC
-I/home/zippy/work/libvirt/libvirt-php.git/src/include
-I/home/zippy/work/libvirt/libvirt-php.git/src/main
-I/home/zippy/work/libvirt/libvirt-php.git/src -I/usr/lib64/php5.5/include/php
-I/usr/lib64/php5.5/include/php/main -I/usr/lib64/php5.5/include/php/TSRM
-I/usr/lib64/php5.5/include/php/Zend -I/usr/lib64/php5.5/include/php/ext
-I/usr/lib64/php5.5/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g
-O2 -c /home/zippy/work/libvirt/libvirt-php.git/src/libvirt-php.c -o libvirt-php.lo
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
Makefile:181: recipe for target 'libvirt-php.lo' failed
make: *** [libvirt-php.lo] Error 63
But that may be my php package broken. Well, how about you squashing all those partial
diffs into one patch and send it to the list so that I can apply it? We can have it as a
feature preview until the time we sort out all the issues. Then we can just switch to it.
http://libvirt.org/hacking.html
Michal