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

[Xen-users] build xen-4.5.0-rc1 on Debian 8 (Jessie) with systemd


  • To: Xen-users <xen-users@xxxxxxxxxxxxx>
  • From: Mark Pryor <tlviewer@xxxxxxxxx>
  • Date: Sun, 23 Nov 2014 23:51:04 +0000 (UTC)
  • Delivery-date: Sun, 23 Nov 2014 23:52:56 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=nqHXQUbKOwlhzywE3FxwidnaKG0XQ4TCGJfKUd1G/hI35GffmKfFBycqUmZ4sIiaZ0laDsSS+DZ5ZmYrVB3HssiddL2xqSzOCV4P5dttVkUt41I2zJvIvgCpXS47hDo4AX3CRpR+Bk2d6bLgqcvYPA0LFSIIKpEQdNEsFcVVi+4/75Z2cGAUESgSC1DjS5OqcNX2RtzkJP2x6V+wexp/8Tt5eKoKZNw0LE+QSRow7tRsb5sHC4KHII7m0MrTpvcyCov+OV1N7wnNfTW8jPcdUYYrEFyHenSoKBJicsShgo7zTMMDoLj1XCagf7wONTSa9sE+Nh7Bgima5aQr+hLpEg==;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

List,

When trying to build 4.5.0-rc1 (tarball) on Jessie,
`./configure --enable-systemd --prefix=/usr`
will fail when libsystemd-daemon.so is not found in the LIB path (ldconfig -p)

the problem is libsystemd-daemon.so.0 is in the path, but it's not the one needed by the
./configure script

After some prodding and pulling, I fixed it like this
Install the packages below,

libsystemd-daemon-dev 
libsystemd-daemon0 

Then make a symlink so we can satisfy (m4/systemd.m4)
 cd /lib/x86_64-linux-gnu/;sudo ln -s libsystemd-daemon.so.0.0.12 libsystemd-daemon.so

Now the configure script will run and systemd is included

time make dist > ~/xendout.out
du -s ./dist/install is now 75MB, instead of 72MB

chmod +x ./tools/misc/mkdeb
fakeroot ./tools/misc/mkdeb $(pwd) 4.5.0-rc1

ls -al ./dist/xen-upstream-4.5.0-rc1.deb -> 22648788










_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.