You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jimmy McDonald <io...@bsdshell.dyndns.org> on 2003/05/05 23:23:55 UTC
Re: [users@httpd] complex question
> Nope. mod_rewrite processes _request_URLs_. You'd need Apache 2 which
> provides output filters. If you have already installed Apache 2:
> mod_ext_filter is your friend.
While I agree that mod_ext_filter is my friend its not being
very friendly.
I have downloaded two seperate versions of the source code
and run apxs -c mod_ext_filter.c -o mod_ext_filter.so
It says there was an error in the command.
I edited apxs to capture the specific error and it spits out:
ld: fatal: Symbol referencing errors. No output written to
/home/admin/mod_ext_filter.so
collect2: ld returned 1 exit status
apxs:Error: Command /opt/covalent/ers/apache/build/libtool --silent
--mode=link gcc -o /home/admin/mod_ext_filter.la -rpath
/opt/covalent/ers/apache/modules -module -avoid-version
/home/admin/mod_ext_filter.lo -o /home/admin/mod_ext_filter.so failed with
rc=65536
I have also tried to build apache 2.0.44 with --enable=exp_filter=shared
and copying the the .so file but that build fails with the following:
Building shared: mod_ext_filter.la
/bin/bash /home/admin/httpd-2.0.44/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -pthreads -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/admin/httpd-2.0.44/srclib/apr/include
-I/home/admin/httpd-2.0.44/srclib/apr-util/include
-I/home/admin/httpd-2.0.44/srclib/apr-util/xml/expat/lib -I.
-I/home/admin/httpd-2.0.44/os/unix
-I/home/admin/httpd-2.0.44/server/mpm/prefork
-I/home/admin/httpd-2.0.44/modules/http
-I/home/admin/httpd-2.0.44/modules/filters
-I/home/admin/httpd-2.0.44/modules/proxy
-I/home/admin/httpd-2.0.44/include
-I/home/admin/httpd-2.0.44/modules/dav/main -prefer-pic -c
mod_ext_filter.c && touch mod_ext_filter.slo
/bin/bash /home/admin/httpd-2.0.44/srclib/apr/libtool --silent --mode=link
gcc -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/admin/httpd-2.0.44/srclib/apr/include
-I/home/admin/httpd-2.0.44/srclib/apr-util/include
-I/home/admin/httpd-2.0.44/srclib/apr-util/xml/expat/lib -I.
-I/home/admin/httpd-2.0.44/os/unix
-I/home/admin/httpd-2.0.44/server/mpm/prefork
-I/home/admin/httpd-2.0.44/modules/http
-I/home/admin/httpd-2.0.44/modules/filters
-I/home/admin/httpd-2.0.44/modules/proxy
-I/home/admin/httpd-2.0.44/include
-I/home/admin/httpd-2.0.44/modules/dav/main -export-dynamic
-L/home/admin/httpd-2.0.44/srclib/apr-util/xml/expat/lib -o
mod_ext_filter.la -rpath /home/admin/apache44/modules -module
-avoid-version mod_ext_filter.lo
grep: illegal option -- e
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- e
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- e
grep: illegal option -- L
grep: illegal option -- /
grep: illegal option -- o
grep: illegal option -- m
grep: illegal option -- e
grep: illegal option -- /
grep: illegal option -- a
grep: illegal option -- d
grep: illegal option -- m
grep: illegal option -- /
grep: illegal option -- t
grep: illegal option -- t
grep: illegal option -- p
grep: illegal option -- d
grep: illegal option -- -
grep: illegal option -- 2
grep: illegal option -- .
grep: illegal option -- 0
grep: illegal option -- .
grep: illegal option -- 4
grep: illegal option -- 4
grep: illegal option -- /
grep: illegal option -- r
grep: illegal option -- /
grep: illegal option -- a
grep: illegal option -- p
grep: illegal option -- r
grep: illegal option -- -
grep: illegal option -- u
grep: illegal option -- t
grep: illegal option -- /
grep: illegal option -- x
grep: illegal option -- m
grep: illegal option -- /
grep: illegal option -- e
grep: illegal option -- x
grep: illegal option -- p
grep: illegal option -- a
grep: illegal option -- t
grep: illegal option -- /
Usage: grep -hblcnsviw pattern file . . .
I've also tried to download a binary of it with no success.
Any of these errors useful in debugging this?
Thanks,
Jimmy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] complex question
Posted by Jimmy McDonald <io...@bsdshell.dyndns.org>.
> Are you using GNU utilities? I'm guessing not.
It's a Solaris 8 box. The utilities are just the
default utils from SUN. I'm not the admin on the
box so I can't change it.
Thanks, maybe I can get someone to change it for me
but I'm not holding my breath.
Jimmy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] complex question
Posted by Benjamin Krueger <be...@seattlefenix.net>.
* Jimmy McDonald (iod@bsdshell.dyndns.org) [030505 14:17]:
> > Nope. mod_rewrite processes _request_URLs_. You'd need Apache 2 which
> > provides output filters. If you have already installed Apache 2:
> > mod_ext_filter is your friend.
>
> While I agree that mod_ext_filter is my friend its not being
> very friendly.
>
> I have downloaded two seperate versions of the source code
> and run apxs -c mod_ext_filter.c -o mod_ext_filter.so
>
> It says there was an error in the command.
> I edited apxs to capture the specific error and it spits out:
>
> ld: fatal: Symbol referencing errors. No output written to
> /home/admin/mod_ext_filter.so
> collect2: ld returned 1 exit status
> apxs:Error: Command /opt/covalent/ers/apache/build/libtool --silent
> --mode=link gcc -o /home/admin/mod_ext_filter.la -rpath
> /opt/covalent/ers/apache/modules -module -avoid-version
> /home/admin/mod_ext_filter.lo -o /home/admin/mod_ext_filter.so failed with
> rc=65536
>
>
> I have also tried to build apache 2.0.44 with --enable=exp_filter=shared
> and copying the the .so file but that build fails with the following:
>
>
> Building shared: mod_ext_filter.la
> /bin/bash /home/admin/httpd-2.0.44/srclib/apr/libtool --silent
> --mode=compile gcc -g -O2 -pthreads -DSOLARIS2=8
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
> -I/home/admin/httpd-2.0.44/srclib/apr/include
[...]
> grep: illegal option -- e
> Usage: grep -hblcnsviw pattern file . . .
> grep: illegal option -- e
> grep: illegal option -- L
> Usage: grep -hblcnsviw pattern file . . .
Are you using GNU utilities? I'm guessing not.
>
> I've also tried to download a binary of it with no success.
> Any of these errors useful in debugging this?
>
> Thanks,
> Jimmy
--
Benjamin Krueger
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org