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.
Did you run ./bootstrap before configure?
Yes, I did.
I tested it on Ubuntu 14.04.
no problem.
Which branch? You need branch-netatalk-3-1, not master!
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
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".
Anyway, this was operator error on my part. Please close this ticket.