netatalkのインストールができない理由

このQ&Aのポイント
  • centOS5.6にnetatalkをインストールしようとしていますが、インストールできないエラーが表示されます。
  • インストールにはBerkeley DBのライブラリとヘッダーが必要であり、正しくインストールされていない可能性があります。
  • また、makeコマンドも正しく実行されていないため、インストールができません。
回答を見る
  • ベストアンサー

centOS5.6にnetatalkをインストール

いつもお世話になっております。 macのlioneOSだと、Timemachineを使うのにnetatalkで通信をしないといけないそうなので linuxの知識も無く、下記URLを参考にしました http://d.hatena.ne.jp/paraches/20110424 一応BerkeleyDBのmake,installまで成功してnetatalkのインストールを行おうとして、 下記コマンドを入力して ./configure --enable-redhat --with-bdb=/usr/local/BerkeleyDB.5.1 みた所下記エラーが表示されました Make sure you have the required Berkeley DB libraries AND headers installed. You can download the latest version from http://www.sleepycat.com. If you have installed BDB in a non standard location use the --with-bdb=/path/to/bdb configure option and make sure your linker is configured to check for libraries there. configure: error: Berkeley DB library required but not found! やはりその後、makeしてみても make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止. と表示されmake,installできませんでした。 何故でしょうか。。。 ご教授お願いします。

質問者が選んだベストアンサー

  • ベストアンサー
  • localica
  • ベストアンサー率52% (202/385)
回答No.1

メッセージに理由も対処方法も書いてあるので、先ずは対応しましょう。

catapalto
質問者

お礼

落ち着いてみたら解決しました・・・・ ありがとうございました!

