APACHE安裝_cannot install `libaprutil-1.la' to a directory解決

來源:互聯網
上載者:User


APACHE安裝_cannot install `libaprutil-1.la' to a directory解決 在linux上安裝了預設的apache2目錄後,想安裝apache3,進入安裝, 執行了configure,make後 make install時出錯: /bin/sh /usr/local/httpd-2.2.3/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apache2/liblibtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache2/lib  www.2cto.com  make[2]: *** [install] Error 1猜測可能是以前安裝用過./configure 來直接安裝到/usr/local/apache2導致安裝檔案已經不太“乾淨” 解決方案:1、執行make clean後,重新編譯安裝。2、刪除source code目錄,重新解壓apache安裝包,進行編譯安裝,可解決上面的問題。另外,在處理FCGI安裝時,也會預設安裝到 apache2 目錄,這時你需要 修改 Makefile 檔案,將裡面的目錄變更。  作者 james506

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.