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

[libvirt] A few small libvirt build issues

I've hit a few small build issues that I don't know how to fix.

daemon/libvirtd.init isn't regenerated if ./configure is re-run. If I do:

./configure --prefix=/foo && make && ./configure --prefix=/bar && make

daemon/libvirtd.init will reference /foo and not /bar. The logrotate
files are affected as well.

Second issue involves root squash homedir which I use regularly for
development. If I ./configure && make -j4 && sudo make install, I get
the following error:

Making install in python
make[1]: Entering directory
Making install in .
make[2]: Entering directory
make[3]: Entering directory
test -z "/usr/lib64/python2.6/site-packages" || /bin/mkdir -p
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libvirtmod.la
libtool: install: warning: relinking `libvirtmod.la'
libtool: install: (cd
 --silent --tag CC --mode=relink gcc -Wno-redundant-decls -g -O2 -module
-avoid-version -shared -L../src/.libs -o libvirtmod.la -rpath
/usr/lib64/python2.6/site-packages libvirtmod_la-libvirt-override.lo
libvirtmod_la-typewrappers.lo libvirtmod_la-libvirt.lo ../src/libvirt.la
-ldl )
mv: cannot move `libvirtmod.so' to `libvirtmod.soU': Permission denied
libtool: install: error: relink `libvirtmod.la' with the above command
before installing it

My automake-fu is weak so I haven't had much luck decoding any of this.
'make install' seems to want to run that relink command every time,
running it by hand doesn't help any.

Anyone have any thoughts? Jim, Eric, I figure you guys would know best,
so any input appreciated.


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