2009/05/14

安裝 rt : 3.8.3

先裝了 lighttpd ,後來才發現 rt 對 lighttpd 的文件描述真是超少

於是放棄,先把 rt 裝到 apache 上

開始編譯 rt
./configure
make testdeps
make fixdeps

結果 DBD::mysql install 老是裝不起來,一堆錯誤訊息
後來看 DBD::mysql howto ,似乎要裝 mysql-devel

裝完後 make testdeps 還是不行,仔細 trace 了一下
t/40catalog.t ............... skipped: ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Can't continue test
t/40keyinfo.t ............... skipped: ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Can't continue test
t/40listfields.t ............ skipped: ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Can't continue test
t/40nulls.t ................. skipped: ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Can't continue test
t/40numrows.t ............... skipped: ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). Can't continue test
t/

猜想是 mysql server 沒開...
結果發現我根本沒裝 mysql-server = =a
mysql-devel-5.0.45-7.el5
mysql-5.0.45-7.el5 <- 一直以為這是 server 但其實這才是 mysql-server.i386 : The MySQL server and related files. yum 安裝會自動補上 DBD::mysql mysql-server i386 5.0.45-7.el5 base 9.7 M Installing for dependencies: perl-DBD-MySQL i386 3.0007-2.el5 base 148 k 裝完重新 make testdeps,剩下一個錯誤 SOME DEPENDENCIES WERE MISSING. MASON missing dependencies: XML::RSS >= 1.05...MISSING
make: *** [testdeps] Error 1
奇怪的是,我用 cpan 去看,明明有一個 1.44 的版本 = =a

重裝發現 MSERGEANT/XML-Parser-2.36.tar.gz 裝不起來
Test::XML::Deep
-XML::Simple [requires]
-- XML::SAX [requires]
-- XML::NamespaceSupport [requires]
-- XML::SAX::Expat [requires]
--- XML::NamespaceSupport [requires]
-XML::Parser [requires]

雖然
BJOERN/XML-SAX-Expat-0.40.tar.gz : make_test NO
GRANTM/XML-Simple-2.18.tar.gz : make_test NO one dependency not OK (XML::SAX::Expat)
JLAVALLEE/Test-XML-Deep-0.07.tar.gz : make_test NO
裝不起來,但是 XML::Parser 裝起來了 ... (攤手

放棄~ 直接扡 cpan 重裝
rpm -qf /usr/bin/cpan ,發現是 perl-5.8.8,rpm 好辦,用 yum 重裝
make testdeps;make fixdeps
結果還是卡在 XML::RSS .... 0rz

還是砍掉重練好了 ... 0rz

cpan 好像爛掉了 ... 唉

沒有留言: