Failed to install Varnish due to dependencies errors -


i'm trying install varnish on centos 6.7 , following errors. can help?

yum install varnish

.....

finished dependency resolution error: package: varnish-libs-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: libc.so.6(glibc_2.14)(64bit) error: package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: systemd-units error: package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: libpcre.so.1()(64bit) error: package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: libc.so.6(glibc_2.14)(64bit) error: package: varnish-libs-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: libpcre.so.1()(64bit) error: package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)            requires: systemd-sysv  try using --skip-broken work around problem  try running: rpm -va --nofiles --nodigest 

you need install varnish source. follow these steps:

https://www.varnish-cache.org/docs/trunk/installation/install.html#compiling-varnish-from-source

start downloading tarball:

http://repo.varnish-cache.org/source/

then install packages listed:

yum install -y autoconf automake jemalloc-devel libedit-devel libtool ncurses-devel pcre-devel pkgconfig python-docutils python-sphinx graphviz  tar xzvf downloaded-filename.tar.gz cd name-of-the-folder-from-tarball sh autogen.sh sh configure make make check (go make tea) make install 

read notes on starting service: https://www.varnish-cache.org/docs/trunk/installation/install.html#compiling-varnish-from-source


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -