2010-02-15 5 views

Répondre

28

Essayez d'utiliser apt-cache search, par exemple,

sudo apt-cache search pcre 

Pour moi, cela se présente beaucoup donc je grep pour le mot-clé dev.

Ceci apparaît libpcre3-dev et libpcre++-dev.

lighttpd utilisera un de ceux sans doute.

Donc, si votre recherche montre libpcre3-dev, vous pouvez installer à l'aide:
sudo apt-get install libpcre3-dev

Cependant, est-il une raison quelconque vous compilez vous lighttpd?
Pourquoi ne pas installer en utilisant apt-get?
Y compris lighttpd-dev, lighttpd-doc et certains modules connexes.

+0

Merci. Je l'ai fait fonctionner et utiliser 'lighttpd.conf' (fourni dans le répertoire doc). Mais quand je frappe le navigateur avec «http://127.0.0.1» je ne vois rien. Une idée? ps -ef | grep lighttpd racine 10315 1 0 18:06? 00:00:00 ./lighttpd -f lighttpd.conf – silverburgh

+0

Vérifiez les fichiers journaux. Assurez-vous qu'il n'y a rien d'autre en utilisant le port configuré dans lighttpd.conf. Vérifiez également le fichier de configuration. – Matt

5

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

Ce serait libpcre3-dev C ou C++ pour libpcre++-dev.

De même, le lighthttpd existe déjà ainsi:

$ 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 
$ 
Questions connexes