Vine4.1のmod_perl2
Vine4.1を新規にインストールし,mod_perl2 を apt-get で入れようとしたら
[root@tmphost etc]# apt-get install mod_perl2 Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: mod_perl2: Depends: libapr-0.so.0 E: Broken packages
などと言われる.つれない返事.
検索かけたけれど,結構以前から指摘されているのに直っていないらしい.
しかたない.cpanを立ち上げ
cpan> install mod_perl2
で,解決…かとおもったら…うげぇ.
Skip the test suite? [No] make: *** [run_tests] Error 1 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>
….
気をとりなおして,rpm --rebuild
これなら問題なかろう.
************* WARNING ************* Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You could just symlink it to /usr/lib/libgdbm.so.2.0.0 ************* WARNING ************* !!! Unable to determine server version, aborting. !!! Invalid MP_APXS specified? error: Bad exit status from /var/tmp/rpm-tmp.97937 (%build)
ぎゃふん.
言われるまま,下記のようにしてみる.
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libgdbm.so
少しマシになったが,「MP_APXSがおかしくないっすか?」とは,やはり聞かれる.
apache2-devel は入れたし,/usr/bin/apxs も存在するのなぁ,おかしいなぁ.
(たぶん) Vineのapache2って
依存関係が完膚なきまでにぶっこわれてないか?
[root@tmphost monaka]# apt-get install apache2-apr-devel Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: apache2-apr-devel: Depends: apache2-apr (= 2.0.55) E: Broken packages
って辺りで,まずおかしいし,
[root@tmphost monaka]# apt-get install apache2-apr-devel apache2-apr Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: apache2 apache2-devel apr apr-devel apr-util apr-util-devel The following NEW packages will be installed: apache2-apr apache2-apr-devel 0 upgraded, 2 newly installed, 6 removed and 0 not upgraded. Need to get 240kB/338kB of archives. After unpacking 10.1MB disk space will be freed. Do you want to continue? [Y/n]
apache2-apr はobsolete? うーん,なんかイヤンな薫りがする….
apr-config も入っていないみたいだし.