Skip to content

Instantly share code, notes, and snippets.

Created June 2, 2012 03:57
Show Gist options
  • Save vena/2856490 to your computer and use it in GitHub Desktop.
Save vena/2856490 to your computer and use it in GitHub Desktop.
Netatalk 3.0 beta installation procedure (Ubuntu 12.04)

Install prerequisites:

$ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev

Download src:

$ cd /usr/local/src
$ git clone git://
$ cd netatalk
$ ./bootstrap

Find current version of Berkeley DB available

$ apt-cache search libdb

Mine was 5.1, so I'll install that

$ sudo apt-get install libdb5.1-dev db-util db5.1-util

Same for libgcrypt:

$ apt-cache search libgcrypt
$ sudo apt-get install libgcrypt11 libgcrypt11-dev

Configure install

$ ./configure --with-init-style=debian --with-zeroconf


$ make
$ sudo checkinstall

Config is in /usr/local/etc/afp.conf

Copy link

This doesn't seem to be working for me. I've installed all the mentioned packages except for db-util, which I apt-get didn't find. Im running Ubuntu 12.04 but still I get "Building Debian package... FAILED!" at the end.

Here are the commands I used and their outputs:

sudo ./bootstrap

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

sudo ./configure --with-init-style=debian --with-zeroconf

sudo make

sudo checkinstall

I also tried with the --enable-debian option without luck. I'm kinda stuck here, really can't see anything in the logs to point me to where it's failing to build. Anyone care to take a look? :)


Copy link

Doing crw's trick with the version seemed to fix my problems! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment