configure: error: systemd system unit directory is required

   71s] + configure --help   71s] `configure' configures bluez 5.5 to adapt to many kinds of systems.
   71s] 
   71s] Usage: ./configure [OPTION]... [VAR=VALUE]...
   71s] 
   71s] To assign environment variables (e.g., CC, CFLAGS...), specify them as
   71s] VAR=VALUE.  See below for descriptions of some of the useful variables.
   71s] 
   71s] Defaults for the options are specified in brackets.
   71s] 
   71s] Configuration:
   71s]   -h, --help              display this help and exit
   71s]       --help=short        display options specific to this package
   71s]       --help=recursive    display the short help of all the included packages
   71s]   -V, --version           display version information and exit
   71s]   -q, --quiet, --silent   do not print `checking ...' messages
   71s]       --cache-file=FILE   cache test results in FILE [disabled]
   71s]   -C, --config-cache      alias for `--cache-file=config.cache'
   71s]   -n, --no-create         do not create output files
   71s]       --srcdir=DIR        find the sources in DIR [configure dir or `..']
   71s] 
   71s] Installation directories:
   71s]   --prefix=PREFIX         install architecture-independent files in PREFIX
   71s]                           [/usr/local]
   71s]   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   71s]                           [PREFIX]
   71s] 
   71s] By default, `make install' will install all the files in
   71s] `/usr/local/bin', `/usr/local/lib' etc.  You can specify
   71s] an installation prefix other than `/usr/local' using `--prefix',
   71s] for instance `--prefix=$HOME'.
   71s] 
   71s] For better control, use the options below.
   71s] 
   71s] Fine tuning of the installation directories:
   71s]   --bindir=DIR            user executables [EPREFIX/bin]
   71s]   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   71s]   --libexecdir=DIR        program executables [EPREFIX/libexec]
   71s]   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   71s]   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   71s]   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   71s]   --libdir=DIR            object code libraries [EPREFIX/lib]
   71s]   --includedir=DIR        C header files [PREFIX/include]
   71s]   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   71s]   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   71s]   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   71s]   --infodir=DIR           info documentation [DATAROOTDIR/info]
   71s]   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   71s]   --mandir=DIR            man documentation [DATAROOTDIR/man]
   71s]   --docdir=DIR            documentation root [DATAROOTDIR/doc/bluez]
   71s]   --htmldir=DIR           html documentation [DOCDIR]
   71s]   --dvidir=DIR            dvi documentation [DOCDIR]
   71s]   --pdfdir=DIR            pdf documentation [DOCDIR]
   71s]   --psdir=DIR             ps documentation [DOCDIR]
   71s] 
   71s] Program names:
   71s]   --program-prefix=PREFIX            prepend PREFIX to installed program names
   71s]   --program-suffix=SUFFIX            append SUFFIX to installed program names
   71s]   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   71s] 
   71s] System types:
   71s]   --build=BUILD     configure for building on BUILD [guessed]
   71s]   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   71s] 
   71s] Optional Features:
   71s]   --disable-option-checking  ignore unrecognized --enable/--with options
   71s]   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   71s]   --enable-FEATURE=ARG]  include FEATURE [ARG=yes]
   71s]   --enable-silent-rules          less verbose build output (undo: `make V=1')
   71s]   --disable-silent-rules         verbose build output (undo: `make V=0')
   71s]   --disable-dependency-tracking  speeds up one-time build
   71s]   --enable-dependency-tracking   do not reject slow dependency extractors
   71s]   --enable-maintainer-mode  enable make rules and dependencies not useful
   71s] 			  (and sometimes confusing) to the casual installer
   71s]   --enable-static=PKGS]  build static libraries [default=no]
   71s]   --enable-shared=PKGS]  build shared libraries [default=yes]
   71s]   --enable-fast-install=PKGS]
   71s]                           optimize for fast installation [default=yes]
   71s]   --disable-libtool-lock  avoid locking (might break parallel builds)
   71s]   --disable-optimization  disable code optimization through compiler
   71s]   --enable-debug          enable compiling with debugging information
   71s]   --enable-pie            enable position independent executables flag
   71s]   --enable-threads        enable threading support
   71s]   --enable-library        install Bluetooth library
   71s]   --enable-test           enable test/example scripts
   71s]   --disable-tools         disable Bluetooth tools
   71s]   --disable-monitor       disable Bluetooth monitor
   71s]   --disable-usb           disable USB support
   71s]   --disable-udev          disable udev device support
   71s]   --disable-cups          disable CUPS printer support
   71s]   --disable-obex          disable OBEX profile support
   71s]   --disable-client        disable command line client
   71s]   --disable-systemd       disable systemd integration
   71s]   --disable-datafiles     do not install configuration and data files
   71s]   --enable-experimental   enable experimental plugins (SAP, NFC, ...)
   71s] 
   71s] Optional Packages:
   71s]   --with-PACKAGE=ARG]    use PACKAGE [ARG=yes]
   71s]   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   71s]   --with-pic              try to use only PIC/non-PIC objects [default=use
[   71s]                           both]
   71s]   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   71s]   --with-sysroot=DIR Search for dependent libraries within DIR
   71s]                         (or the compiler's sysroot if not specified).
   71s]   --with-dbusconfdir=DIR  path to D-Bus configuration directory
   71s]   --with-dbussystembusdir=DIR
   71s]                           path to D-Bus system bus services directory
   71s]   --with-dbussessionbusdir=DIR
   71s]                           path to D-Bus session bus services directory
   71s]   --with-udevdir=DIR      path to udev directory
   71s]   --with-systemdsystemunitdir=DIR
   71s]                           path to systemd system unit directory
   71s]   --with-systemduserunitdir=DIR    71s]                           path to systemd user unit directory

Hi
For openSUSE it should be;


--with-systemdsystemunitdir=%{_unitdir}


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.11-desktop
up 13:52, 3 users, load average: 0.17, 0.54, 0.57
CPU AMD Athlon™ II P360@2.30GHz | GPU Mobility Radeon HD 4200

I have got most of the files in the correct place but I need some help on the rest:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=bluez&project=home%3Aryanbach%3Abranches%3ABase%3ASystem&repository=openSUSE_12.1
Here is the spec file
https://build.opensuse.org/package/view_file?expand=1&file=bluez.spec&package=bluez&project=home%3Aryanbach%3Abranches%3ABase%3ASystem

It compiles now but I get this error and it makes it fail: (still need help to get it working on 64bit systems)
Source: https://build.opensuse.org/package/live_build_log?arch=ppc&package=bluez&project=home%3Aryanbach%3Abranches%3ABase%3ASystem&repository=openSUSE_Factory_PowerPC

How do I fix this so it doesn’t fail?
159s] I: Program returns random data in a function
159s] E: bluez no-return-in-nonvoid-function obexd/client/transfer.c:277
159s] E: bluez no-return-in-nonvoid-function obexd/src/manager.c:368

I also get:

159s] Updating /etc/sysconfig/bluetooth…
159s] Operation failed: No such file or directory

On Mon, 01 Jul 2013 21:16:02 GMT ryanbach wrote:

> How do I fix this so it doesn’t fail?
> 159s] I: Program returns random data in a function
> 159s] E: bluez no-return-in-nonvoid-function
> obexd/client/transfer.c:277
> 159s] E: bluez no-return-in-nonvoid-function
> obexd/src/manager.c:368
>

Ask upstream to rewrite the function.
Or do youself if you understand well.