RES: [Speedycgi-users] Nonsense error message
Brought to you by:
samh
|
From: Filipe B. L. <fil...@tn...> - 2003-08-07 19:16:43
|
Hi sam,
I discovered by querying the apxs parameters that it was nonfunctinal
anyway. apxs -q CC and apxs -q SYSCONFIGDIR returned incorrect values.
Later, I discovered that mod_so wasn=B4t isntalled anyway. I had to =
recompile
apache from ground up with all installed modules and including mod_so =
to
build a usable apxs.
The problem is: that error message shuld explain things a bit better.
Thanks anyway,
Filipe Litaiff
-----Mensagem original-----
De: Sam Horrocks [mailto:sa...@da...]
Enviada em: quarta-feira, 6 de agosto de 2003 15:01
Para: Filipe Barbosa Litaiff
Cc: spe...@li...; hpe...@on...
Assunto: Re: [Speedycgi-users] Nonsense error message=20
Try running:
apxs -q CC
That should return "cc" or "gcc" or something like that. If it returns
an error or no output, then that's the problem.
>=20
> Hi gentlemen,
>=20
> I=B4m really puzzled about a problem regarding speedycgi=B4s =
compilation.
>=20
> My environment: Solaris 8, Perl 5.6.1 and apache 1.3.27.
>=20
> The problem:
>=20
>
------------------------------------------------------------------------=
----
>=20
> Server:/opt/src/CGI-SpeedyCGI-2.21# perl -v
>=20
> This is perl, v5.6.1 built for sun4-solaris
>=20
> Copyright 1987-2001, Larry Wall
>=20
> (...).
>=20
> Server:/opt/src/CGI-SpeedyCGI-2.21# type apxs
> apxs is /usr/local/apache/bin/apxs
> Server:/opt/src/CGI-SpeedyCGI-2.21# apxs -?
> apxs:Error: Unknown option: ?
> Usage: apxs -g [-S <var>=3D<val>] -n <modname>
> apxs -q [-S <var>=3D<val>] <query> ...
> (...)
>=20
> Server:/opt/src/CGI-SpeedyCGI-2.21# perl Makefile.PL
>=20
> Optional mod_speedycgi support.
>=20
> Mod_speedycgi increases performance under Apache by avoiding the
fork/exec
> overhead associated with each request under normal SpeedyCGI. =
However,
it
> requires a working copy of "apxs" in your path, Apache with mod_so
> support, and additional Apache configuration.
>=20
> Compile mod_speedycgi (default no)? yes
> ERROR: Could not find a working copy of 'apxs' in your path.
>=20
>
------------------------------------------------------------------------=
----
> --------
>=20
> As you can see, the Makefile.PL comes out with this message, which =
is
> simply not true. The apxs IS in my path, and it is working.
>=20
> I couldn=B4t figure out what happened looking into the Makefile.PL, =
since
I=B4m
> not a perl expert, unfortunately...
>=20
> Thanks in advance for any help,
>=20
> Filipe Litaiff
>=20
>=20
>=20
>=20
> Esta mensagem, incluindo seus anexos, pode conter informa=E7=F5es
privilegiadas
> e/ou de car=E1ter confidencial, n=E3o podendo ser retransmitida sem
autoriza=E7=E3o
> do remetente. Se voc=EA n=E3o =E9 o destinat=E1rio ou pessoa =
autorizada a
receb=EA-la,
> informamos que o seu uso, divulga=E7=E3o, c=F3pia ou arquivamento =
s=E3o
proibidos.
> Portanto, se voc=EA recebeu esta mensagem por engano, por favor, nos
informe
> respondendo imediatamente a este e-mail e em seguida apague-a.
>=20
>=20
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites =
including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01=
/01
> _______________________________________________
> Speedycgi-users mailing list
> Spe...@li...
> https://lists.sourceforge.net/lists/listinfo/speedycgi-users
>=20
Esta mensagem, incluindo seus anexos, pode conter informa=E7=F5es =
privilegiadas
e/ou de car=E1ter confidencial, n=E3o podendo ser retransmitida sem =
autoriza=E7=E3o
do remetente. Se voc=EA n=E3o =E9 o destinat=E1rio ou pessoa autorizada =
a receb=EA-la,
informamos que o seu uso, divulga=E7=E3o, c=F3pia ou arquivamento s=E3o =
proibidos.
Portanto, se voc=EA recebeu esta mensagem por engano, por favor, nos =
informe
respondendo imediatamente a este e-mail e em seguida apague-a.
|