Hi,
Aside from what Daniel already said I want to add that, at least in my
environments, 'make install' fails if I attempt the following:
mkdir build
cd build
../autogen.sh --prefix=$PWD
make
make install
or
mkdir build
cd build
../autogen.sh --prefix=$PWD/..
make
make install
If I set up '--prefix' with a directory that's not a subdir of srcdir,
it works.
I am not sure if setting prefix=srcdir was a good idea in the first
place, but it was working for me in the old build setup and now it
doesn't work anymore. Thus if anyone is having the same issue, try using
a prefix that's not a subdir of 'srcdir'.
Thanks,
DHB
On 11/11/19 7:38 AM, Daniel P. Berrangé wrote:
A quick heads up to people who are pulling latest libvirt this
morning.
Late on friday we pushed the series from Pavel which mandates that libvirt
does a VPATH build. ie you can't build directly in the source tree, you
must have a separate build directory.
IOW, instead of doing
./autogen.sh
make
You must change to
mkdir build
cd build
../autogen.sh
make
"build" can be any directory you like, and doesn't have to be a subdir
of the src checkout.
Most built files now live outside the srcdir - we only have autotools
related artifacts in srcdir now, and so the gitignore file is much
simpler.
Regards,
Daniel