I am installing bluez 5.8 on Ubuntu 13.40 and while running ./configure, I am getting this error message.
checking systemd system unit dir... configure: error: systemd system unit directory is required
How do I resolve this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI am using Mint 15 and ran into same problem while installing BlueZ 5.8. Googling found your exact question. To solve it, had to add --with-systemdsystemunitdir and --with-systemduserunitdir configure options. Since Mint and Ubuntu have much in common, you may find that it works for you too. The complete command line is below. You may want to leave out the --enable-experimental flag so you don't get experimental plugins.
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd