Instantly share code, notes, and snippets.

Embed
What would you like to do?
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://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk
$ 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

Build!

$ make
$ sudo checkinstall

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

@damienzhang

This comment has been minimized.

Show comment
Hide comment
@damienzhang

damienzhang Aug 18, 2012

Thanks for this. I also had to install the automake and libtool packages for the bootstrap script to run successfully.

damienzhang commented Aug 18, 2012

Thanks for this. I also had to install the automake and libtool packages for the bootstrap script to run successfully.

@beshkenadze

This comment has been minimized.

Show comment
Hide comment
@beshkenadze

beshkenadze Nov 27, 2012

sudo apt-get install autotools-dev automake libtool - need to

beshkenadze commented Nov 27, 2012

sudo apt-get install autotools-dev automake libtool - need to

@terwey

This comment has been minimized.

Show comment
Hide comment
@terwey

terwey Jan 16, 2013

Works on Debian too however I did have to do:
$ ./configure --with-init-style=debian --with-zeroconf --enable-debian
$ mkdir -p /usr/local/lib/netatalk/
Because ranlib complained it couldn't write that dir.

And finally after installing do
$ ldconfig

terwey commented Jan 16, 2013

Works on Debian too however I did have to do:
$ ./configure --with-init-style=debian --with-zeroconf --enable-debian
$ mkdir -p /usr/local/lib/netatalk/
Because ranlib complained it couldn't write that dir.

And finally after installing do
$ ldconfig

@danama

This comment has been minimized.

Show comment
Hide comment
@danama

danama Jan 19, 2013

Thanks ! And for the Debian tips too :)

danama commented Jan 19, 2013

Thanks ! And for the Debian tips too :)

@crw

This comment has been minimized.

Show comment
Hide comment
@crw

crw Feb 22, 2013

Awesome, thanks! Make sure you type "3.0" for the version number when building the package.

crw commented Feb 22, 2013

Awesome, thanks! Make sure you type "3.0" for the version number when building the package.

@dreamspy

This comment has been minimized.

Show comment
Hide comment
@dreamspy

dreamspy Apr 15, 2013

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
http://tny.cz/95a8f7ec

./configure --with-init-style=debian --with-zeroconf
http://tny.cz/c72a272e

sudo ./configure --with-init-style=debian --with-zeroconf
http://tny.cz/959e07d4

sudo make
http://tny.cz/dcd093a0

sudo checkinstall
http://tny.cz/f8a32d02

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? :)

regards
Frímann

dreamspy commented Apr 15, 2013

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
http://tny.cz/95a8f7ec

./configure --with-init-style=debian --with-zeroconf
http://tny.cz/c72a272e

sudo ./configure --with-init-style=debian --with-zeroconf
http://tny.cz/959e07d4

sudo make
http://tny.cz/dcd093a0

sudo checkinstall
http://tny.cz/f8a32d02

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? :)

regards
Frímann

@dreamspy

This comment has been minimized.

Show comment
Hide comment
@dreamspy

dreamspy Apr 15, 2013

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

dreamspy commented Apr 15, 2013

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