SSブログ
エステ

Updating netatalk 3.0.4 to 3.1.0 [Netatalk]

10月28日にNetatalk 3.1.0がreleaseされましたので、updateしました。

Debian6.0です。

 

変更点はこちら

Updateはいつもと同じ。

 
# tar zxvf netatalk-3.1.0.tar.gz 
 
# cd netatalk-3.1.0
 
# ./configure \
        --with-init-style=debian \
        --with-cracklib \
        --enable-krbV-uam \
        --with-pam-confdir=/etc/pam.d \
        --with-dbus-sysconf-dir=/etc/dbus-1/system.d
 
# make
 

# make install 

 

configのオプションから、

        --without-libevent \

を削除しました。makeでerrorをはいて止まってしまいましたので。

netatalk.c:46:26: error: event2/event.h: No such file or directory

netatalk.c: In function 'libevent_logmsg_cb':

netatalk.c:116: error: '_EVENT_LOG_DEBUG' undeclared (first use in this function)

netatalk.c:116: error: (Each undeclared identifier is reported only once

netatalk.c:116: error: for each function it appears in.)

netatalk.c:119: error: '_EVENT_LOG_MSG' undeclared (first use in this function)

netatalk.c:122: error: '_EVENT_LOG_WARN' undeclared (first use in this function)

netatalk.c:125: error: '_EVENT_LOG_ERR' undeclared (first use in this function)

netatalk.c: At top level:

netatalk.c:139: error: expected ')' before 'fd'

netatalk.c:170: error: expected ')' before 'fd'

netatalk.c:180: error: expected ')' before 'fd'

netatalk.c:187: error: expected ')' before 'fd'

netatalk.c:220: error: expected ')' before 'fd'

netatalk.c: In function 'main':

netatalk.c:356: warning: implicit declaration of function 'event_set_log_callback'

netatalk.c:357: warning: implicit declaration of function 'event_set_fatal_callback'

netatalk.c:371: warning: implicit declaration of function 'event_base_new'

netatalk.c:371: warning: assignment makes pointer from integer without a cast

netatalk.c:376: warning: implicit declaration of function 'event_new'

netatalk.c:376: error: 'EV_SIGNAL' undeclared (first use in this function)

netatalk.c:376: error: 'sigterm_cb' undeclared (first use in this function)

netatalk.c:377: error: 'EV_PERSIST' undeclared (first use in this function)

netatalk.c:377: error: 'sigquit_cb' undeclared (first use in this function)

netatalk.c:378: error: 'sighup_cb' undeclared (first use in this function)

netatalk.c:379: error: 'sigchld_cb' undeclared (first use in this function)

netatalk.c:380: error: 'timer_cb' undeclared (first use in this function)

netatalk.c:385: warning: implicit declaration of function 'event_add'

netatalk.c:426: warning: implicit declaration of function 'event_base_dispatch'

make[3]: *** [netatalk-netatalk.o] Error 1

make[3]: Leaving directory `/home/nao/netatalk-3.1.0/etc/netatalk'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/nao/netatalk-3.1.0/etc'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/nao/netatalk-3.1.0'

make: *** [all] Error 2 

 

Netatalkを再起動して、versionを確認。

# /usr/local/sbin/afpd -V

afpd 3.1.0 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under

the terms of the GNU General Public License as published by the Free Software

Foundation; either version 2 of the License, or (at your option) any later

version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

 

          AFP versions: 2.2 3.0 3.1 3.2 3.3 

         CNID backends: dbd last tdb 

      Zeroconf support: Avahi

  TCP wrappers support: Yes

         Quota support: Yes

   Admin group support: Yes

    Valid shell checks: Yes

      cracklib support: Yes

            EA support: ad | sys

           ACL support: Yes

          LDAP support: Yes

         D-Bus support: Yes

         DTrace probes: Yes

 

              afp.conf: /usr/local/etc/afp.conf

           extmap.conf: /usr/local/etc/extmap.conf

       state directory: /usr/local/var/netatalk/

    afp_signature.conf: /usr/local/var/netatalk/afp_signature.conf

      afp_voluuid.conf: /usr/local/var/netatalk/afp_voluuid.conf

       UAM search path: /usr/local/lib/netatalk//

  Server messages path: /usr/local/var/netatalk/msg/

 

Benchmarkをとりましたが、相変わらずですね。Writeが遅いです。

Before update

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 11月 4日 月曜日 at 1:50:29 AM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.268 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      8.944 MB/Sec      0.958 MB/Sec      8.716 MB/Sec      0.820 MB/Sec

   8 KBytes      14.848 MB/Sec     1.414 MB/Sec      15.133 MB/Sec     1.527 MB/Sec

  16 KBytes      25.937 MB/Sec     1.559 MB/Sec      27.581 MB/Sec     3.070 MB/Sec

  32 KBytes      30.844 MB/Sec     4.588 MB/Sec      46.660 MB/Sec     5.430 MB/Sec

  64 KBytes      53.047 MB/Sec     8.039 MB/Sec      59.093 MB/Sec     9.389 MB/Sec

 128 KBytes      68.974 MB/Sec     14.427 MB/Sec     77.130 MB/Sec     15.685 MB/Sec

 256 KBytes      88.916 MB/Sec     8.808 MB/Sec      88.624 MB/Sec     24.258 MB/Sec

 512 KBytes      97.596 MB/Sec     10.851 MB/Sec     97.410 MB/Sec     29.776 MB/Sec

1024 KBytes      103.478 MB/Sec    46.318 MB/Sec     103.861 MB/Sec    41.339 MB/Sec

Standard Ave     54.732 MB/Sec     10.774 MB/Sec     58.245 MB/Sec     14.588 MB/Sec

 

After update

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 11月 4日 月曜日 at 1:24:00 PM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.268 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      9.886 MB/Sec      1.082 MB/Sec      8.510 MB/Sec      0.857 MB/Sec

   8 KBytes      17.513 MB/Sec     1.267 MB/Sec      15.625 MB/Sec     1.635 MB/Sec

  16 KBytes      28.207 MB/Sec     2.073 MB/Sec      27.114 MB/Sec     3.000 MB/Sec

  32 KBytes      47.079 MB/Sec     5.614 MB/Sec      47.065 MB/Sec     5.889 MB/Sec

  64 KBytes      58.109 MB/Sec     8.933 MB/Sec      58.669 MB/Sec     10.204 MB/Sec

 128 KBytes      80.007 MB/Sec     17.238 MB/Sec     77.818 MB/Sec     19.401 MB/Sec

 256 KBytes      90.333 MB/Sec     26.260 MB/Sec     88.460 MB/Sec     24.418 MB/Sec

 512 KBytes      98.393 MB/Sec     26.369 MB/Sec     98.354 MB/Sec     28.915 MB/Sec

1024 KBytes      103.897 MB/Sec    49.410 MB/Sec     104.120 MB/Sec    41.511 MB/Sec

Standard Ave     59.269 MB/Sec     15.361 MB/Sec     58.415 MB/Sec     15.092 MB/Sec

 

MarveriksでBenchmarkとりましたが、特に問題もなくです。 


この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。