Hi there,

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?

Regards,
Stuart Bingė

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to