Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: configure: error: systemd system unit directory is required

  1. #1

    Default configure: error: systemd system unit directory is required

    checking sytemd system unit dir... configure: error: systemd system unit directory is required
    https://build.opensuse.org/package/live_build_log?arch=x86_64&package=bluez&project=home%3Aryanbach%3Abranches%3ABase%3ASystem&repository=openSUSE_Factory

    This doesn't seem to work anymore:

    %if 0%{?has_systemd}
    --with-systemdunitdir=%{_unitdir} \
    %endif

    Any clue on what I should do? Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,655
    Blog Entries
    15

    Default Re: configure: error: systemd system unit directory is required

    On Mon 28 Jan 2013 12:36:01 AM CST, ryanbach wrote:


    checking sytemd system unit dir... configure: error: systemd system unit
    directory is required
    https://build.opensuse.org/package/l...enSUSE_Factory

    This doesn't seem to work anymore:

    %if 0%{?has_systemd}
    --with-systemdunitdir=%{_unitdir} \
    %endif

    Any clue on what I should do? Thanks in advance.


    Hi
    This is why;
    Code:
    [   97s] configure: WARNING: unrecognized options:
    --with-systemdunitdir, --enable-gstreamer, --enable-alsa,
    --enable-bccmd, --enable-hid2hci, --enable-dfutool, --enable-pand,
    --enable-dund, --enable-wiimote, --enable-pcmcia
    It doesn't understand the above.....

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 1 day 8:07, 3 users, load average: 0.30, 0.12, 0.07
    CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile


  3. #3

    Default Re: configure: error: systemd system unit directory is required

    Now it needs this: --with-systemduserunitdir, what variable do I use to get it? %{_userdir}?
    "
    systemd user unit directory is required"
    https://build.opensuse.org/package/l...enSUSE_Factory

  4. #4

    Default Re: configure: error: systemd system unit directory is required

    I have some problems now with unpackaged files, could I get someone to do that?

    https://build.opensuse.org/package/l..._12.2_standard

    Here is the spec file:
    https://build.opensuse.org/package/v...ABase%3ASystem

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,655
    Blog Entries
    15

    Default Re: configure: error: systemd system unit directory is required

    On Mon 28 Jan 2013 08:46:02 PM CST, ryanbach wrote:


    I have some problems now with unpackaged files, could I get someone to
    do that?

    http://tinyurl.com/alpu687

    Here is the spec file:
    http://tinyurl.com/b52gh3l


    Hi
    So on 12.2 files are here /usr/lib64/obex/obexd
    and /usr/sbin/bluetoothd and bccmb

    You need to check your configure options....

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
    up 2 days 4:10, 3 users, load average: 0.08, 0.06, 0.05
    CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile


  6. #6

    Default Re: configure: error: systemd system unit directory is required

    I have packed the files as best as I can but there are still some that aren't done yet. Do all of the debug files go under devel subpackage?

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,655
    Blog Entries
    15

    Default Re: configure: error: systemd system unit directory is required

    Hi
    No, the debug files are automatically generated during the build and packaged up automatically as well.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Default Re: configure: error: systemd system unit directory is required

    Quote Originally Posted by malcolmlewis View Post
    Hi
    No, the debug files are automatically generated during the build and packaged up automatically as well.
    Okay, thanks. I am just having trouble with the rest of the files...

  9. #9
    Join Date
    Feb 2011
    Location
    Zagreb, Croatia
    Posts
    120

    Default Re: configure: error: systemd system unit directory is required

    Quote Originally Posted by ryanbach View Post
    Okay, thanks. I am just having trouble with the rest of the files...
    Code:
    File not found: /home/abuild/rpmbuild/BUILDROOT/bluez-5.1-171.1.x86_64/usr/lib64/bluetooth/bluetoothd
    File not found: /home/abuild/rpmbuild/BUILDROOT/bluez-5.1-171.1.x86_64/usr/lib64/bluetooth/obexd 
    File must begin with "/": %{_sharedir}/dbus-1/services/org.bluez.obex.service

    Code:
    Installed (but unpackaged) file(s) found:
    /lib/bluetooth/bluetoothd
    /lib/bluetooth/obexd
    You should probably re-check your configure flags

  10. #10
    Join Date
    Sep 2012
    Posts
    5,022

    Default Re: configure: error: systemd system unit directory is required

    Quote Originally Posted by sumski View Post
    File must begin with "/": %{_sharedir}/dbus-1/services/org.bluez.obex.service[/CODE]
    %{_datarootdir}, at least on 12.2

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •