2013-01-16 65 views
1

安裝mod_perl時出現如下圖所示的錯誤。 我使用的是Ubuntu 12.04,Apache2.2.22,Perl 5.14。 請讓我知道我可以修復它安裝mod_perl時出錯

[email protected]:~/mod_perl-2.0.7# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs 
Reading Makefile.PL args from @ARGV 
    MP_APXS = /usr/local/apache2/bin/apxs 
no conflicting prior mod_perl version found - good. 
************* WARNING ************* 

    Your Perl is configured to link against libgdbm, 
    but libgdbm.so was not found. 
    You could just symlink it to /usr/lib/x86_64-linux-gnu/libgdbm.so.3.0.0 


************* WARNING ************* 
[ error] Unable to determine server version, aborting. 
[ error] Invalid MP_APXS specified? 

回答

5

安裝libgdm dev軟件包:

aptitude install libgdbm-dev 
+0

感謝您的回覆!現在我越來越。 [錯誤]無法確定服務器版本,正在中止。 [錯誤]指定了無效的MP_APXS? 。我無法在系統中找到任何名稱爲Apxs的文件。我已經安裝了apche2。請讓我知道我該如何安裝apxs? – Hafsal