Joshua, (and all)

Thanks very much for your reply. Following your suggestions, I have tried
again this morning, to no avail.

I am sure I missed something obvious here. although serveral people have
mentioned compiling mod_perl STATICALLY with Apache, I have not found clear
instructions on EXACTLY how to do it. Following the 10-step instruction at
http://perl.apache.org/guide/install.html, still several problem came up.

Question: how does one compile mod_perl static with Apache? which file to edit
and how, and how do I know whether I succeed?

I suspected that my CPAN was not installed fully. After "install
Bundle::Apache", it reported back that Sandwich failed, and PerlRunXS skipped.
when "install Apache::PerlRunXS", PerlRunXS still failed. "test Apache" was
not ok either. I can "force install Apache::Sandwich" and it test ok, but
after install perlrunxs which failed, sandwich did not test ok either. How can
I get around this? or are those needed?

Currently, the Apache server still works, but it's still Apache 1.3.6 with
PHP, even though the Apache I just re-compiled is 1.3.9 and with
mod_perl-1.21.

Thanks for your kind help!

Don

ps. can I talk with someone on this?


Joshua Chamas wrote:

> Don,
>
> Try and get a static install to work.  mod_perl DSO does not
> work reliably.  If mod_perl is compiled statically into
> Apache, it just works, and you don't need to configure
> the web server with anything, and you'll probably need
> to comment out lines like "LoadModule ...".
>
> You know that mod_perl is working in the server by having
> mod_perl's "make test" work, or by trying something
> simple like "PerlModule CGI" in a config.
>
> -- Joshua
> _________________________________________________________________
> Joshua Chamas                           Chamas Enterprises Inc.
> NodeWorks >> free web link monitoring   Huntington Beach, CA  USA
> http://www.nodeworks.com                1-714-625-4051
>
> don Wang wrote:
> >
> > Help!
> >
> > I have tried unsucessfully to set up an Apache server with ASP
> > functionality. According to instructions I got when downloading ASP.pm
> > modules from perl.com. It did not work.
> >
> > After seemingly successful installation, I tried various ways to modify
> > httpd config files, and the asp (most likely mod_perl)  is not working,
> > since all the asp files and perl files are displayed in plain text.
> >
> > I had a full installation of Mandrake RedHat 6.0 with 2.2.9 Linux
> > kernel, with Apache and mod_perl pre-installed. I copied the tar file
> > to:
> > /usr/lib/perl5/site_perl/5.005/i386-linux/apache/
> > untar and perl Makefile.PL
> > By then, it reported back that I have many (~10) modules missing. After
> > going through installing all the modules with CPAN.pm, perl Makefile.PL
> > finally says ok, and I went ahead with make, make test, make install.
> > all seems fine.
> >
> > Errors occur when I tried to config and restart the Apache server. When
> > I enable DSO, it says libperl.so is garbled, and possibly not a Apache
> > module DSO. When disabling DSO by commenting out two lines in httpd.conf
> > (AddModule mod_perl.c and LoadModule perl_module moduels/libperl.so),
> > Only then httpd starts. when I have <location /perl> in the conf files,
> > the "PerlHandler    Apache::Registry" is also give out error for invalid
> > "PerlHandler" command, perhaps mispelled or module not defined in the
> > configuration.
> >
> > httpd error log reports that I only have apache 1.3.6 with PHP
> > Mandrake/Linux running. no mod_perl to be found.
> >
> > Then the 10 step "sure-install" also failed subsequently.
> > http://perl.apache.org/guide/index.html
> >
> > Questions:
> >
> > Why does the ten step install from apache failed? is it from previous
> > installtion?
> > How do I know if a module is defined in a configuration? where? how to?
> > I heard mixed words on DSO. If I were to statically compile it, how to
> > disable DSO?
> >
> > I am lost. Thanks in advance for your help!
> >
> > Don
> >
> > --
> > ***************************************************************
> > [EMAIL PROTECTED]
> > Unified Access Communications, Inc.
> > 200 Lincoln Street, Suite 201
> > Boston, MA 02111
> > phone:  (617) 695-0137, ext. 13
> > fax:  (617) 695-0984
> > ***************************************************************
begin:          vcard
fn:             Don Wang
n:              Wang;Don
org:            Unified Access Communications
adr:            200 Lincoln Street;;;Boston;MA;02111;USA
email;internet: [EMAIL PROTECTED]
tel;work:       617-695-0137 x 13
tel;fax:        617-695-0984
note:           http://www.uac.com
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

Reply via email to