2010-02-15 4 views

Antwort

28

Versuchen apt-cache search beispielsweise unter Verwendung

sudo apt-cache search pcre 

Für mich viel taucht so grep ich für das Schlüsselwort dev.

Dies erscheint libpcre3-dev und libpcre++-dev.

lighttpd wird eines davon zweifellos verwenden.

Also, wenn Sie Ihre Suche libpcre3-dev zeigt, können Sie mit Hilfe installieren:
sudo apt-get install libpcre3-dev

Allerdings gibt es keinen Grund Sie selbst kompilieren sind lighttpd?
Warum nicht mit apt-get installieren?
Einschließlich lighttpd-dev, lighttpd-doc und einige verwandte Module.

+0

Danke. Ich lasse es laufen und benutze 'lighttpd.conf' (im doc-Verzeichnis). Aber wenn ich den Browser mit "http://127.0.0.1" anschlage, kann ich nichts sehen. Irgendeine Idee? ps-ef | grep lighttpd root 10315 1 0 18:06? 00:00:00 ./lighttpd -f lighttpd.conf – silverburgh

+0

Überprüfen Sie die Protokolldateien. Stellen Sie sicher, dass nichts anderes den in lighttpd.conf konfigurierten Port verwendet. Überprüfen Sie auch die Konfigurationsdatei. – Matt

5

auf 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) 
$ 

Die libpcre3-dev für C oder libpcre++-dev für C++ wäre.

Aus dem gleichen Grunde, die lighthttpd existiert bereits auch:

$ 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 
$ 
Verwandte Themen