I had the need to install netatalk on CentOS 5.4. Sadly there were no easily found precompiled packages of netatalk, so I googled to find some guidance on the best way to do this.
So here is what I did…
Downloaded and installed Oracle (is there anything they don’t yet own?) Berkeley DB
You can find Oracle Berkeley DB through a simple google search. I used version 4.8.30.NC. I found that 5.x didn’t work.
After downloading and extracting Berkeley DB, I compiled with command:
../dist/configure –prefix=/usr/local/db-4.8.30 && make -j 2 && make install
Then downloaded netatalk 2.1.1 and compiled and installed with command:
./configure –enable-redhat –with-bdb=/usr/local/db-4.8.30 –prefix=/usr/local/netatalk-2.1.1 –with-mutex=x86/gcc-assembly && make -j 2 && make install
Then configured the software from /usr/local/netatalk-2.1.1/etc/netatalk and started the server
chkconfig atalk on
service atalk start
Hope someone finds this useful.