Re: [modwsgi] Installation problems regarding mod_wsgi and APR

2020-09-26 Thread Licht Artig
Hi Graham,
thanks for your reply and your help. At the end I resolved the issue with
the admin.
Best
Sebastian


Am Di., 22. Sept. 2020 um 22:51 Uhr schrieb Graham Dumpleton <
graham.dumple...@gmail.com>:

> When trying to install mod_wsgi-standalone package, since you have a
> failed build from prior attempt with mod_wsgi package, use:
>
> pip install -U --no-cache-dir -v -v -v mod_wsgi-standalone
>
> If that doesn't work, little that can be done if don't have root access to
> install Apache system wide properly.
>
> Note that the -v -v -v is intentional and causes pip to output more logs.
> I would need to see more of the messages around where the failure occurs to
> comment more about why it is failing. Most likely your system is missing
> other packages that is required to build Apache.
>
> On 23 Sep 2020, at 12:26 am, Licht Artig 
> wrote:
>
> Hi,
>
> I am currently trying to install mod_wsgi on a server without root access.
> Since the server did not have the packages apache2-dev and libapr1-dev
> installed, which I believe are necessary for mod_wsgi to work, I downloaded
> and unpacked them and added their ./usr/bin directories to $PATH.
>
> Finally, I tried to install mod_wsgi via pip3 for the local user, however
> I get the following error:
> *FileNotFoundError: [Errno 2] No such file or directory:
> '/usr/bin/apr-1-config': '/usr/bin/apr-1-config'*
> Which makes sense, because the apr-1-config file ist not in that directory
> but instead in $HOME/libapr1-dev/usr/bin. Is there any way I can let the
> installation script know to look in this directory instead?
>
> Sidenote: As a quick workaround I also tried to install
> mod_wsgi-standalone, which however gives the following error:
> *RuntimeError: Failed to build APR.*
>
> Thanks in advance!
>
> Best,
> Sebastian
>
> --
> 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 modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/66753beb-b300-4961-9485-319b8d4776d1n%40googlegroups.com
> 
> .
>
>
> --
> 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 modwsgi+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/CBD95EE9-327C-423A-82BD-71A15ECADC09%40gmail.com
> 
> .
>

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CA%2B%2BvfruH98L1dM8Yich-ikcifV%2BH_vZV--vb7NiF%3DsiU8L0yoA%40mail.gmail.com.


Re: [modwsgi] Installation problems regarding mod_wsgi and APR

2020-09-22 Thread Graham Dumpleton
When trying to install mod_wsgi-standalone package, since you have a failed 
build from prior attempt with mod_wsgi package, use:

pip install -U --no-cache-dir -v -v -v mod_wsgi-standalone

If that doesn't work, little that can be done if don't have root access to 
install Apache system wide properly.

Note that the -v -v -v is intentional and causes pip to output more logs. I 
would need to see more of the messages around where the failure occurs to 
comment more about why it is failing. Most likely your system is missing other 
packages that is required to build Apache.

> On 23 Sep 2020, at 12:26 am, Licht Artig  wrote:
> 
> Hi,
> 
> I am currently trying to install mod_wsgi on a server without root access. 
> Since the server did not have the packages apache2-dev and libapr1-dev 
> installed, which I believe are necessary for mod_wsgi to work, I downloaded 
> and unpacked them and added their ./usr/bin directories to $PATH.
> 
> Finally, I tried to install mod_wsgi via pip3 for the local user, however I 
> get the following error:
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/usr/bin/apr-1-config': '/usr/bin/apr-1-config'
> Which makes sense, because the apr-1-config file ist not in that directory 
> but instead in $HOME/libapr1-dev/usr/bin. Is there any way I can let the 
> installation script know to look in this directory instead?
> 
> Sidenote: As a quick workaround I also tried to install mod_wsgi-standalone, 
> which however gives the following error:
> RuntimeError: Failed to build APR.
> 
> Thanks in advance!
> 
> Best,
> Sebastian
> 
> -- 
> 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 modwsgi+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/66753beb-b300-4961-9485-319b8d4776d1n%40googlegroups.com
>  
> .

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/CBD95EE9-327C-423A-82BD-71A15ECADC09%40gmail.com.