Mailing List Archive

Varnish install problem on openSUSE 10.2
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
Varnish install problem on openSUSE 10.2 [ In reply to ]
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
Varnish install problem on openSUSE 10.2 [ In reply to ]
hi,

you can find packages for varnish on
http://software.opensuse.org/download/server:/http/openSUSE_10.2/

you can add the link as repository to your favorite package manager. [1]
if you see any bugs/problems with the rpms please contact me directly.

if you still want to build it on your own, see the attached patch.

hope this helps

darix

[1] http://en.opensuse.org/Build_Service/User

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-1.0.1_ncurses.patch
Type: text/x-patch
Size: 1094 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-dev/attachments/20070402/8323b1d8/attachment.bin
Varnish install problem on openSUSE 10.2 [ In reply to ]
hi,

you can find packages for varnish on
http://software.opensuse.org/download/server:/http/openSUSE_10.2/

you can add the link as repository to your favorite package manager. [1]
if you see any bugs/problems with the rpms please contact me directly.

if you still want to build it on your own, see the attached patch.

hope this helps

darix

[1] http://en.opensuse.org/Build_Service/User

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish-1.0.1_ncurses.patch
Type: text/x-patch
Size: 1094 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-dev/attachments/20070402/8323b1d8/attachment-0001.bin