[Zope] Problems building RPMs
Chris McDonough
chrism at plope.com
Sun May 16 12:46:21 EDT 2004
You may want to try this spec file instead:
http://www.plope.com/software/zope-rpm/zope.spec/file_view
On Sun, 2004-05-16 at 09:31, Des Dougan wrote:
> I'm trying to create Zope 2.7 RPMs for my SME Server distro (a Red Hat
> 7.3 variant designed for small businesses). I've installed from the
> source tarball, and chosen /opt/Zope-2.7 for the location, including the
> instance home. All runs cleanly when built from source. I therefore
> attempted to create an RPM, as my production server does not have
> compilers installed.
>
> I used Chris McDonough's 2.7.0-b1 spec file, amended for the directory
> structure noted above. However, I'm getting a failure after the build:
>
> changing mode of /var/tmp/Zope-2.7-root/opt/Zope-2.7/bin/decompilezpy.py
> to 755
> running install_data
> [ -f /var/tmp/Zope-2.7-root/opt/Zope-2.7/bin/python ] || ln -sfn
> "/usr/local/bin/python2.3"
> /var/tmp/Zope-2.7-root/opt/Zope-2.7/bin/python
>
> Zope binaries installed successfully.
> Now run '/var/tmp/Zope-2.7-root/opt/Zope-2.7/bin/mkzopeinstance.py'
> + popd
> ~/rpms/BUILD
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: zope-2.7-0
> error: File not found:
> /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/etc/zope.conf
> error: File not found:
> /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/bin/runzope
> error: File not found:
> /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/bin/zopectl
> error: File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/var
> error: File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/log
> error: File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/var
> PreReq: /usr/sbin/useradd /sbin/chkconfig /bin/sh /bin/sh /bin/sh
> /bin/sh
> Requires(interp): /bin/sh /bin/sh /bin/sh
> Requires(pre): /bin/sh
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires: python2.3 >= 2.3.3 ld-linux.so.2 libc.so.6
>
>
> RPM build errors:
> File not found:
> /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/etc/zope.conf
> File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/bin/runzope
> File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/bin/zopectl
> File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/var
> File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/log
> File not found: /var/tmp/Zope-2.7-root/opt/Zope-2.7/home/var
>
>
> I'm obviously missing something in my set-up, but can't see what. Can
> anyone shed any light on this?
>
> Thanks,
>
More information about the Zope
mailing list