日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 人文社科 > 生活经验 >内容正文

生活经验

linux pcre-devel,ubuntu - 我应该为'pcre-devel'安装什么软件包? - Ubuntu问答

發(fā)布時(shí)間:2023/11/27 生活经验 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux pcre-devel,ubuntu - 我应该为'pcre-devel'安装什么软件包? - Ubuntu问答 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

問題描述

我需要安裝pcre-devel軟件包才能在Ubuntu上編譯lighttpd:

configure: error: pcre-config not found, install the pcre-devel package or build with –without-pcre

你能告訴我怎么做嗎?

最佳方法

嘗試使用apt-cache search,例如

sudo apt-cache search pcre

對(duì)我來說,這出現(xiàn)了很多,所以我為關(guān)鍵字dev做了grep。

這將打開libpcre3-dev和libpcre++-dev。

lighttpd無疑會(huì)使用其中之一。

因此,如果您的搜索顯示libpcre3-dev,則可以使用:sudo apt-get install libpcre3-dev進(jìn)行安裝

但是,您是否有任何理由自己編譯lighttpd?為什么不使用apt-get安裝?包括lighttpd-dev,lighttpd-doc和一些相關(guān)模塊。

次佳方法

在Ubuntu 9.10上:

$ apt-cache search pcre | grep -- -dev

libpcre3-dev - Perl 5 Compatible Regular Expression Library - development files

libghc6-pcre-light-dev - Haskell library for Perl 5-compatible regular expressions

libghc6-regex-base-dev - GHC 6 library providing an API for regular expressions

libpcre++-dev - C++ wrapper class for pcre (development)

libpcre-ocaml-dev - OCaml bindings for PCRE (Perl Compatible Regular Expression)

$

對(duì)于C,則為libpcre3-dev;對(duì)于C++,則為libpcre++-dev。

同樣,lighthttpd也已經(jīng)存在:

$ apt-cache search lighttpd

collectd - statistics collection and monitoring daemon

lighttpd - A fast webserver with minimal memory footprint

lighttpd-dev - Development files for lighttpd

lighttpd-doc - Documentation for lighttpd

lighttpd-mod-cml - Cache meta language module for lighttpd

lighttpd-mod-magnet - Control the request handling module for lighttpd

lighttpd-mod-mysql-vhost - MySQL-based virtual host configuration for lighttpd

lighttpd-mod-trigger-b4-dl - Anti-deep-linking module for lighttpd

lighttpd-mod-webdav - WebDAV module for lighttpd

mongrel-cluster - Mongrel plugin to manage a cluster of Mongrel servers

mono-fastcgi-server - ASP.NET backend for FastCGI webservers - default version

mono-fastcgi-server1 - ASP.NET 1.1 backend for FastCGI webservers

mono-fastcgi-server2 - ASP.NET 2.0 backend for FastCGI webservers

$

參考資料

總結(jié)

以上是生活随笔為你收集整理的linux pcre-devel,ubuntu - 我应该为'pcre-devel'安装什么软件包? - Ubuntu问答的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。