Stas Bekman wrote:

Stas Bekman wrote:

Wes Barris wrote:
[...]

Notice that there is no "$apache" variable used here and I am showing
that the correct directory exists.



You are correct, Wes. There is a mismatch between the docs and the reality.


Using APACHE_SRC and DO_HTTPD=1 avoids the prompt:

Configure mod_perl with ../apache-1.3/src ? [y]

but not with NO_HTTPD.

Let's keep the docs as they are and fix the reality.


Gah. I was too quick to reply, after copy-n-paste testing your input. The reality seems to be fine. It's around -0C outside and the evening is kicking in, mountains are covered with snow. I'm asking myself what I'm doing in front of this screen and not going out ;)

The culprit is PREP_HTTPD=1, the logic roughly goes like this:

$PREP_HTTPD  => prompt
($NO_HTTPD && !$PREP_HTTPD) || $DO_HTTPD => no prompt

Ok. According to this logic, I cannot stop the prompt from occurring if using PREP_HTTPD=1.

So should we fix the docs to stress that the prompt will not go away with NO_HTTPD=1, if PREP_HTTPD=1?

Having that in the docs would have stopped me from asking this question. However, then I would have to ask why it is deemed necessary to prompt if the apache src directory is explicitly set.

Does it do the trick for you? Or did you go through this already and I repeat the same suggestions you've tried already?

This tells me that if I want to write a script that builds a number of modules plus apache, I will have to answer a prompt when the script gets to the mod_perl portion of my script (unless I want to make mod_perl the last module built and use "DO_HTTPD=1" instead of doing a make inside the apache directory).

--
Wes Barris
E-Mail: [EMAIL PROTECTED]


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to