httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Evans <listl...@neonova.net>
Subject Re: FIXED: compiling http 2.0 / flood on Redhat 6.2
Date Tue, 20 Nov 2001 19:59:15 GMT
Lisa,


in <path>/httpd-test/flood/Makefile

I did the following

APR_OSDIR=/usr/local/src/httpd-2.0/srclib/apr/include/arch/unix
EXTRA_LDFLAGS=
EXTRA_CPPFLAGS= -I${APR_OSDIR}
EXTRA_CFLAGS=-g -O2
EXTRA_LIBS= -lcrypt -lpthread -ldl

on the last line above I added -lcrypt -lpthread and -ldl

then I type make all and everything worked great.

Good luck,

Mark



On Tuesday, November 20, 2001, at 01:43 PM, Lisa Wojcik wrote:

>
> Hi,
>
> I'm having the same problem building flood.  Could you please let me 
> know
> exactly what you added to the makefile?
>
> Thanks,
> Lisa
>
>
>
>
>                     Mark Evans
>                     <listlust@neon       To:     test-
> dev@httpd.apache.org
>                     ova.net>             cc:
>                                          Subject:     FIXED: compiling 
> http 2.0 / flood on Redhat 6.2
>                     11/20/01 09:08
>                     AM
>                     Please respond
>                     to test-dev
>
>
>
>
>
>
> Hi Guys,
>
> I resolved the issue by tacking these lines into the makefile.
>
> Thanks!
>
> Mark
> On Tuesday, November 20, 2001, at 09:57 AM, Mark Evans wrote:
>
>> You may very well be right... where exactly would I put the param list
>> to the link command?  Can I include it in a script somewhere?  or
>> should I spec it on the command line during compile time?
>>
>> Thanks,
>>
>> Mark
>>
>> On Tuesday, November 20, 2001, at 01:28 AM, Aaron Bannert wrote:
>>
>>> On Mon, Nov 19, 2001 at 09:43:23PM -0500, Mark Evans wrote:
>>>> I found another problem!   I followed the directions again, after
>>>> resolving my previous PATH_MAX problem, I can now build httpd-2.0,
>>>> however, when I tried to build flood,
>>>>
>>>> Sorry if I'm being a bother...
>>>>
>>>> this is what I got:
>>>>
>>> [snip]
>>>
>>> I have also had this problem, and I suspect it is because you are
>>> either
>>> building shared versions of httpd (ie --with-mods-shared=...)  or 
>>> there
>>> is something broken.
>>>
>>> The problem is that there are three libs that are for some reason not
>>> being linked against your flood executable: libcrypt, libpthread, and
>>> libdl. The workaround is to manually specify these in the param list
>>> to the link command, as "-lcrypt -lpthread -ldl".
>>>
>>> If I get some more time I'll try to look into this some more.
>>>
>>> -aaron
>>
>
>
>
>


Mime
View raw message