James Reather writes:

Gordon Messmer wrote:
James Reather wrote:
SuSE 10.0 appears to ship with openldap2 packages, so I've installed openldap2-client-2.2.27-6 and openldap2-devel-2.2.27-6 but the rpmbuild command still fails.

Is there a way round this?

I'd extract the spec file from the tarball, and modify the names of any required packages to match SuSE's naming conventions.

Thanks for the tip - I've done this and now the 'rpmbuild -ta sqwebmail-5.1.1.tar.bz2' works fine.

Now I've got two new .rpm file in /usr/src/packages/RPMS/i586 - sqwebmail-5.1.1-1.i586.rpm and sqwebmail-ldap-5.1.1-1.i586.rpm

If I try to install sqwebmail-5.1.1-1.i586.rpm on my SuSE 10.0 box, I get an error about failed dependencies:-

error: Failed dependencies:
        vixie-cron is needed by sqwebmail-5.1.1-1
        /var/www/cgi-bin is needed by sqwebmail-5.1.1-1

Q1: What would be the correct way to "explain" to the RPM that SuSE's default cgi-bin directory for Apache is /srv/www/cgi-bin (not /var/www/cgi-bin)?

Need to rebuild the RPM, and change the spec file accordingly.

Q2: Why do I need 'vixie-cron'? SuSE 10.0 already has cron... am I missing something here?

On Red Hat/Fedora, the cron package is called "vixie-cron".

This is a Red Hat/Fedora spec file.

Attachment: pgpnCR9DEzvRA.pgp
Description: PGP signature

_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to