[pve-devel] Setup Development Environment

Seth Lauzon seth.lauzon at gmail.com
Thu Jun 23 22:47:49 CEST 2011


I am adding some additional details to the README.dev file to make it a little easier to setup a development environment.  I have run into a problem installing 'redhat-cluster/trunk'.  The error is below:

make[4]: Leaving directory `/usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0/contrib'
install -d /usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0/debian/tmp//etc/cluster/cman-notify.d
install -d /usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0/debian/tmp//var/log/cluster
install -d /usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0/debian/tmp//var/lib/cluster
install -d /usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0/debian/tmp//var/run/cluster
make[3]: Leaving directory `/usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0'
# we do not install upstream doc
rm -rf debian/tmp/usr/share/doc/cluster
# move udev rules to correct location
install -d -m 0755 debian/tmp/lib/udev/rules.d
mv debian/tmp/etc/udev/rules.d/51-dlm.rules debian/tmp/lib/udev/rules.d/45-dlm.rules
mv: cannot stat `debian/tmp/etc/udev/rules.d/51-dlm.rules': No such file or directory
make[2]: *** [override_dh_auto_install] Error 1
make[2]: Leaving directory `/usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0'
make[1]: *** [binary] Error 2
make[1]: Leaving directory `/usr/local/src/pve/redhat-cluster/trunk/cluster-3.1.0'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
make: *** [redhat-cluster-pve_3.1.0-1_amd64.deb] Error 2

I will continue to do some research and try to solve this problem myself, but any info you can provide is greatly appreciated.


On Jun 23, 2011, at 10:42 AM, Dietmar Maurer wrote:

> I already started a document about that:
> https://devel.proxmox.com/websvn/filedetails.php?repname=Proxmox+Virtual+Environment&path=%2Fpve-common%2Ftrunk%2FREADME.dev
> usually you simple type 'make' to generate the debian packages. Please report any errors.
> For your convenience, some packages have a 'dinstall' target, which creates the debian packages and installs it afterward
> - Dietmar Maurer
>> I am working to setup a development environment of PVE 2.0.  I have a list of
>> the packages I am to install to get a working copy, but it may be outdated.  I also
>> would like to know the command to use to build the source into working .deb
>> files.  If anyone can provide any assistance I would greatly appreciate it.

More information about the pve-devel mailing list