OpenVZ Forum


Home » General » Support » *SOLVED* vzctl-3.0.10 make install fails
*SOLVED* vzctl-3.0.10 make install fails [message #3666] Fri, 09 June 2006 14:32 Go to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Hello!

make install
for file in src; do \
(cd $file && make -f Makefile install) \
done
make[1]: Entering directory `/vz/src/vzctl-3.0.10/src'
gcc -Wall -g2 -I ../include vzctl.o vzctl-actions.o modules.o enter.o -L. -Wl,-rpath=/usr/lib/vzctl/lib -ldl libvzctl.so.0.0.2 libvzctl-fs.so -lutil -o vzctl
install -d /etc/vz
install -d /usr/sbin
install -d /etc/vz/conf
install -d /usr/lib/vzctl/scripts/
install -d /usr/share/vzctl/scripts
install -d /etc/cron.d
install -d /etc/init.d
install -d /vz/lock
install -d /vz/dump
install -d /etc/logrotate.d
install -d /vz/template/cache
install -d /var/lib/vzctl/veip
install -d
install: too few arguments
Try `install --help' for more information.
make[1]: *** [inst-dirs] Error 1
make[1]: Leaving directory `/vz/src/vzctl-3.0.10/src'
make: *** [install] Error 2

[Updated on: Tue, 13 June 2006 06:28] by Moderator

Report message to a moderator

Re: vzctl-3.0.10 make install fails [message #3675 is a reply to message #3666] Fri, 09 June 2006 15:31 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Sorry for inconvinience and thanks for report.
Please, just remove the string
Quote:

$(INSTALL) -d $(DESTDIR)$(IPSTATEDIR)

from ./src/Makefile in vzctl sources.
icon4.gif  Re: vzctl-3.0.10 make install fails [message #3676 is a reply to message #3666] Fri, 09 June 2006 15:49 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
One more important thing!
In the new version of vzctl (3.0.10) file layout is changed:

/etc/sysconfig/vz-scripts -> /etc/vz/conf
/etc/sysconfig/vz-scripts/dists -> /etc/vz/dists
/etc/sysconfig/vz -> /etc/vz/vz.conf

So, to use old VPS's with new vzctl you must move directories
appropriately!

In RPM release it's handled automatically!
Previous Topic: VEs and dmz
Next Topic: amount of memory and processor
Goto Forum:
  


Current Time: Thu Sep 05 09:24:05 GMT 2024

Total time taken to generate the page: 0.05970 seconds