[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Hedwig List, Apache Compile (was Re: Response to Mr. Steve Colie)



On 18 May 1999 10:05:24 -0400, Michael H. Warfield <mhw wittsend com> wrote:
>Steve \"Stevers!\" Coile enscribed thusly:
>
>	[...]
>
>> I'm not sure the developers have the opportunity to "volunteer", but
>> whatever the case, you'll find that most of them pay attention to the
>> distribution-specific list.  The current distribution-specific list
>> is hedwig-list redhat com 
>
>	I've tried subscribing to that list (sent subscribe to
>hedwig-list-request redhat com) and never heard a peep.  Maybe
>the server is incredibly slow...  Sigh...
>
>	I tried to subscribe when I discovered that the apache source rpm
>from 6.0 won't even compile on 6.0.  Yes I applied all the RedHat patches
>and even figured out the screwy configure command "./configure
>--with-layout=RedHat --enable-module=all --enable-shared=max" to get it
>to match the installation.  (It would be nice if convoluted configure
>commands are required for a package that those commands would be documented
>somewhere).
>
>	First it gives me compile errors like this:
>
>mod_auth_dbm.c:77: ndbm.h: No such file or directory
>make[4]: *** [mod_auth_dbm.so] Error 1
>make[3]: *** [all] Error 1
>make[2]: *** [subdirs] Error 1
>make[2]: Leaving directory `/usr/src/apache_1.3.6/src'
>make[1]: *** [build-std] Error 2
>make[1]: Leaving directory `/usr/src/apache_1.3.6'
>make: *** [build] Error 2
>
>	Then (after working my way around that one) I can't get half of the
>modules to load because of an undefined symbol "stat".
>

Ok here is the problem. We dont compile that module into the apache we
ship so we didnt "catch this." Even if you have glibc-devel in you will
probably need to edit the mod_auth_dbm.c file to instead having the
line:

- #include <ndbm.h>
+ #include <db1/ndbm.h>

ndbm.h is part of the older db1 dbm interface which was used and is
"replaced" or superceded by the glibc-2.1 inclusion of dbm2 and and dbm3
interfaces.


>	I'm begining to think that there have been too many changes made in
>the RedHat way of tinkering with locations.  Now the source packages
>are not even consistant with the distributed binaries.  That means, I

Not really we compile the mod_auth_db.c interface with our default
compile and not the one you were compiling. I did a 

rpm -Uvh apache*src.rpm

and then did a

rpm -bc /usr/src/redhat/SPECS/apache.spec

to track this down for you. I hope it helps you on your way.


-- 
SJS  --  Red Hat Technical Support   
[Please be aware I cannot always answer email directly emailed at me. I
 try to answer on the news groups for more people to see the information
 and correct me if I am wrong :)]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]