Re: [gentoo-user] Problem installing mod_proxy
Bo Ørsted Andresen wrote: On Thursday 18 January 2007 22:13, Avaricen wrote: The defaults are entirely dependent on your choice of profile. apache2 is enabled for server profiles. What you for some weird reason have listed seem to match the desktop profiles... I see. Note that the use flags referred to are for the net-www/apache-2.0.58-r2. Also it is indeed the desktop profiles. I'm unaware of whether or not the user in question is on a server or not. Kindly list the right profiles, Bo. And how do you expect me to do that? It depends... Otherwise there would have been only one profile. The defaults (and even the OPs choice of USE flags) are also entirely irrelevant to this topic. The problem was that the OP (who isn't kashani) had apache in package.provided instead of installed through portage. And the apache the OP had provided didn't include what he needed. Hence it has also nothing to do with masks and the problems with package.provided are barely mentioned in the handbook (if at all). All of this you would have known if you had read the entire thread (which happen to be two threads that share the same topic because the OP didn't manage to keep it in one). Thats great, Bo. Thanks for this. We all try to assist. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
Bo Ørsted Andresen wrote: On Wednesday 17 January 2007 19:58, Avaricen wrote: As far as I know Apache uses the following by default: USE=ldap ssl -apache2 -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads. The defaults are entirely dependent on your choice of profile. apache2 is enabled for server profiles. What you for some weird reason have listed seem to match the desktop profiles... I see. Note that the use flags referred to are for the net-www/apache-2.0.58-r2. Also it is indeed the desktop profiles. I'm unaware of whether or not the user in question is on a server or not. Kindly list the right profiles, Bo. Best regards. Avaricen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Thursday 18 January 2007 22:13, Avaricen wrote: The defaults are entirely dependent on your choice of profile. apache2 is enabled for server profiles. What you for some weird reason have listed seem to match the desktop profiles... I see. Note that the use flags referred to are for the net-www/apache-2.0.58-r2. Also it is indeed the desktop profiles. I'm unaware of whether or not the user in question is on a server or not. Kindly list the right profiles, Bo. And how do you expect me to do that? It depends... Otherwise there would have been only one profile. The defaults (and even the OPs choice of USE flags) are also entirely irrelevant to this topic. The problem was that the OP (who isn't kashani) had apache in package.provided instead of installed through portage. And the apache the OP had provided didn't include what he needed. Hence it has also nothing to do with masks and the problems with package.provided are barely mentioned in the handbook (if at all). All of this you would have known if you had read the entire thread (which happen to be two threads that share the same topic because the OP didn't manage to keep it in one). -- Bo Andresen pgplXZAggJkqu.pgp Description: PGP signature
Re: [gentoo-user] Problem installing mod_proxy
Thomas Balthazar wrote: Hello, This is my first week with Gentoo. I'm running Gentoo Base System version 1.6.14 on a x86_64 Intel(R) Celeron(R) CPU 2.66GHz. I have Apache 2.0.58 installed. I would like to install mod_proxy. I need it. When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. Your analogy is incorrect. I'd suggest reading the Gentoo handbook about package masking/unmasking. You also should read about USE Flags, so you can set which flags you'd like to use. As far as I know Apache uses the following by default: USE=ldap ssl -apache2 -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads. Select which you'd prefer. If only you cared to study a little. Best regards. Avaricen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Wednesday 17 January 2007 19:58, Avaricen wrote: As far as I know Apache uses the following by default: USE=ldap ssl -apache2 -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads. The defaults are entirely dependent on your choice of profile. apache2 is enabled for server profiles. What you for some weird reason have listed seem to match the desktop profiles... -- Bo Andresen pgpWXqWUt6Aec.pgp Description: PGP signature
Re: [gentoo-user] Problem installing mod_proxy
Avaricen wrote: Your analogy is incorrect. I'd suggest reading the Gentoo handbook about package masking/unmasking. You also should read about USE Flags, so you can set which flags you'd like to use. As far as I know Apache uses the following by default: USE=ldap ssl -apache2 -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads. Select which you'd prefer. If only you cared to study a little. If only someone had read the full thread or perhaps did some research on mod_proxy they might have realized it is part of Apache2 and you can't turn it on or off via use flags. If only you cared to study a little before berating a new user. kashani -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem installing mod_proxy
Hello, This is my first week with Gentoo. I'm running Gentoo Base System version 1.6.14 on a x86_64 Intel(R) Celeron(R) CPU 2.66GHz. I have Apache 2.0.58 installed. I would like to install mod_proxy. I need it. When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas.
Re: [gentoo-user] Problem installing mod_proxy
Thomas Balthazar wrote: Hello, This is my first week with Gentoo. I'm running Gentoo Base System version 1.6.14 on a x86_64 Intel(R) Celeron(R) CPU 2.66GHz. I have Apache 2.0.58 installed. I would like to install mod_proxy. I need it. When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. Well, I can't find it but I saw this mentioned the other day on one of the lists. I think it was the dev list. They changed the name of it or something. You may want to check to see if it is enabled with a USE option too. I did a search but I can't remember what it is called so I'm not sure what to search for. I'll try to dig some more and let you know if I find the answer. May have been in the weekly newsletter too. I get to much stuff to read. Hope that helps. Dale :-) :-) :-) -- www.myspace.com/dalek1967
Re: [gentoo-user] Problem installing mod_proxy
Thomas Balthazar wrote: So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. ws06 ~ # locate mod_proxy /usr/lib/apache2/modules/mod_proxy.so /usr/lib/apache2/modules/mod_proxy_connect.so /usr/lib/apache2/modules/mod_proxy_ftp.so /usr/lib/apache2/modules/mod_proxy_http.so /usr/include/apache2/mod_proxy.h mod_proxy is part of Apache2 core so it's already installed. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Tue, 16 Jan 2007 11:11:45 +0100, Thomas Balthazar wrote: When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. I take it you're running an amd64 system, the only version of mod_proxy for amd64 is keyworded as testing, so you need to add an entry to /etc/portage/package.keywords to permit portage to install the testing version. The easiest way to do this is to first emerge flagedit, then do flagedit www-apache/mod_proxy_html -- ~amd64 Then you'll be able to emerge mod_proxy. -- Neil Bothwick Computers are like Old Testament gods; lots of rules and no mercy. signature.asc Description: PGP signature
RE: [gentoo-user] Problem installing mod_proxy
-Original Message- From: Thomas Balthazar [mailto:[EMAIL PROTECTED] Sent: 16 January 2007 10:12 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Problem installing mod_proxy So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? http://packages.gentoo.org/ebuilds/?mod_proxy_html-2.4.3 v2.4.3 should be available ? David
Re: [gentoo-user] Problem installing mod_proxy
Hei! It seems to be masked, so i think you just have to unmask it by adding '=www-apache/mod_proxy_html-2.5.1' to /etc/portage/package.unmask On Tue, 16 Jan 2007 11:11:45 +0100, Thomas Balthazar [EMAIL PROTECTED] wrote: Hello, This is my first week with Gentoo. I'm running Gentoo Base System version 1.6.14 on a x86_64 Intel(R) Celeron(R) CPU 2.66GHz. I have Apache 2.0.58 installed. I would like to install mod_proxy. I need it. When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
Hello, Thanks for your help. I did what you advised, and get the following error : -- start error -- 12:23:07 (190.91 MB/s) - `/usr/portage/distfiles/mod_proxy_html-2.5.1.c.bz2' saved [8608/8608] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mod_proxy_html-2.5.1.c.bz2 ;-) ... [ ok ] Unpacking source... Source unpacked. Compiling source in /var/tmp/portage/mod_proxy_html-2.5.1/work ... /usr/portage/eclass/apache-module.eclass: line 275: /usr/sbin/apxs2: No such file or directory !!! ERROR: www-apache/mod_proxy_html-2.5.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile mod_proxy_html-2.5.1.ebuild, line 33: Called apache2_src_compile apache-module.eclass, line 275: Called die !!! /usr/sbin/apxs2 -I/usr/include/libxml2 -c mod_proxy_html.c failed !!! If you need support, post the topmost build error, and the call stack if relevant. -- end error -- Any idea? Thanks in advance, Thomas. On 1/16/07, Matthias Guede [EMAIL PROTECTED] wrote: This is my first week with Gentoo. I'm running Gentoo Base System version 1.6.14 on a x86_64 Intel(R) Celeron(R) CPU 2.66GHz. I have Apache 2.0.58 installed. I would like to install mod_proxy. I need it. When I do a emerge --search mod_proxy, all I get is : * www-apache/mod_proxy_html [ Masked ] Latest version available: 2.5.1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://apache.webthing.com/mod_proxy_html/ Description: An Apache2 DSO to rewrite links in html pages behind a reverse proxy License: GPL-2 So it looks like I cannot install mod_proxy through emerge. The package is masked. You have to unmask it before installation with the following command: echo www-apache/mod_proxy_html ~amd64 /etc/portage/package.keywords After that you should be able to install it with: emerge -av mod_proxy_html For more information about package masking consult the gentoo documentation: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1 Matthias -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Tuesday 16 January 2007 12:25, Thomas Balthazar wrote: Thanks for your help. I did what you advised, and get the following error : [SNIP] /usr/portage/eclass/apache-module.eclass: line 275: /usr/sbin/apxs2: No such file or directory !!! ERROR: www-apache/mod_proxy_html-2.5.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile mod_proxy_html-2.5.1.ebuild, line 33: Called apache2_src_compile apache-module.eclass, line 275: Called die !!! /usr/sbin/apxs2 -I/usr/include/libxml2 -c mod_proxy_html.c failed !!! If you need support, post the topmost build error, and the call stack if relevant. [SNIP] You haven't really made it clear whether you meant mod_proxy (which as kashani said is part of apache itself) or mod_proxy_html. /usr/sbin/apxs2 is part of apache-2.x so does the file exist? Please post the output of: # ls /usr/sbin/apxs2 # emerge -vp apache If apxs2 exists you may just need `env-update source /etc/profile`. -- Bo Andresen pgpoIbGc47QfJ.pgp Description: PGP signature
Re: [gentoo-user] Problem installing mod_proxy
On Tue, 16 Jan 2007 10:27:38 -, Nelson, David \(ED, PARD\) wrote: http://packages.gentoo.org/ebuilds/?mod_proxy_html-2.4.3 v2.4.3 should be available ? He's running an x86_64 system. -- Neil Bothwick Interchangeable parts aren't. signature.asc Description: PGP signature
Re: [gentoo-user] Problem installing mod_proxy
Hello, Thanks for your answer. What I need is mod_proxy. I don't even know exactly what mod_proxy_html is and if it can help me. # ls /usr/sbin/apxs2 : ls: /usr/sbin/apxs2: No such file or directory But apxs is available here : /usr/local/apache/bin/apxs # emerge -vp apache -- These are the packages that would be merged, in order: Calculating dependencies !!! All ebuilds that could satisfy apache have been masked. !!! One of the following masked packages is required to complete your request: - net-www/apache-2.2.3-r1 (masked by: package.mask, package.mask, ~amd64 keyword) # Michael Stewart [EMAIL PROTECTED] (03 Feb 2006) # Mask for testing of new version - net-www/apache-2.0.59-r2 (masked by: package.mask, ~amd64 keyword) - net-www/apache-1.3.37 (masked by: package.mask, ~amd64 keyword) - net-www/apache-2.0.58-r2 (masked by: package.mask) - net-www/apache-1.3.34-r14 (masked by: package.mask) - net-www/apache-2.2.3 (masked by: package.mask, package.mask, ~amd64 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. -- What does this If apxs2 exists you may just need `env-update source /etc/profile`. do? Thanks for your help! Thomas. On 1/16/07, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Tuesday 16 January 2007 12:25, Thomas Balthazar wrote: Thanks for your help. I did what you advised, and get the following error : [SNIP] /usr/portage/eclass/apache-module.eclass: line 275: /usr/sbin/apxs2: No such file or directory !!! ERROR: www-apache/mod_proxy_html-2.5.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile mod_proxy_html-2.5.1.ebuild, line 33: Called apache2_src_compile apache-module.eclass, line 275: Called die !!! /usr/sbin/apxs2 -I/usr/include/libxml2 -c mod_proxy_html.c failed !!! If you need support, post the topmost build error, and the call stack if relevant. [SNIP] You haven't really made it clear whether you meant mod_proxy (which as kashani said is part of apache itself) or mod_proxy_html. /usr/sbin/apxs2 is part of apache-2.x so does the file exist? Please post the output of: # ls /usr/sbin/apxs2 # emerge -vp apache If apxs2 exists you may just need `env-update source /etc/profile`. -- Bo Andresen
Re: [gentoo-user] Problem installing mod_proxy
Hello, It seems that it isn't installed for me :-/ ls -l /usr/local/apache/modules total 32 -rw-r--r-- 1 root root 8504 2006-06-14 10:50 httpd.exp -rwxr-xr-x 1 root root 19921 2006-06-12 11:08 mod_suphp.so On 1/16/07, kashani [EMAIL PROTECTED] wrote: Thomas Balthazar wrote: So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. ws06 ~ # locate mod_proxy /usr/lib/apache2/modules/mod_proxy.so /usr/lib/apache2/modules/mod_proxy_connect.so /usr/lib/apache2/modules/mod_proxy_ftp.so /usr/lib/apache2/modules/mod_proxy_http.so /usr/include/apache2/mod_proxy.h mod_proxy is part of Apache2 core so it's already installed. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
On Tuesday 16 January 2007 12:56, Thomas Balthazar wrote: Thanks for your answer. What I need is mod_proxy. I don't even know exactly what mod_proxy_html is and if it can help me. # ls /usr/sbin/apxs2 : ls: /usr/sbin/apxs2: No such file or directory But apxs is available here : /usr/local/apache/bin/apxs [SNIP] So do you have apache in package.provided and package.mask? Why not install it through portage? What does this If apxs2 exists you may just need `env-update source /etc/profile`. do? That was if /usr/sbin/apxs2 existed and you just needed bash to recognize it. If you really want to use the apache in /usr/local you can symlink apxs2 from there to /usr/sbin. -- Bo Andresen pgpyXVf9kWJId.pgp Description: PGP signature
Re: [gentoo-user] Problem installing mod_proxy
On Tuesday 16 January 2007 12:01, Thomas Balthazar wrote: Hello, It seems that it isn't installed for me :-/ ls -l /usr/local/apache/modules total 32 -rw-r--r-- 1 root root 8504 2006-06-14 10:50 httpd.exp -rwxr-xr-x 1 root root 19921 2006-06-12 11:08 mod_suphp.so Why would you expect to see anything in /usr/local/apache? Portage is the package manager, the package manager doesn't put stuff in /usr/local. On 1/16/07, kashani [EMAIL PROTECTED] wrote: Thomas Balthazar wrote: So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. ws06 ~ # locate mod_proxy /usr/lib/apache2/modules/mod_proxy.so /usr/lib/apache2/modules/mod_proxy_connect.so /usr/lib/apache2/modules/mod_proxy_ftp.so /usr/lib/apache2/modules/mod_proxy_http.so /usr/include/apache2/mod_proxy.h mod_proxy is part of Apache2 core so it's already installed. kashani -- gentoo-user@gentoo.org mailing list -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
The apache installation I was using is a custom one, provided by ovh.com. I have uninstalled it, and I'll try to install a brand new apache version with emerge. Thanks to everybody. Thomas. On 1/16/07, Mike Williams [EMAIL PROTECTED] wrote: On Tuesday 16 January 2007 12:01, Thomas Balthazar wrote: Hello, It seems that it isn't installed for me :-/ ls -l /usr/local/apache/modules total 32 -rw-r--r-- 1 root root 8504 2006-06-14 10:50 httpd.exp -rwxr-xr-x 1 root root 19921 2006-06-12 11:08 mod_suphp.so Why would you expect to see anything in /usr/local/apache? Portage is the package manager, the package manager doesn't put stuff in /usr/local. On 1/16/07, kashani [EMAIL PROTECTED] wrote: Thomas Balthazar wrote: So it looks like I cannot install mod_proxy through emerge. Do I need to recompile Apache? Or is there another way? If I need to recompile Apache, how can I know which options where used for the original installation of Apache? I would like to keep the exact same config + mod_proxy. Any help would be much-much-much appreciated! Thanks in advance, Thomas. ws06 ~ # locate mod_proxy /usr/lib/apache2/modules/mod_proxy.so /usr/lib/apache2/modules/mod_proxy_connect.so /usr/lib/apache2/modules/mod_proxy_ftp.so /usr/lib/apache2/modules/mod_proxy_http.so /usr/include/apache2/mod_proxy.h mod_proxy is part of Apache2 core so it's already installed. kashani -- gentoo-user@gentoo.org mailing list -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem installing mod_proxy
Thomas Balthazar wrote: Hello, It seems that it isn't installed for me :-/ ls -l /usr/local/apache/modules total 32 -rw-r--r-- 1 root root 8504 2006-06-14 10:50 httpd.exp -rwxr-xr-x 1 root root 19921 2006-06-12 11:08 mod_suphp.so Looks like you're not using portage to install Apache. Why you aren't letting portage do all the dirty work is a mystery, but it's your system. However unless you've hacked up your Apache install in a serious way mod_proxy is a core part of Apache2 and should be installed. The dir you did the listing on appears to be a third party modules directory only or it's a statically compiled Apache. I'd try doing a find on your filesystem for mod_proxy, mod_dir, or mod_mime which should be part of a default Apache2 build or just use portage to install Apache and be done with it. For the record mod_proxy_html rewrites links to work cleanly with mod_proxy and is based off the work in mod_accessibility and does not actually do any proxying. kashani -- gentoo-user@gentoo.org mailing list