Skip to content

Installing Netatalk on OpenIndiana

Daniel Markstedt edited this page Nov 2, 2025 · 14 revisions

Build on OpenIndiana

In the absence of a binary netatalk package for OpenIndiana, we need to build it from source.

Below follow concrete steps how to install Netatalk on OpenIndiana Hipster 2025.06.

Prepare build environment

As root, update the OpenIndiana system and then reboot

pfexec pkg image-update
reboot

Install the build toolchain and C compiler

pkg install build-essential build/meson ninja

Install mandatory netatalk dependencies

The iniparser library isn't packaged in OpenIndiana, so let's build it from source.

wget https://gitlab.com/iniparser/iniparser/-/archive/v4.2.6/iniparser-v4.2.6.tar.gz
tar xzf iniparser-v4.2.6.tar.gz
cd iniparser-v4.2.6
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
make all
make install

Install optional netatalk dependencies

pkg install cmark cracklib database/mariadb-114/client database/mariadb-114/library

Build

Extract a netatalk release tarball.

tar xzvf netatalk-4.3.2.tar.xz 
cd netatalk-4.3.2

You should read the help message, in order to know configure options.

If the applicable libraries are installed, many options will be detected automatically.

meson configure

Do configure! The following options are not auto-detected.

meson setup build \
    -Dbuildtype=release \
    -Dpkg_config_path=/usr/lib/amd64/pkgconfig \
    -Dwith-dbus-sysconf-path=/usr/share/dbus-1/system.d \
    -Dwith-iniparser-path=/usr/local \
    -Dwith-tests=true

Note: If you are on a 32 bit system, configure with -Dpkg_config_path=/usr/lib/pkgconfig instead.

Build, test and install.

meson compile -C build
meson test -C build
meson install -C build

Starting

Start mDNSResponder.

svcadm enable svc:/network/dns/multicast:default

Start Netatalk.

svcadm enable svc:/network/netatalk:default

See also

Clone this wiki locally