Mailing List Archive

Redhat
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-misc/attachments/20070819/60511aaf/attachment.htm
Redhat [ In reply to ]
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
>
Redhat [ In reply to ]
jdouglas <jdouglas at bksnetworks.com> writes:
> 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.

You forgot to tell us which version you are trying to install.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
Redhat [ In reply to ]
* jdouglas
> 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:
> (...)
>
> 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

This is fixed in trunk. The fix will also be included in the upcoming
1.1.1 release.

Ingvar

--
At barnebokfigurer er snille er bare ljug
Mummipappa dater Barbamamma i smug