Varnish install problem on openSUSE 10.2

Christian Klinger cklinger at novareto.de
Mon Apr 2 13:34:47 CEST 2007


Hi,

i try to install varnish on an openSuse 10.2. System.

This is my gcc environment:

tirpitz:/tmp/varnish/varnish-1.0.3 # gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 
--with-system-zlib --enable-shared --enable-__cxa_atexit 
--enable-libstdcxx-allocator=new --program-suffix=-4.1 
--enable-version-specific-runtime-libs --without-system-libunwind 
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)


and i got these error when i run the make:

make[3]: Entering directory `/tmp/varnish/varnish-1.0.3/bin/varnishhist'
/bin/sh ../../libtool --tag=CC --mode=link gcc  -O2 -pipe   -o 
varnishhist  varnishhist-varnishhist.o ../../lib/libcompat/libcompat.a 
../../lib/libvarnish/libvarnish.la 
../../lib/libvarnishapi/libvarnishapi.la -lm -lcurses -ldl -lrt
gcc -O2 -pipe -o .libs/varnishhist varnishhist-varnishhist.o  
../../lib/libcompat/libcompat.a ../../lib/libvarnish/.libs/libvarnish.so 
../../lib/libvarnishapi/.libs/libvarnishapi.so -lm -lcurses -ldl -lrt 
-Wl,--rpath -Wl,/opt/varnish/lib
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lcurses
collect2: ld returned 1 exit status
make[3]: *** [varnishhist] Error 1
make[3]: Leaving directory `/tmp/varnish/varnish-1.0.3/bin/varnishhist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/varnish/varnish-1.0.3/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/varnish/varnish-1.0.3'
make: *** [all] Error 2

maybe someone has an idea.

thx christian



More information about the varnish-dev mailing list