What operating system are you using?

Also, the PATH doesn't really look quite right since Python executable would 
usually be in a "bin" directory. What do you get for:

    which python3

> On 7 Apr 2021, at 8:33 am, Satinder Singh <[email protected]> wrote:
> 
> Thanks Graham,
> 
> 1- I installed httpd-devel successfully.
> 2 - Have the following PATH in my .bash_profile
> # User specific environment and startup programs
> 
> PATH=$PATH:$HOME/bin:/usr/local/python/Python-3.9.2
> 
> export PATH
> 
> 3- When I execute ./configure --with-python python3, I get the following 
> message:
> 
> checking Apache version... 2.4.37
> 
> followed by the message below multiple times:
> 
> yes: invalid option -- 'c'
> 
> Try 'yes --help' for more information.
> 
> yes: invalid option -- 'c'
> 
> 
> Try 'yes --help' for more information.
> 
> and finally terminating with the below messages:
> 
> configure: creating ./config.status
> 
> 
> config.status: creating Makefile
> 
> 4 - There is some content in these files, but wouldn't know what to do next. 
> I am completely new to this world of modwsgi . Neither does the guide that I 
> listed in my original post makes any mention of these two files.
> 
> Regards 
> 
> On Tuesday, April 6, 2021 at 10:58:30 PM UTC+1 Graham Dumpleton wrote:
> At a guess, you only have Python 3 installed and it doesn't provide a link 
> from python to python3, plus you don't have Apache devel package installed 
> either.
> 
> Ensure you install the appropriate Apache devel package for you your 
> operating system variant.
> 
> Then use:
> 
>     ./configure --with-python python3
> 
> to tell configure the name of the Python program.
> 
> Graham
> 
> 
>> On 7 Apr 2021, at 7:54 am, Satinder Singh <[email protected] 
>> <applewebdata://218B6B11-6911-4204-BACB-35A944257E59>> wrote:
>> 
> 
>> I am trying to follow this documentation here:
>> 
>> https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html
>>  
>> <https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html>
>> 
>> However, when I execute .configure (to configure the source code of 
>> mod_wsgi), I keep getting the following errors:
>> 
>> checking for python... no
>> 
>> ./configure: line 2849: python: command not found
>> 
>> ./configure: line 2853: python: command not found
>> 
>> ./configure: line 2861: python: command not found
>> 
>> ./configure: line 2866: python: command not found
>> 
>> ./configure: line 2880: python: command not found
>> 
>> ./configure: line 2884: python: command not found
>> 
>> ./configure: line 2887: python: command not found
>> 
>> ./configure: line 2890: python: command not found
>> 
>> ./configure: line 2893: python: command not found
>> 
>> ./configure: line 2919: python: command not found
>> 
>> ./configure: line 2922: python: command not found
>> 
>> ./configure: line 2964: apxs: command not found
>> 
>> configure: creating ./config.status
>> 
>> config.status: creating Makefile
>> 
>> 
>> 
>> What is a solution to this? Please advise.
>> 
>> 
> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <applewebdata://218B6B11-6911-4204-BACB-35A944257E59>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/modwsgi/19c29353-9669-4844-a01e-d32c5f133064n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/modwsgi/19c29353-9669-4844-a01e-d32c5f133064n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/9be14c77-d146-4512-bf5c-49ee3a231c05n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/9be14c77-d146-4512-bf5c-49ee3a231c05n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/E9F6C934-CBF9-43BD-9322-B92064EF76A6%40gmail.com.

Reply via email to