LoginSignup
0
1

More than 5 years have passed since last update.

Netatalkの最新版をソースからコンパイルする

Last updated at Posted at 2017-11-25

環境

・Ubuntu16.04

コンパイル

コンパイルに必要なファイルを取得
sudo apt install build-essential libevent-dev libssl-dev libgcrypt-dev libkrb5-dev libpam0g-dev libwrap0-dev libdb-dev libtdb-dev libmysqlclient-dev avahi-daemon libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker libtracker-sparql-1.0-dev libtracker-miner-1.0-dev

こちらから最新版のソースコードをダウンロードしてください

netatalkの取得
cd /tmp
wget http://prdownloads.sourceforge.net/netatalk/netatalk-3.1.11.tar.bz2
tar xvf netatalk-3.1.11.tar.bz2

trackerのバージョンを調べます、ここでは1.0ですね

trackerのバージョン確認
root@timemachine:/tmp/netatalk-3.1.11# pkg-config --list-all | grep tracker
tracker-miner-1.0     tracker-miner - A library to develop tracker data miners
tracker-sparql-1.0    tracker-sparql - Tracker : A library to perform SPARQL queries and updates in the              Tracker Store
cd netatalk-3.1.11
./configure \
        --with-init-style=debian-systemd \
        --without-libevent \
        --without-tdb \
        --with-cracklib \
        --enable-krbV-uam \
        --with-pam-confdir=/etc/pam.d \
        --with-dbus-daemon=/usr/bin/dbus-daemon \
        --with-dbus-sysconf-dir=/etc/dbus-1/system.d \
        --with-tracker-pkgconfig-version=1.0

with-tracker-pkgconfig-versionには先ほど調べたバージョンを指定します。今回は1.0ですね

インストール
$ make
$ sudo make install

参照

Chapter 2. Installation

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1