Thanks.  It looks like Dave's answer worked:

> Otherwise you can use CGI.pm with Mason, by setting
> this in your
> httpd.conf:
> 
>  PerlSetVar  MasonArgsMethod  CGI

To answer some of your other questions about gcc, when
I try to install libapreq-1.3 to get Apache::Request I
get the following error:

sh-2.05$ make
make[1]: Entering directory
`/usr/local/apache/htdocs/mason_install/libapreq-1.3/c'
gcc -c
-I/usr/local/perl/lib/site_perl/5.6.0/i686-linux/auto/Apache/include
-I/usr/local/perl/lib/site_perl/5.6.0/i686-linux/auto/Apache/include/modules/perl
-I/usr/local/apache/include -I/include
-I/usr/local/apache/include -fno-strict-aliasing
-I/usr/local/include -O2     -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic
-I/usr/local/perl/lib/5.6.0/i686-linux/CORE 
apache_request.c
make[1]: gcc: Command not found
make[1]: *** [apache_request.o] Error 127
make[1]: Leaving directory
`/usr/local/apache/htdocs/mason_install/libapreq-1.3/c'
make: *** [subdirs] Error 2

So gcc is not found.  I'm hosting on what is called a
virtual dedicated server at Jumpline.com.  Somehow
they have it setup where you use part of a server but
have SSH access and can reboot and install anything
you want.  It is pretty cool and it is about
$15/month.  Anyway maybe they configued the server not
to have gcc.

Does anyone know an easy way to install gcc?  You know
a couple of Unix commands.

Dave suggestion of using:

PerlSetVar  MasonArgsMethod  CGI

seems to have worked!  So I'm excited.  What tradoffs
are there with using this method as opposed to
Apache::Request?  I'm just trying to build a web site
that can have Perl in the HTML and access a MYSQL
database.

Thanks for everything.  You guys have been great.

--- Dave Rolsky <[EMAIL PROTECTED]> wrote:
> On Mon, 6 Oct 2003, Global Junk wrote:
> 
> > I'm trying to get Mason installed on my Linux
> server.
> > I'm running Apache/1.3.26 (Unix) mod_perl/1.26.
> >
> > I've tried to install the Apache::Request module.
> > First I tried to install libapreq-1.3 to get
> > Apache::Request.  I do not have a gcc compiler and
> so
> > I had some errors.  I then tried to just install
> 
> You're running Linux but gcc is not installed?  I
> don't believe that.  I
> can't imagine a Linux distro that comes without GCC.
> 
> > I hesitate to install a gcc compiler since I do
> not
> > know a lot about it and I do not want to open up a
> can
> > of worms.  I would like to avoid compiling if I
> can.
> 
> Uh, you already have it, trust me.
> 
> Your distro may have a package for Apache::Request. 
> I know Debian does.
> 
> Otherwise you can use CGI.pm with Mason, by setting
> this in your
> httpd.conf:
> 
>  PerlSetVar  MasonArgsMethod  CGI
> 
> 
> -dave
> 
> /*=======================
> House Absolute Consulting
> www.houseabsolute.com
> =======================*/
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mason-users mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/mason-users


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Reply via email to