Hello, I recently did an installation on centos7, follow the steps.

yum install mod_wsgi
Download git latest version
https://github.com/GrahamDumpleton/mod_wsgi/releases
tar xvfz x.x.x-X.Y.tar.gz
cd x.x.x
./configure --with-apxs = /usr/bin/apxs
--with-python=/usr/local/bin/python3.7
make
make install

you can use a find apxs to know the location of the file.

I hope it helps.

Em qui, 11 de jul de 2019 às 02:32, Graham Dumpleton <
[email protected]> escreveu:

> I need to see what was at:
>
>     < does some processing and finally get the below error >
>
> That was the real error message.
>
> If necessary run pip with the -v option to show verbose output.
>
> On 11 Jul 2019, at 3:08 pm, Mahesh Vernekar <[email protected]>
> wrote:
>
> [root@ip-172-30-2-254 centos]# pip install mod_wsgi
> bash: pip: command not found
>
> [root@ip-172-30-2-254 centos]# pip3.7 install mod_wsgi
> Collecting mod_wsgi
> < does some processing and finally get the below error >
>
> collect2: error: ld returned 1 exit status
>     error: command 'gcc' failed with exit status 1
>
>     ----------------------------------------
> Command "/usr/local/bin/python3.7 -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-install-mpchnbay/mod-wsgi/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> /tmp/pip-record-u73j4jz8/install-record.txt
> --single-version-externally-managed --compile" failed with error code 1 in
> /tmp/pip-install-mpchnbay/mod-wsgi/
>
>
> Regards
>
> Mahesh
>
>
>
>
> On Thu, Jul 11, 2019 at 10:08 AM Graham Dumpleton <
> [email protected]> wrote:
>
>> You still didn’t show the error messages you got when trying to pip
>> install mod_wsgi.
>>
>> Graham
>>
>> On 11 Jul 2019, at 12:41, Mahesh Vernekar <[email protected]>
>> wrote:
>>
>> Hi Graham,
>>
>> Thanks for the quick response.
>>
>> python-devel and httpd-devel is installed.
>>
>> Message for yum install httpd-devel
>> Package httpd-devel-2.4.6-89.el7.centos.x86_64 already installed and
>> latest version
>>
>> Message for pip3.7 install httpd-devel
>> Collecting httpd-devel
>>   Could not find a version that satisfies the requirement httpd-devel
>> (from versions: )
>> No matching distribution found for httpd-devel
>>
>> Message for yum install python-devel
>> Package python-devel-2.7.5-80.el7_6.x86_64 already installed and latest
>> version
>>
>> Message for pip3.7 install python-devel
>> Collecting python-devel
>>   Could not find a version that satisfies the requirement python-devel
>> (from versions: )
>> No matching distribution found for python-devel
>>
>> I think the issue is due to the python-devel is being installed for ver
>> 2.7
>>
>> Not able to figure out the correct packages that are to be installed.
>>
>>
>> Regards
>>
>> Mahesh
>>
>>
>>
>>
>>
>>
>> On Wed, Jul 10, 2019 at 11:36 PM Mahesh Vernekar <
>> [email protected]> wrote:
>>
>>> Hi Graham,
>>>
>>> Is there a specific method to install mod_wsgi for Python 3.7 ?
>>>
>>> We are trying to install using command
>>>
>>> pip install mod-wsgi
>>>
>>> or
>>>
>>> pip3.7 install mod-wsgi
>>>
>>>
>>> But installation fails with gcc error. Gcc has been installed though.
>>>
>>> Any idea any step we are missing ?
>>>
>>> Operating System is centos 7
>>>
>>> Thanks
>>> Mahesh Vernekar
>>> 3PS Media India Pvt. Ltd
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "modwsgi" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/modwsgi/2wrNFucE1P4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/modwsgi.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/modwsgi/5d4d101c-7953-49b8-ab3e-d0b042b4adb6%40googlegroups.com
>>> <https://groups.google.com/d/msgid/modwsgi/5d4d101c-7953-49b8-ab3e-d0b042b4adb6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> 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 post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/modwsgi.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/modwsgi/CAKn%3D%2B263OJ8F1iG%3Dg7VrFN989ghTBROm9Ax%3DU0See9zftUR5zg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/modwsgi/CAKn%3D%2B263OJ8F1iG%3Dg7VrFN989ghTBROm9Ax%3DU0See9zftUR5zg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "modwsgi" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/modwsgi/2wrNFucE1P4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/modwsgi.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/modwsgi/6ABA06B4-2DCE-48D8-986E-DDAC1AC29273%40gmail.com
>> <https://groups.google.com/d/msgid/modwsgi/6ABA06B4-2DCE-48D8-986E-DDAC1AC29273%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/modwsgi.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/CAKn%3D%2B27yNt9DUJQc1rwZ8zQMMonP7paKXAwVnTwcEVZLseatEQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/modwsgi/CAKn%3D%2B27yNt9DUJQc1rwZ8zQMMonP7paKXAwVnTwcEVZLseatEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/modwsgi.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/30EF971B-99BC-4328-935F-B916B886900F%40gmail.com
> <https://groups.google.com/d/msgid/modwsgi/30EF971B-99BC-4328-935F-B916B886900F%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CAOq6%3Dw1Rx0obWpSqmeTfxLbjLkdEVsXrOo0KqzfHW5CXn9tUcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to