[ITP] varnish-2.1.4-1 and varnish-r5665

David Sastre d.sastre.medina@gmail.com
Fri Dec 31 13:19:00 GMT 2010

On Thu, Dec 30, 2010 at 06:52:32PM +0100, Jorge Díaz wrote:
> I have prepared two packages:
>   * Current: varnish 2.1.4-1   => last released version, 2.1.4
>   * Test: varnish r5665          => subversion trunk r5665 version
> The packages can be downloaded from sourceforge:
> wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/varnish-2.1.4-1-src.tar.bz2
> Varnish cygwin patched source version can be compiled succesfully in
> Linux and Solaris.


I have tested the package listed above in a 

CYGWIN_NT-6.1 win7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin

Varnish fails to compile due to curses.h not being found:

checking for library containing initscr... -lcurses
varnishhist.c:39:20: error: curses.h: No such file or

Also, many tests failed:

Assert error in main(), vtc.c line 682:
  Condition((system(cmd)) == 0) not true.
/bin/sh: line 5:  3368 Aborted                 (core dumped)
./varnishtest ${dir}$tst
FAIL: ./tests/b00027.vtc
---- v1   FAIL VCL does not compile

> Varnish need GCC in runtime because its VCL configuration file is
> translated to C and compiled in "so" file in order to better
> performance.
> Varnish also needs Libpcre and Libncurses.

All dependencies (both for building and runtime) seem to be installed:

Cygwin Package Information
Package              Version        Status
libncurses-devel     5.7-18         OK
libncurses10         5.7-18         OK
libncursesw-devel    5.7-18         OK
libncursesw10        5.7-18         OK
ncurses              5.7-18         OK
ncursesw             5.7-18         OK
libpcre-devel        8.02-1         OK
libpcre0             8.02-1         OK
libpcrecpp-devel     8.02-1         OK
libpcrecpp0          8.02-1         OK
gcc                  3.4.4-999      OK

In addition to the patch provided in the src package, I included the
attached changes. The build succeeded, but tests are failing anyway.


Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-2.1.4-1.more.patch
Type: text/x-diff
Size: 3038 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20101231/0a7ae028/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20101231/0a7ae028/attachment.sig>

More information about the Cygwin-apps mailing list