2010-02-15 12 views

Respuesta

28

Trate de usar apt-cache search, por ejemplo,

sudo apt-cache search pcre 

Para mí esto se convierte en imagen mucho, así que grep para la palabra clave dev.

Esto resulta en libpcre3-dev y libpcre++-dev.

lighttpd utilizará uno de esos sin duda.

Así que si su búsqueda muestra libpcre3-dev, puede instalar usando:
sudo apt-get install libpcre3-dev

Sin embargo, ¿hay alguna razón por la que está compilando LightTPD ti mismo?
¿Por qué no instalar usando apt-get?
Incluyendo lighttpd-dev, lighttpd-doc y algunos módulos relacionados.

+0

Gracias. Lo ejecuto y uso 'lighttpd.conf' (provisto en el directorio doc). Pero cuando presiono el navegador con 'http://127.0.0.1' no puedo ver nada. ¿Alguna idea? ps -ef | grep lighttpd raíz 10315 1 0 18:06? 00:00:00 ./lighttpd -f lighttpd.conf – silverburgh

+0

Verifique los archivos de registro. Asegúrese de que no haya nada más utilizando el puerto configurado en lighttpd.conf. Verifique también el archivo de configuración. – Matt

5

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

Eso sería libpcre3-dev para C o C++ para libpcre++-dev.

Por la misma razón, la lighthttpd ya existe, así:

$ 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 
$ 
Cuestiones relacionadas