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 <
vericgar@gentoo.org> (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 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