Menu

#578 Configuration --with-init-style=debian-sysv error with ubuntu 14.04

None
closed
nobody
None
1
2015-02-08
2014-09-08
gharris999
No

Using the latest pull from the git repo, attempting to configure the source for building on Ubuntu 14.04 with:

INITSTYLE='debian-sysv'
TRACKER_VER='0.16'

./configure \
--with-init-style=${INITSTYLE} \
--with-cracklib \
--enable-krbV-uam \
--with-pam-confdir=/etc/pam.d \
--with-dbus-sysconf-dir=/etc/dbus-1/system.d \
--with-tracker-pkgconfig-version=${TRACKER_VER}

..results in:

configure: error: illegal init-style

INITSTYLE='debian'

..still seems to work, but I thought it was deprecated.

Discussion

  • Ralph Böhme

    Ralph Böhme - 2014-09-09

    Did you run ./bootstrap before configure?

     
  • gharris999

    gharris999 - 2014-09-09

    Yes, I did.

     
  •  HAT

    HAT - 2014-09-10

    I tested it on Ubuntu 14.04.
    no problem.

    $ ./bootstrap
    $ INITSTYLE='debian-sysv'
    $ TRACKER_VER='0.16'
    $ ./configure \
    --with-init-style=${INITSTYLE} \
    --with-cracklib \
    --enable-krbV-uam \
    --with-pam-confdir=/etc/pam.d \
    --with-dbus-sysconf-dir=/etc/dbus-1/system.d \
    --with-tracker-pkgconfig-version=${TRACKER_VER}
    ....
    ....
    Configure summary:
    INIT STYLE:
    debian-sysv
    AFP:
    Extended Attributes: ad | sys
    ACL support: yes
    Spotlight: yes
    CNID:
    backends: dbd last tdb mysql
    UAMS:
    DHX (PAM SHADOW)
    DHX2 (PAM SHADOW)
    RANDNUM (afppasswd)
    Kerberos V
    clrtxt (PAM SHADOW)
    guest
    Options:
    Zeroconf support: yes
    tcp wrapper support: yes
    quota support: yes
    admin group support: yes
    valid shell check: yes
    cracklib support: yes
    ACL support: auto
    Kerberos support: yes
    LDAP support: yes
    AFP stats via dbus: yes
    dtrace probes: yes
    Paths:
    Netatalk lockfile: /var/lock/netatalk
    init directory: /etc/init.d
    dbus system directory: /etc/dbus-1/system.d
    pam config directory: /etc/pam.d
    Documentation:
    Docbook: no

     
  • Ralph Böhme

    Ralph Böhme - 2014-09-10

    Using the latest pull from the git repo, ...

    Which branch? You need branch-netatalk-3-1, not master!

     
  • gharris999

    gharris999 - 2014-09-10

    Ah. That explains it. Maybe someone could update the wiki/howto for "Install Netatalk 3.1.6 on Ubuntu 14.04 Trusty" to include using a git clone. As it stands, it only references using a tar download.

    WHERE I WENT WRONG:

    With:

    REPO='git://git.code.sf.net/p/netatalk/code'
    BRANCH='origin/branch-netatalk-3-1'

    git clone --depth=1 "$REPO" netatalk

    ..the $BRANCH isn't available. E.g.:

    cd netatalk
    git branch -r

    ..yields:

    origin/HEAD -> origin/master
    origin/master

    Cloning without --depth-1, git branch -r yields:

    origin/HEAD -> origin/master
    origin/branch-netatalk-2-0
    origin/branch-netatalk-2-1
    origin/branch-netatalk-2-2
    origin/branch-netatalk-3-0
    origin/branch-netatalk-3-1
    origin/master

    ..and a

    git checkout "$BRANCH"

    ..succeeds and the..

    ./configure --with-init-style=debian-sysv

    ..works. No config errors and the code builds, installs and runs fine.

     

    Last edit: gharris999 2014-09-10
  •  HAT

    HAT - 2014-09-11

    I wrote this wiki page for Netatalk "3.1.6".
    Netatalk 3.1.6 is tarball.
    When using git, you should read the following page.
    http://netatalk.sourceforge.net/3.1/htmldocs/installation.html

    And you should have executed the following command first.
    $ ./configure --help
    There is explanation of "--with-init-style".

     
  • gharris999

    gharris999 - 2014-09-11

    Anyway, this was operator error on my part. Please close this ticket.

     
  •  HAT

    HAT - 2014-09-16
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB