Redhat

Anup Shukla anup at iamcool.net
Mon Aug 20 05:43:33 CEST 2007


jdouglas wrote:
> Are there instructions on installing this on Redhat systems?
>
> I am able to get it working on FreeBSD 6.2 but not RHEL 4 with a 2.6 
> Kernel.
>
> When I try to build an rpm from spec i get:
>
> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.27483
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd varnish-1.1
> + DOCDIR=/var/tmp/varnish-1.1-1-root-root/usr/share/doc/varnish-libs-1.1
> + export DOCDIR
> + rm -rf /var/tmp/varnish-1.1-1-root-root/usr/share/doc/varnish-libs-1.1
> + /bin/mkdir -p 
> /var/tmp/varnish-1.1-1-root-root/usr/share/doc/varnish-libs-1.1
> + cp -pr LICENSE 
> /var/tmp/varnish-1.1-1-root-root/usr/share/doc/varnish-libs-1.1
> + exit 0
> Provides: libvarnish.so.0 libvarnishapi.so.0 libvcl.so.0
> Requires(interp): /sbin/ldconfig /sbin/ldconfig
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /sbin/ldconfig
> Requires(postun): /sbin/ldconfig
> Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
> libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) 
> libc.so.6(GLIBC_2.3.4) librt.so.1 librt.so.1(GLIBC_2.2)
> Processing files: varnish-debuginfo-1.1-1
> Provides: libvarnish.so.0.0.0.debug libvarnishapi.so.0.0.0.debug 
> libvcl.so.0.0.0.debug
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
> /var/tmp/varnish-1.1-1-root-root
> error: Installed (but unpackaged) file(s) found:
>    /usr/include/varnish/shmlog.h
>    /usr/include/varnish/shmlog_tags.h
>    /usr/include/varnish/stat_field.h
>    /usr/include/varnish/stats.h
>    /usr/include/varnish/varnishapi.h
>    /usr/lib/pkgconfig/varnishapi.pc
>
>
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /usr/include/varnish/shmlog.h
>    /usr/include/varnish/shmlog_tags.h
>    /usr/include/varnish/stat_field.h
>    /usr/include/varnish/stats.h
>    /usr/include/varnish/varnishapi.h
>    /usr/lib/pkgconfig/varnishapi.pc
>
>
rpmbuild now fails if compilation generates files that are not listed in 
the %files section of the spec.
Just add the files listed as "unpackaged" in the %files section and you 
should be good.

You can get more information here :: 
http://www.rpm.org/hintskinks/unpackaged/

Regards
A.S.
> ------------------------------------------------------------------------
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>   




More information about the varnish-misc mailing list