As Kees Cook suggested backports is for me the way to go. I do not want
only the security updates, but rather the full version. Mostly for the
(hopefully) improved error handling and some features that should make
life much easier.

It seemed the software compiled and packaged file on my testing
environment, making it likely that it should work as a package imho.
Included are the things I've done to build the packages for heartbeat-2.

I have done software development, but never touched debian packages.
I've used linux as is, provided by other people.

Maybe this helps in getting the package to be build for backports?
Any suggestions for further steps, like I said, I don't know my way
arround in linux ubuntu/debian development.

Regards,

- Joris


Below is a description what actions where taken to build heartbeat 2.0.7 on 
ubuntu dapper.
Done on 19 december on a cleanly installed with all packages 
upgrade/dist-upgrade to latest.
Universe has been added to source.list.

Some notes:
* with unpack we mean deleting the source repository (if existing) and 
unpacking the tar.gz file that was downloaded from linux-ha.org again.
* I did not clean up this discription, but left what I have done. Hopefully 
I've not forgotten anything ;)

====
Download:
heartbeat 2.0.7 sources from linux-ha.org

dependancy:
build-essential (for compiler & toolchain)
pkgconfig               pkg-config
glib2-devel             libglib2.0-0    libglib2.0-dev
libnet                  libnet1         libnet1-dev

/usr/bin/ld .. -lz ..
results in: cannot find -lz...
Seems like library z is missing (what is this?)
try:                    zlib1g          zlib1g-dev
unpack, reconfigure, resolved

Got error on xml.c: variable not used.
try:                    libbz2-1.0      libbz2-dev
unpack, reconfigure, resolved

Error in crm_mon.c
try:                    libncurses5     libncurses5-dev
unpack, reconfigure, resolved

Compilation seems to be done correctly.

make install, does work... (it seems, not really tested)

unpack again.
./ConfigureMe package
Unmet build dependencies:
debhelper                       debhelper
libsnmp9-dev                    libsnmp9        libsnmp9-dev
modutils                        modutils
libtool                         libtool
libcurl3-openssl-dev            libcurl3        libcurl3-dev
libsensors-dev                  libsensors3     libsensors-dev
libltdl3-dev                    libltdl3        libltdl3-dev
swig                            swig
libgnutls-dev                   libgnutls-dev   libgnutls12
python2.3-dev                   python2.3       python2.3-dev
libpam0g-dev                    libpam0g        libpam0g-dev

./ConfigureMe package
Unmet build dependencies:
libxml2-dev                     libxml2         libxml2-dev
bison                           bison
flex                            flex
uuid-dev                        libuuid1        uuid-dev
libopenipmi-dev                 libopenipmi0    libopenipmi-dev 
lynx                            lynx                                    // why 
need this???
uuid-dev

./ConfigureMe package
failed on fakeroot: command not found

attempt installing:             devscripts      dh-make
./ConfigureMe package
attempt installing:             fakeroot
./ConfigureMe package
Complaining about Python.h
unpack, ./ConfigureMe package

Install package                 python2.4-dev
Found Python.h, /usr/include/python2.3/Python.hl; 
/usr/include/python2.4/Python.h
Configure script seems to find the 2.4 also (if I can read sufficiently fast)

Try again:
unpack, ./ConfigureMe package

Works, packaging is complete...
Package itself was not tested for deployment.


Observation: need to update the version number! It reports 2.0.5-8, which 
cannot be correct.

-- 
Request heartbeat-2 upgrade to recommended 2.0.7
https://launchpad.net/bugs/71941

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to