I have fixed the package problems reported by David. * Curses library problem (error: curses.h: No such file or directory) This problem is explained in: http://cygwin.com/ml/cygwin/2010-05/msg00397.html for some reason, my Cygwin environment retained old links from /usr/include to /usr/include/ncurses, so compiled OK, but newer installations had problems. I have added -I/usr/include/ncurses to CFLAGS and now it works fine.
* Test problems. Varnish compiles VCL file to DLL using GCC. I think the problem is that GCC does not find libraries when Varnish is not installed because only searchs in /usr/lib (my PC had a copy there). I have fixed GCC compilation command, so it try to use /usr/lib and after searchs in compilation dir. The fixed packages (varnish-2.1.4-1 and varnish-r5665) can be downloaded from sourceforge: wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/varnish-2.1.4-1-src.tar.bz2 wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/varnish-2.1.4-1.tar.bz2 wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/varnish-r5665-1-src.tar.bz2 wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/varnish-r5665-1.tar.bz2 wget http://downloads.sourceforge.net/project/cygvarnish/cygwin-varnish%20package/setup.hint ( Sourceforge web page: http://sourceforge.net/projects/cygvarnish/files/cygwin-varnish%20package/ ) > -----Original Message----- > On Behalf Of David Sastre > Sent: viernes, 31 de diciembre de 2010 14:19 > Subject: Re: [ITP] varnish-2.1.4-1 and varnish-r5665 > > 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%20p > > ackage/varnish-2.1.4-1-src.tar.bz2 > > > > Varnish cygwin patched source version can be compiled succesfully in > > Linux and Solaris. > > Hello, > > 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 directory > > 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. > > Regards. > > -- > Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B > 31EB