関連するQ&A

  • configure: error: Berkeley DB version mismatch

    たいへん困ってます。 超初心者でずっと調べているのですが、openLDAPがインストール出来ません。 利用しているOS:CentOS4.6 openLDAP 2.4.111 Berkeley DB 4.7.25 openssl opensslをインストールし、Berkeley DB 4.7.255をインストールしました。 openldapのコンパイル環境を設定しようと ./configure --enable-wrappers --enable-tls --enable-crypt をすると、 checking for Berkeley DB major version... 4 checking for Berkeley DB minor version... 7 checking for Berkeley DB link (-ldb-4)... yes checking for Berkeley DB version match... Berkeley DB version mismatch header: Berkeley DB 4.7.25: (May 15, 2008) library: Sleepycat Software: Berkeley DB 4.2.52: (July 14, 2007) no configure: error: Berkeley DB version mismatch ↑となり、インストール出来ません。 色々調べて、PATHの設定がよくないのかな?とおもったのですが、PATHの設定方法が解らず困っています。 export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.7/lib:/usr/local/lib しても何も変りません。 そもそも/usr/local/のなかにBerkeleyDB.4.7なんてディリレクトリが在りません。 BerkeleyDB.4.7のインストールがうまくいってないのでしょうか? BerkeleyDB.4.7のインストールの手順は下記でおこないました。 tar xzf db-4.7.25.tar.gz cd db-4.7.25 cd build_unix ../dist/configure --prefix=/usr/local make su(rootに変更) #make install 超初心者です。 どうか、CentOSの実行コマンドを含めて教えていただけると助かります。 他に情報が足りなければ、お応えしますので、どうかよろしくお願いいたします。

  • UNIX版インストール時のポート指定について

    サーバで7.4.8が動いている状態で、8.4.1をインストールしたいと思っています。 ./configure --prefix=/usr/local/postgres-8.4.10/ make make install といった形でインストールを行ないましたが、 --with-pgport=5433 とポートの指定忘れてしまいポートが被ってしまっているようで、うまく動きません。 そこで、「--with-pgport=5433」のオプションを付け足したいのですが、どのように行なえばよいでしょうか? (DB、TABLEなどは一切作っていません) もし、後で付け足すことができないのであれば、再インストールを行ないたいのですが、 ./configure --prefix=/usr/local/postgres-8.4.10/ --with-pgport=5433 make make install といったように、行なえば上書きインストールしてくれるのでしょうか? よろしくお願い致します。

  • Openldapインストールmakeでエラー

    Solaris10にOpenldapのインストールがうまく行きません。 make時でエラーになります。 色々、Googleで調べてしているのですが結局うまくいきませんでした。 教えていた頂けたら幸いです。 事前にインストールしたソフト BerkeleyDB4.7.25 openssl0.98l cyrus-sasl-2.1.21 cd openldap-2.4.16 CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib" ./configure make depend make (cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la) gcc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.7/include -c -o apitest.o apitest.c /bin/sh ../../libtool --mode=link gcc -static -g -O2 -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lgss -lssl -lcrypto -lresolv -lgen -lnsl -lsocket gcc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.7/lib ./.libs/libldap.a /work/src/openldap-2.4.16/libraries/liblber/.libs/liblber.a -L/usr/local/lib:-L/usr/local/ssl/lib:-L/usr/sfw/lib:-L/usr/lib:-L/opt/sfw/lib:-L/usr/ccs/lib:-L/usr/local/BerkeleyDB4.7/lib ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.so -ldl -lgss -lssl -lcrypto -lresolv -lgen -lnsl -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/local/BerkeleyDB.4.7/lib Undefined first referenced symbol in file BIO_set_flags ./.libs/libldap.a(tls_o.o) BIO_clear_flags ./.libs/libldap.a(tls_o.o) SSL_CTX_set_info_callback ./.libs/libldap.a(tls_o.o) ld: fatal: Symbol referencing errors. No output written to apitest collect2: ld returned 1 exit status make[2]: *** [apitest] エラー 1 make[2]: ディレクトリ `/work/src/openldap-2.4.16/libraries/libldap' から出ます make[1]: *** [all-common] エラー 1 make[1]: ディレクトリ `/work/src/openldap-2.4.16/libraries' から出ます make: *** [all-common] エラー 1 勉強不足で申し訳ありませんが、よろしくお願いします。

  • ImgTool Burnが使えなくて困ってます

    ImgTool Burnを起動すると Can't find the NeroAPI! Make Sure you have Nero installed. と、でて閉じてしまいます。どうすればいいですか?詳しい方よろしくお願いします!

  • PostgreSQLのインストール

    ./configureすると configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. というエラーが出ます。 この先make できません。 どう対処したらいいかわからず困っています。

  • Openldapインストールmake testでエラー

    Openldapのインストールについて質問があります。 1度は、正常にOpenldapのインストールは、成功したのですが Openldapを再インストールしようと思い実行したのですが、 make testで、下記のエラーが表示されました。 Initiating LDAP tests for BDB... Running ./scripts/all... >>>>> Executing all LDAP tests for bdb >>>>> Starting test000-rootdse ... running defines.sh Starting slapd on TCP/IP port 9011... Using ldapsearch to retrieve the root DSE... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ldap_bind: Can't contact LDAP server (-1) >>>>> Test failed >>>>> ./scripts/test000-rootdse failed (exit 1) make[2]: *** [bdb-yes] Error 1 make[2]: Leaving directory `/var/tmp/src/ldap/openldap-2.2.17/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/var/tmp/src/ldap/openldap-2.2.17/tests' make: *** [test] Error 2 ネットで調べたのですが、有力な情報がなかったので、知っている方がいれば教えて頂けたら幸いです。 BerkeleyDB.4.7のパッチは、当てています。 http://www.tail.gr.jp/wiki/?OpenLDAP CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include -I/usr/loca/ssl/include -I/usr/local/include" export CPPFLAGS LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib -R/usr/loca/BerkeleyDB.4.7/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib" export LDFLAGS ./configure --enable-crypt make depend make ここまでは、エラー無く通っています。 make test よろしくお願いします。

  • Postgres9インストールFlexが古い?

    お世話になります。 Centos5.8 64bitにPostgres9.0.8をソースからインストールしようとしていますが、./configure 実行時、以下のようなFlexの警告が表示されます。 どこに問題があるのかご存知の方教えていただけませんでしょうか? $ cd /usr/local/src/postgresql-9.0.8 $ ./configure checking for flex... configure: WARNING: *** The installed version of Flex, /usr/bin/flex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/flex version 2.5.4. configure: WARNING: *** The installed version of Flex, /usr/bin/lex, is too old to use with PostgreSQL. *** Flex version 2.5.31 or later is required, but this is /usr/bin/lex version 2.5.4. no configure: WARNING: *** Without Flex you will not be able to build PostgreSQL from Git nor *** change any of the scanner definition files. You can obtain Flex from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Flex *** output is pre-generated.) checking for perl... /usr/bin/perl configure: using perl 5.8.8 checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... -ldl checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing fdatasync... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for -lreadline... no checking for -ledit... no configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. インストールされているバージョンは古くないと思っているのですが、どうずればインストールを進めることができるでしょうか? $ rpm -qa | grep flex flex-2.5.4a-41.fc6 $ which flex /usr/bin/flex どうぞ宜しくお願い致します。

  • php5.0.5 について

    apache2+php5.0.5で、 ./configure ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring makeすると、 configure:error: libxml2 version 2.5.0 or greater required. となるのですが、どうしてでしょうか? このままインストールしていいのでしょうか? 教えてください。宜しくお願いします。

    • ベストアンサー
    • PHP
  • Linuxでmakeが実行出来ません

    Linuxの素人です。 RedHatLinux7jをインストールして、PostgreSqlを実行したいと考えています。 (Apache+PostgreSql+PHP) そこで、本を見ながらPostgreSqlのソースを展開した後に、 シェルで「make」を入力してみましたが、正しく実行してくれません。 メッセージは下記の様に表示されました。 [postgres@server1 src]$ make You must use GNU make to use Postgres. It may be installed on your system with the name 'gmake'. NOTE: If you are sure that you are using GNU make and you are still getting this message, you may simply need to run the configure program. [postgres@server1 src]$ gmake 「gmake」を入力しても、同じメッセージが表示されます。 コンパイルを可能にするにはどうしたらよいでしょうか? 宜しくお願いします。

  • MPFRのインストールができない

    LedHatLinux5.2です。 mySQL5.1.31をインストールするためにMPFRが要求されています。 MPFRをインストールしようとしたところ・・・ configureの途中で警告が出ています。その後makeすると make: *** '../mpfr-2.4.0/Makefile.in'に必要なターゲット'@MAINTAINER_MODE_TRUE@'をmakeするルールがありません。 と出ます。 警告の中身は 'gmp.h' and 'libgmp' seems to have different versions or we cannot run a program linked with GMP (if you cannot see the version numbers above). However since we can't use 'libtool' inside the configure, we can't be sure. See 'config.log' for details. です。 config.logを見たのですがよく分かりませんでした。 gmpはアンインストールしてから入れ直したのでgmp.hとlibgmpのバージョンは同じだと思います。 対処法が分かる方おられましたらよろしくお願いします。