summaryrefslogtreecommitdiffstats
path: root/third_party/lighttpd
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 16:21:46 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 16:21:46 +0000
commit0651f87ac4a29ffd209729da04d4ae1ac215ddf5 (patch)
treea2ef2ba895f73dc927ae11b31e252f99c2b514d8 /third_party/lighttpd
parent090ec1cae993cb03c1cad8041a44fa2a147e88ba (diff)
downloadchromium_src-0651f87ac4a29ffd209729da04d4ae1ac215ddf5.zip
chromium_src-0651f87ac4a29ffd209729da04d4ae1ac215ddf5.tar.gz
chromium_src-0651f87ac4a29ffd209729da04d4ae1ac215ddf5.tar.bz2
rough build instructions for linux from Alejandro Salazar (asalazar@google.com)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/lighttpd')
-rw-r--r--third_party/lighttpd/README.GOOGLE48
1 files changed, 45 insertions, 3 deletions
diff --git a/third_party/lighttpd/README.GOOGLE b/third_party/lighttpd/README.GOOGLE
index 9a5adb3..2f37cf6 100644
--- a/third_party/lighttpd/README.GOOGLE
+++ b/third_party/lighttpd/README.GOOGLE
@@ -1,6 +1,7 @@
This is an import of a cygwin-based lighttpd for windows from:
LightTPD-1.4.19-1-Win32-SSL.exe (http://en.wlmp-project.net/)
+LightTPD-1.4.20.tar.gz (http://www.lighttpd.net/)
Modifications to the base install:
- Move cygwin1.dll (see no_dll/README)
@@ -13,9 +14,10 @@ PHP is licensed under the PHP license (http://www.php.net/license/)
******
+--- For Mac ---
The Mac version of LigHTTPd is built on intel from LightTPD 1.4.20 with the
following configure options defined:
- --with-open-ssl
+ --with-openssl
--prefix=/tmp/lighttpd so a "make install" bundles it
correctly
@@ -32,10 +34,50 @@ configure options:
--prefix=/tmp/php
--enable-fastcgi
--enable-sockets
- --enable-libxml
--enable-force-cgi-redirect
+--- For Linux ---
+Similar to the Mac version, grab the sources, configure, compile and move
+binaries to the correct location in third_party/lighttpd/lnx/
+
+LightTPD
+ 1) Uncompress
+ gzip -cd lighttpd-1.4.20.tar.gz | tar xf -
+ 2) You may need some libs
+ apt-get install libpcre3-dev # required for pcre-devel
+ apt-get install libbz2-dev # required for bzip2-headers
+ 3) configure, make and install
+ ./configure --with-openssl --prefix=/tmp/lighttpd_lnx
+ make
+ make install
+ 4) create directory and copy files
+ cd third_party/lighttpd/
+ mkdir lnx
+ cd lnx
+ mkdir bin
+ mkdir lib
+ cp /tmp/lighttpd_lnx/sbin/lighttpd bin/
+ cp /tmp/lighttpd_lnx/lib/* lib/
+
+PHP-CGI
+ 1) Uncompress
+ gzip -cd php-5.2.6.tar.gz | tar xf -
+ 2) you may need some libs
+ apt-get install libxml2-dev # required for xml2-config
+ 3) configure, make and install
+ ./configure --prefix=/tmp/php_lnx \
+ --enable-fastcgi \
+ --enable-sockets \
+ --enable-force-cgi-redirect
+ make
+ make install
+ 4) copy files
+ cd third_party/lighttpd/lnx
+ cp /tmp/php_lnx/bin/php_cgi bin/
+
+Extra: You can now remove the directories where you compiled and installed.
+
The resulting libraries and executables are then copied into the third_party
dir in the source tree to mirror where the windows executables live. It's
unfortunate that we can't build this all from source as part of the build
-process, but the source isn't checked in for windows, so.... \ No newline at end of file
+process, but the source isn't checked in for windows, so....