Add a ./run script for running programs from the local directory.

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

 



In libguestfs we successfully use a ./run script which sets up the
environment so you can run libguestfs programs (internal and external
ones, in C and non-C) without needing to install anything.  This adds
a similar script for libvirt.

Here is the documentation included in the script:

# With this script you can run libvirt programs without needing to
# install them first.  You just have to do for example:
#
#   ./run ./tools/virsh [args ...]
#
# If you are already in the tools/ subdirectory, then the following
# command will also work:
#
#   ../run ./virsh [...]
#
# You can also run the C programs under valgrind like this:
#
#   ./run valgrind [valgrind opts...] ./program
#
# or under gdb:
#
#   ./run gdb --args ./program
#
# This also works with sudo (eg. if you need root access for libvirt):
#
#   sudo ./run ./tools/virsh list --all




--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]