Project

General

Profile

Actions

Bug #2326

closed

lighttpd-1.4.29.mod_deflate.patch [problem when make]

Added by zipnix over 13 years ago. Updated over 8 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_deflate
Target version:
-
ASK QUESTIONS IN Forums:

Description

When using lighttpd-1.4.29.mod_deflate.patch follow these steps below I got error:

STEPS:
patch -p0 < lighttpd-1.4.29.mod_deflate.patch
cd lighttpd-1.4.29
rm -f src/Makefile.in src/Makefile
automake
./configure --prefix=/build/lighttpd/ --with-pcre --with-zlib --with-bzip2 --with-memcache
make

ERROR:
make3: * No rule to make target `mod_deflate.lo', needed by `mod_deflate.la'. Stop.
make3: Leaving directory `/softs/lighttpd-1.4.29/src'
make2:
[all] Error 2
make2: Leaving directory `/softs/lighttpd-1.4.29/src'
make1:
[all-recursive] Error 1
make1: Leaving directory `/softs/lighttpd-1.4.29'
make: *
[all] Error 2

System info:
Linux (CentOS release 5.4 Final) 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

automake (GNU automake) 1.11.1

Lighttpd 1.4.29


Related issues 1 (0 open1 closed)

Related to Feature #1824: Adding mod_deflate to 1.4.xx Fixed2008-11-18Actions
Actions #1

Updated by zipnix over 13 years ago

System Info: CentOS Linux release 6.0 (Final)

Actions #2

Updated by stbuehler over 13 years ago

  • Category deleted (build_cmake)
  • Status changed from New to Invalid
  • Target version deleted (1.4.x)

there is no official mod_deflate for 1.4.x. ask the author of that patch.

Actions #3

Updated by zipnix over 13 years ago

Thank you for your support!

Actions #4

Updated by Letus about 13 years ago

the problem is, that the patch provided here

http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModDeflate

for 1.4.29 does NOT contain the actual mod_deflate.c source code ! you can tell by checking the size of previous version patches (about 70kb) and this (25kb). The easy solution is to extract the code from patch 1.4.26 from line 898 starting

diff -ru --new-file lighttpd-1.4.26/src/mod_deflate.c lighttpd-1.4.26-mod_deflate/src/mod_deflate.c

and finishing on line 2326 to new file, called mod_deflate_c.patch (and add one enter at the end of the file), then fix the first line

diff -ru --new-file lighttpd-1.4.26/src/mod_deflate.c lighttpd-1.4.26-mod_deflate/src/mod_deflate.c

to look like this

diff -ru --new-file lighttpd-1.4.29/src/mod_deflate.c lighttpd-1.4.29-mod_deflate/src/mod_deflate.c

(changed the version to 29) and run

patch -p0 < mod_deflate_c.patch

you should see the file mod_deflate.c was created in your lighttpd-1.4.29/src directory, and then continue with the procedure

cd lighttpd-1.4.29
rm -f src/Makefile.in src/Makefile
automake
./configure --with-bzip2
make
make install

... this should work :))

Actions #5

Updated by gstrauss over 8 years ago

Actions #7

Updated by gstrauss over 8 years ago

  • Category set to mod_deflate
Actions

Also available in: Atom