On Tue, Jan 06, 2004, Stuart Bingë wrote:
When compiling the latest Apache source rpm (apache-1.3.29-20031231.src.rpm)
from OpenPKG-current, with '--define with_mod_auth_ldap yes' specified, the
rpm build exits with the following error:
snip
+ cd mod_auth_ldap
rpm-tmp: line 53: cd: mod_auth_ldap: No such file or directory
+ cp mod_auth_ldap.c ../apache_1.3.29/src/modules/extra/
cp: cannot stat `mod_auth_ldap.c': No such file or directory
+ exit 1
error: Bad exit status from rpm-tmp (%build)
/snip
As far as I can tell the problem lies with the mod_auth_ldap.tar.gz archive
included in the Apache source rpm - this archive extracts its contents to a
'modauthldap' subdirectory, however apache.spec looks for the files in a
'mod_auth_ldap' subdirectory (note the underscores), which consequently does
not exist.
The mod_auth_ldap.tar.gz archive obtained from mod_auth_ldap's source
(http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.tar.gz)
extracts to the correct 'mod_auth_ldap' subdirectory, so I'm guessing the
problem lies with an invalid mod_auth_ldap.tar.gz included in the source rpm?
Yes, you're right. Seems like we had a broken vendor tarball.
I've downloaded it again and rolled a new apache source RPM.
Thanks for your feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
The OpenPKG Projectwww.openpkg.org
User Communication List [EMAIL PROTECTED]