樹莓派apache2.4源碼包安裝

1.安裝apr-1.6.3.tar.gz apr-util-1.6.1.tar.bz2 httpd-2.4.34.tar.gz (源碼包下載centos7的就行,樹莓派版本官方debian)centos

2.問題:fatal error: expat.h: No such file or directory
#include <expat.h>centos7

解決:apt-get install libexpat1-devxml

3.問題:pcre
解決:apt-get install libpcre3 libpcre3-devget

  1. xml錯誤,從新編譯安裝apr-util

5.成功安裝源碼

相關文章
相關標籤/搜索