installing mod_perl with Apache and mod_ssl

2003-03-30 Thread Richard Kurth
Hello ,

I am trying to install mod_perl with Apache apache_1.3.27
mod_ssl-2.8.12-1.3.27 and Frontpage This is what I am doing to install
it but for some reason mod_perl does not install properly.

cd /tmp
tar xfz apache_1.3.27.tar.gz

#Frontpage Module
cd /tmp
cd apache_1.3.27
rm -f apache_1.3.27/src/modules/extra/mod_frontpage.c
patch -p1  ../fp-patch-apache_1.3.27-5.0

#modperl Module
cd /tmp
tar zxf mod_perl-1.27.tar.gz
cd mod_perl-1.27
perl Makefile.PL APACHE_SRC=../apache_1.3.27/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

make  make test  make install

#SSL Module
cd /tmp
echo Untarring modssl
tar xfz mod_ssl-2.8.12-1.3.27.tar.gz 
cd mod_ssl-2.8.12-1.3.27
./configure --with-apache=../apache_1.3.27 --with-ssl=/usr --prefix=/usr/apache \
--htdocsdir=/home --enable-module=rewrite --enable-shared=rewrite \
--sysconfdir=/etc/httpd/conf --logfiledir=/home/log --manualdir=/home/manual \
--server-uid=nobody --server-gid=nobody --enable-module=so --htdocsdir=/home/sites \
--cgidir=/home/cgi-bin --enable-module=proxy --enable-shared=proxy --enable-module=ssl 
\
--enable-shared=ssl --activate-module=src/modules/perl/libperl.a

cd ../apache_1.3.27
make
make install


-- 
Best regards,
Richard Kurth
DirectPHP Inc
mailto:[EMAIL PROTECTED]
360-686-8448 Home
360-686-0374 Office



Re: installing mod_perl with Apache and mod_ssl

2003-03-30 Thread Stas Bekman
Richard Kurth wrote:
Hello ,

I am trying to install mod_perl with Apache apache_1.3.27
mod_ssl-2.8.12-1.3.27 and Frontpage This is what I am doing to install
it but for some reason mod_perl does not install properly.
[...]

This might help:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___openssl_
--

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: problems installing mod_perl 2

2003-03-07 Thread Stas Bekman
Carlos Villegas wrote:
Hi,

First some basic info:

-Apache 2.0.44
-Solaris 9 sparc
-perl 5.8.0
-mod_perl-1.99_08 (from mod_perl-2.0-current.tar.gz)
-complete newbie to mod_perl
I had some problems to compile mod_perl: make test would fail, after
reading the mailing list archives, I found a few things related to my
problem, so I added a few lines to:
t/hooks/TestHooks/init.pm and t/hooks/TestHooks/trans.pm

(I can post a diff if it's of interest)
Certainly. But please follow the bug reporting guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems

This fixed some problems, but not all of them. I decided to ignore further
failures of make test, and did a make install, it failed (?), however I
did get a mod_perl.so under $apacheroot/modules, so I added the LoadModule
line to apache, and restarted it. It seems to work, however I can't load
my module (using PerlHandler mymodule), because it can't find
Apache::Constants (which I use in my module).
I have tried to install this (Apache::Constants) by using the shell of
CPAN, but it refuses to install for apache2, I saw some references to
Apache2 somewhere in the archives, but couldn't find it either (using CPAN 
shell).

Does make install add some more stuff besides mod_perl.so? My perl is in 
a read only path, so this might be the problem, but I'm not sure...

Which are the specific dependencies for mod_perl 2?
It's all very well documented. Please spend some time at:
http://perl.apache.org/docs/2.0/index.html
in particular:
http://perl.apache.org/docs/2.0/user/compat/compat.html
How stable is mod_perl 2? 
Getting better every day. There are still problems here and there, but they 
get resolved when reported. See the todo directory and the STATUS file in the 
mod_perl source for things that are still missing.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: sanity check problem: Help installing mod_perl 1.27andapache 1.3.27

2003-02-24 Thread Charlie Smith



Yes. I used gcc to compile perl 5.8, DBI 1.30, DBD::Orace 
1.12.
Then as part of this particular install, I've installed HTML-Parser-3.27, 
URI-1.23, URI-1.22, libwww-perl-5.69.

I did have similar type of problem with perl 5.8 install. I changed 
all file containing 'WI,-E' to not use ',-E'. This allowed me to get 
through the 'make' for perl 5.8.

I've read the install docs. There's an item on Solaris 2.5, on 
STRONHOLD, but I'm 2.8.
 "Ged Haywood" [EMAIL PROTECTED] 02/20/03 
02:00PM Hi there,On Thu, 20 Feb 2003, Charlie Smith 
wrote: Am having problems as seen in the 'sanity check' 
below.[snip] -lsocket -lnsl -lpthread -Wl 
-L/usr/local/lib -L/opt/local/lib  
/usr/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl 
-lm -lc cc1: Invalid option `-Wl' cc1: Invalid option 
`-Wl'The -Wl argument should be followed by a comma and option(s) which 
gccwill pass to the linker. Your -Wl has no option(s) after it. 
This isnot good. The configuration process does some substitutions on 
the Wlargument depending on the platform etc. Maybe the substitution 
isn'tworking right on your platform.In an earlier post you said that 
you'd had to add to your path to get'make' to run. That's weird, makes 
me think your setup is whacky.Have you used make, gcc etc. to compile 
anything else on your system?Have you tried to build Apache stand-alone 
(without mod_perl)?Have you read the INSTALL documents for anything that 
might be mentionedabout your 
platform?73,Ged.

--
This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.


==


Re: sanity check problem: Help installing mod_perl 1.27 andapache1.3.27

2003-02-24 Thread Ged Haywood
Hello again Charlie,

On Mon, 24 Feb 2003, Charlie Smith wrote:

 Yes.  I used gcc to compile perl 5.8, DBI 1.30, DBD::Orace 1.12.

And Apache and mod_perl?

 I did have similar type of problem with perl 5.8 install.  I changed
 all file containing 'WI,-E' to not use ',-E'.  This allowed me to
 get through the 'make' for perl 5.8.

I almost suggested doing something similar in my previous post.
But it's better to fix the build process and submit a patch... :)

73,
Ged.



Re: sanity check problem: Help installing mod_perl 1.27andapache1.3.27

2003-02-24 Thread Ged Haywood
Hi Charlie,

On Mon, 24 Feb 2003, Charlie Smith wrote:

 How long before something like this gets into the build process and
 out as a patch? Or is there something I could do in the interim?

As it seems that you're the only one having the problem, I meant that
*you* might fix it and submit a patch.  That's what this Open Source
stuff is all about.  :)

 On Mon, 24 Feb 2003, Charlie Smith wrote:
 
  Yes.  I used gcc to compile perl 5.8, DBI 1.30, DBD::Orace 1.12.
 
 And Apache and mod_perl?

You need to recompile Apache and mod_perl if you rebuild Perl.

73,
Ged.



Help installing mod_perl 1.27 and apache 1.3.27. newbiequestion.

2003-02-20 Thread Charlie Smith



I get errors on installing mod_perl/Apache 1.3.27, under the root account 
when running perl Makefile.PL.
I'm running perl 5.8 on solaris. gcc 2.95.


### perl Makefile.PLConfigure mod_perl with 
../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for 
you? [y]sh: make: not foundAppending mod_perl to 
src/ConfigurationUsing config file: 
/www/Apache/src/mod_perl-1.27/src/ConfigurationCreating Makefile+ 
configured for Solaris 280 platform+ setting C compiler to 
gcc+ setting C pre-processor to gcc -E+ checking for system 
header files+ adding selected modules o 
perl_module uses ConfigStart/End + mod_perl 
build type: OBJ + setting up mod_perl build 
environment + id: 
mod_perl/1.27 + id: Perl/v5.8.0 (solaris) 
[perl] + adjusting Apache build 
environment + enabling Perl support for SSI 
(mod_include)./helpers/TestCompile: make: not found+ using builtin 
Expat./Configure: make: not found+ checking sizeof various data 
types./helpers/TestCompile: make: not found./helpers/TestCompile: make: 
not found./helpers/TestCompile: make: not found./helpers/TestCompile: 
make: not found./helpers/TestCompile: make: not 
found./helpers/TestCompile: make: not found./helpers/TestCompile: make: 
not found./helpers/TestCompile: make: not found./helpers/TestCompile: 
make: not found+ doing sanity check on compiler and 
options./helpers/TestCompile: make: not found** A test compilation with 
your Makefile configuration** failed. The below error output from the 
compilation** test will give you an idea what is failing. Note that** 
Apache requires an ANSI C Compiler, such as gcc.

 Error Output for sanity check ./helpers/TestCompile: 
make: not found= End of Error Report =

Aborting!PerlDispatchHandler.disabled (enable with 
PERL_DISPATCH=1)PerlChildInitHandlerenabledPerlChildExitHandlerenabledPerlPostReadRequestHandler..disabled 
(enable with PERL_POST_READ_REQUEST=1)PerlTransHandlerdisabled 
(enable with PERL_TRANS=1)PerlHeaderParserHandler.disabled (enable with 
PERL_HEADER_PARSER=1)PerlAccessHandler...disabled (enable with 
PERL_ACCESS=1)PerlAuthenHandler...disabled (enable with 
PERL_AUTHEN=1)PerlAuthzHandlerdisabled (enable with 
PERL_AUTHZ=1)PerlTypeHandler.disabled (enable with 
PERL_TYPE=1)PerlFixupHandlerdisabled (enable with 
PERL_FIXUP=1)PerlHandler.enabledPerlLogHandler..disabled 
(enable with PERL_LOG=1)PerlInitHandler.disabled (enable with 
PERL_INIT=1)PerlCleanupHandler..disabled (enable with 
PERL_CLEANUP=1)PerlRestartHandler..disabled (enable with 
PERL_RESTART=1)PerlStackedHandlers.disabled (enable with 
PERL_STACKED_HANDLERS=1)PerlMethodHandlers..disabled (enable with 
PERL_METHOD_HANDLERS=1)PerlDirectiveHandlers...disabled (enable with 
PERL_DIRECTIVE_HANDLERS=1)PerlTableApidisabled (enable with 
PERL_TABLE_API=1)PerlLogApi..disabled (enable with 
PERL_LOG_API=1)PerlUriApi..disabled (enable with 
PERL_URI_API=1)PerlUtilApi.disabled (enable with 
PERL_UTIL_API=1)PerlFileApi.disabled (enable with 
PERL_FILE_API=1)PerlConnectionApi...enabledPerlServerApi...enabledPerlSectionsdisabled 
(enable with PERL_SECTIONS=1)

PerlSSI.disabled (enable with PERL_SSI=1)

Will run tests as User: 'nobody' Group: 'other'Checking CGI.pm 
VERSION..okChecking for LWP::UserAgent..okChecking for 
HTML::HeadParserokWriting Makefile for ApacheWriting Makefile for 
Apache::ConnectionWriting Makefile for Apache::ConstantsWriting Makefile 
for Apache::FileWriting Makefile for Apache::LeakWriting Makefile for 
Apache::LogWriting Makefile for Apache::ModuleConfigWriting Makefile for 
Apache::PerlRunXSWriting Makefile for Apache::ServerWriting Makefile for 
Apache::SymbolWriting Makefile for Apache::TableWriting Makefile for 
Apache::URIWriting Makefile for Apache::UtilWriting Makefile for 
mod_perl#

--
This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.


==


Re: Help installing mod_perl 1.27 and apache 1.3.27. newbie question.

2003-02-20 Thread Cory 'G' Watson

On Thursday, February 20, 2003, at 08:13  AM, Charlie Smith wrote:


I get errors on installing mod_perl/Apache 1.3.27, under the root 
account when running perl Makefile.PL.
I'm running perl 5.8 on solaris. gcc 2.95.
 
 
#
#
# perl Makefile.PL
Configure mod_perl with ../apache_1.3.27/src ? [y]
Shall I build httpd in ../apache_1.3.27/src for you? [y]
sh: make: not found

It can't find the 'make' program.  You either need to install make, or, 
if it is isntalled, make sure it's in your $PATH.

Cory 'G' Watson
http://gcdb.spleck.net



RE: Help installing mod_perl 1.27 and apache 1.3.27. newbie question.

2003-02-20 Thread Martin Scantland



Charlie,

It just seems like you need to add make in 
your path (sh: make: not found). 

Cheers,
Martin
Martin Scantland IP Services, Internet Engineering, Nortel Networks Phone: 613.765.4052, ESN 395.4052 

  -Original Message-From: Charlie Smith 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 20, 2003 
  9:14 AMTo: [EMAIL PROTECTED]Subject: Help 
  installing mod_perl 1.27 and apache 1.3.27. newbie 
  question.
  I get errors on installing mod_perl/Apache 1.3.27, under the root account 
  when running perl Makefile.PL.
  I'm running perl 5.8 on solaris. gcc 2.95.
  
  
  ### perl Makefile.PLConfigure mod_perl with 
  ../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for 
  you? [y]sh: make: not foundAppending mod_perl to 
  src/ConfigurationUsing config file: 
  /www/Apache/src/mod_perl-1.27/src/ConfigurationCreating 
  Makefile+ configured for Solaris 280 platform+ setting C 
  compiler to gcc+ setting C pre-processor to gcc -E+ 
  checking for system header files+ adding selected 
  modules o perl_module uses 
  ConfigStart/End + mod_perl build type: 
  OBJ + setting up mod_perl build 
  environment + id: 
  mod_perl/1.27 + id: Perl/v5.8.0 (solaris) 
  [perl] + adjusting Apache build 
  environment + enabling Perl support for SSI 
  (mod_include)./helpers/TestCompile: make: not found+ using 
  builtin Expat./Configure: make: not found+ checking sizeof 
  various data types./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found+ doing sanity check on compiler and 
  options./helpers/TestCompile: make: not found** A test compilation 
  with your Makefile configuration** failed. The below error output 
  from the compilation** test will give you an idea what is failing. Note 
  that** Apache requires an ANSI C Compiler, such as gcc.
  
   Error Output for sanity check ./helpers/TestCompile: 
  make: not found= End of Error Report =
  
  Aborting!PerlDispatchHandler.disabled (enable with 
  PERL_DISPATCH=1)PerlChildInitHandlerenabledPerlChildExitHandlerenabledPerlPostReadRequestHandler..disabled 
  (enable with PERL_POST_READ_REQUEST=1)PerlTransHandlerdisabled 
  (enable with PERL_TRANS=1)PerlHeaderParserHandler.disabled (enable 
  with PERL_HEADER_PARSER=1)PerlAccessHandler...disabled (enable 
  with PERL_ACCESS=1)PerlAuthenHandler...disabled (enable with 
  PERL_AUTHEN=1)PerlAuthzHandlerdisabled (enable with 
  PERL_AUTHZ=1)PerlTypeHandler.disabled (enable with 
  PERL_TYPE=1)PerlFixupHandlerdisabled (enable with 
  PERL_FIXUP=1)PerlHandler.enabledPerlLogHandler..disabled 
  (enable with PERL_LOG=1)PerlInitHandler.disabled (enable with 
  PERL_INIT=1)PerlCleanupHandler..disabled (enable with 
  PERL_CLEANUP=1)PerlRestartHandler..disabled (enable with 
  PERL_RESTART=1)PerlStackedHandlers.disabled (enable with 
  PERL_STACKED_HANDLERS=1)PerlMethodHandlers..disabled (enable with 
  PERL_METHOD_HANDLERS=1)PerlDirectiveHandlers...disabled (enable with 
  PERL_DIRECTIVE_HANDLERS=1)PerlTableApidisabled (enable 
  with PERL_TABLE_API=1)PerlLogApi..disabled (enable with 
  PERL_LOG_API=1)PerlUriApi..disabled (enable with 
  PERL_URI_API=1)PerlUtilApi.disabled (enable with 
  PERL_UTIL_API=1)PerlFileApi.disabled (enable with 
  PERL_FILE_API=1)PerlConnectionApi...enabledPerlServerApi...enabledPerlSectionsdisabled 
  (enable with PERL_SECTIONS=1)
  
  PerlSSI.disabled (enable with PERL_SSI=1)
  
  Will run tests as User: 'nobody' Group: 'other'Checking CGI.pm 
  VERSION..okChecking for LWP::UserAgent..okChecking for 
  HTML::HeadParserokWriting Makefile for ApacheWriting Makefile for 
  Apache::ConnectionWriting Makefile for Apache::ConstantsWriting 
  Makefile for Apache::FileWriting Makefile for Apache::LeakWriting 
  Makefile for Apache::LogWriting Makefile for 
  Apache::ModuleConfigWriting Makefile for Apache::PerlRunXSWriting 
  Makefile for Apache::ServerWriting Makefile for Apache::SymbolWriting 
  Makefile for Apache::TableWriting Makefile for Apache::URIWriting 
  Makefile for Apache::UtilWriting Makefile for mod_perl#
  --This 
  message may contain confidential information, and is intended only for the use 
  of the individual(s) to whom it is 
  addressed.==


RE: Help installing mod_perl 1.27 and apache 1.3.27.newbiequest ion.

2003-02-20 Thread Charlie Smith



makeis in my path as seen here:
PATH=/usr/bin:/usr/sbin:/opt/local/bin:/home/oracle/bin:/opt/oracle/9.0.1/bin:/usr/lbin:/usr/ccs/bin:/usr/ucb:.
So, the make routine is in the /usr/ccs/bin directory.

The error messages before and after the 'sh: make: not 
found'message are at line 581 (prompt("Shall I build httpd in 
../apache_1.3.27/src for you?")and 648 (call to conf_fixup). 
There is a call to 'make clean' that I was able
to run from the command line without error.

Does this error message 'sh: make: not found' refer to 'sh' not found or 
'make' not found? 
 "Martin Scantland" 
[EMAIL PROTECTED] 02/20/03 07:56AM 

Charlie,

It just seems like you need to add make in 
your path (sh: make: not found). 

Cheers,
Martin
Martin Scantland IP Services, Internet Engineering, Nortel Networks Phone: 613.765.4052, ESN 395.4052 

  -Original Message-From: Charlie Smith 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 20, 2003 
  9:14 AMTo: [EMAIL PROTECTED]Subject: Help 
  installing mod_perl 1.27 and apache 1.3.27. newbie 
  question.
  I get errors on installing mod_perl/Apache 1.3.27, under the root account 
  when running perl Makefile.PL.
  I'm running perl 5.8 on solaris. gcc 2.95.
  
  
  ### perl Makefile.PLConfigure mod_perl with 
  ../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for 
  you? [y]sh: make: not foundAppending mod_perl to 
  src/ConfigurationUsing config file: 
  /www/Apache/src/mod_perl-1.27/src/ConfigurationCreating 
  Makefile+ configured for Solaris 280 platform+ setting C 
  compiler to gcc+ setting C pre-processor to gcc -E+ 
  checking for system header files+ adding selected 
  modules o perl_module uses 
  ConfigStart/End + mod_perl build type: 
  OBJ + setting up mod_perl build 
  environment + id: 
  mod_perl/1.27 + id: Perl/v5.8.0 (solaris) 
  [perl] + adjusting Apache build 
  environment + enabling Perl support for SSI 
  (mod_include)./helpers/TestCompile: make: not found+ using 
  builtin Expat./Configure: make: not found+ checking sizeof 
  various data types./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found+ doing sanity check on compiler and 
  options./helpers/TestCompile: make: not found** A test compilation 
  with your Makefile configuration** failed. The below error output 
  from the compilation** test will give you an idea what is failing. Note 
  that** Apache requires an ANSI C Compiler, such as gcc.
  
   Error Output for sanity check ./helpers/TestCompile: 
  make: not found= End of Error Report =
  
  Aborting!PerlDispatchHandler.disabled (enable with 
  PERL_DISPATCH=1)PerlChildInitHandlerenabledPerlChildExitHandlerenabledPerlPostReadRequestHandler..disabled 
  (enable with PERL_POST_READ_REQUEST=1)PerlTransHandlerdisabled 
  (enable with PERL_TRANS=1)PerlHeaderParserHandler.disabled (enable 
  with PERL_HEADER_PARSER=1)PerlAccessHandler...disabled (enable 
  with PERL_ACCESS=1)PerlAuthenHandler...disabled (enable with 
  PERL_AUTHEN=1)PerlAuthzHandlerdisabled (enable with 
  PERL_AUTHZ=1)PerlTypeHandler.disabled (enable with 
  PERL_TYPE=1)PerlFixupHandlerdisabled (enable with 
  PERL_FIXUP=1)PerlHandler.enabledPerlLogHandler..disabled 
  (enable with PERL_LOG=1)PerlInitHandler.disabled (enable with 
  PERL_INIT=1)PerlCleanupHandler..disabled (enable with 
  PERL_CLEANUP=1)PerlRestartHandler..disabled (enable with 
  PERL_RESTART=1)PerlStackedHandlers.disabled (enable with 
  PERL_STACKED_HANDLERS=1)PerlMethodHandlers..disabled (enable with 
  PERL_METHOD_HANDLERS=1)PerlDirectiveHandlers...disabled (enable with 
  PERL_DIRECTIVE_HANDLERS=1)PerlTableApidisabled (enable 
  with PERL_TABLE_API=1)PerlLogApi..disabled (enable with 
  PERL_LOG_API=1)PerlUriApi..disabled (enable with 
  PERL_URI_API=1)PerlUtilApi.disabled (enable with 
  PERL_UTIL_API=1)PerlFileApi.disabled (enable with 
  PERL_FILE_API=1)PerlConnectionApi...enabledPerlServerApi...enabledPerlSectionsdisabled 
  (enable with PERL_SECTIONS=1)
  
  PerlSSI.disabled (enable with PERL_SSI=1)
  
  Will run tests as User: 'nobody' Group: 'other'Checking CGI.pm 
  VERSION..okChecking for LWP::UserAgent..okChecking for 
  HTML::HeadParserokWriting Makefile for ApacheWriting Makefile for 
  Apache::ConnectionWriting Makefile for Apache::ConstantsWriting 
  Makefile for Apache::FileWriting

RE: Help installing mod_perl 1.27 and apache 1.3.27.newbiequest ion.

2003-02-20 Thread Charlie Smith
 Makefile for Apache::ServerWriting Makefile for 
Apache::SymbolWriting Makefile for Apache::TableWriting Makefile for 
Apache::URIWriting Makefile for Apache::UtilWriting Makefile for 
mod_perl#
 "Martin Scantland" [EMAIL PROTECTED] 
02/20/03 07:56AM 
Charlie,

It just seems like you need to add make in 
your path (sh: make: not found). 

Cheers,
Martin
Martin Scantland IP Services, Internet Engineering, Nortel Networks Phone: 613.765.4052, ESN 395.4052 

  -Original Message-From: Charlie Smith 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 20, 2003 
  9:14 AMTo: [EMAIL PROTECTED]Subject: Help 
  installing mod_perl 1.27 and apache 1.3.27. newbie 
  question.
  I get errors on installing mod_perl/Apache 1.3.27, under the root account 
  when running perl Makefile.PL.
  I'm running perl 5.8 on solaris. gcc 2.95.
  
  
  ### perl Makefile.PLConfigure mod_perl with 
  ../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for 
  you? [y]sh: make: not foundAppending mod_perl to 
  src/ConfigurationUsing config file: 
  /www/Apache/src/mod_perl-1.27/src/ConfigurationCreating 
  Makefile+ configured for Solaris 280 platform+ setting C 
  compiler to gcc+ setting C pre-processor to gcc -E+ 
  checking for system header files+ adding selected 
  modules o perl_module uses 
  ConfigStart/End + mod_perl build type: 
  OBJ + setting up mod_perl build 
  environment + id: 
  mod_perl/1.27 + id: Perl/v5.8.0 (solaris) 
  [perl] + adjusting Apache build 
  environment + enabling Perl support for SSI 
  (mod_include)./helpers/TestCompile: make: not found+ using 
  builtin Expat./Configure: make: not found+ checking sizeof 
  various data types./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found./helpers/TestCompile: make: not 
  found./helpers/TestCompile: make: not found./helpers/TestCompile: 
  make: not found+ doing sanity check on compiler and 
  options./helpers/TestCompile: make: not found** A test compilation 
  with your Makefile configuration** failed. The below error output 
  from the compilation** test will give you an idea what is failing. Note 
  that** Apache requires an ANSI C Compiler, such as gcc.
  
   Error Output for sanity check ./helpers/TestCompile: 
  make: not found= End of Error Report =
  
  Aborting!PerlDispatchHandler.disabled (enable with 
  PERL_DISPATCH=1)PerlChildInitHandlerenabledPerlChildExitHandlerenabledPerlPostReadRequestHandler..disabled 
  (enable with PERL_POST_READ_REQUEST=1)PerlTransHandlerdisabled 
  (enable with PERL_TRANS=1)PerlHeaderParserHandler.disabled (enable 
  with PERL_HEADER_PARSER=1)PerlAccessHandler...disabled (enable 
  with PERL_ACCESS=1)PerlAuthenHandler...disabled (enable with 
  PERL_AUTHEN=1)PerlAuthzHandlerdisabled (enable with 
  PERL_AUTHZ=1)PerlTypeHandler.disabled (enable with 
  PERL_TYPE=1)PerlFixupHandlerdisabled (enable with 
  PERL_FIXUP=1)PerlHandler.enabledPerlLogHandler..disabled 
  (enable with PERL_LOG=1)PerlInitHandler.disabled (enable with 
  PERL_INIT=1)PerlCleanupHandler..disabled (enable with 
  PERL_CLEANUP=1)PerlRestartHandler..disabled (enable with 
  PERL_RESTART=1)PerlStackedHandlers.disabled (enable with 
  PERL_STACKED_HANDLERS=1)PerlMethodHandlers..disabled (enable with 
  PERL_METHOD_HANDLERS=1)PerlDirectiveHandlers...disabled (enable with 
  PERL_DIRECTIVE_HANDLERS=1)PerlTableApidisabled (enable 
  with PERL_TABLE_API=1)PerlLogApi..disabled (enable with 
  PERL_LOG_API=1)PerlUriApi..disabled (enable with 
  PERL_URI_API=1)PerlUtilApi.disabled (enable with 
  PERL_UTIL_API=1)PerlFileApi.disabled (enable with 
  PERL_FILE_API=1)PerlConnectionApi...enabledPerlServerApi...enabledPerlSectionsdisabled 
  (enable with PERL_SECTIONS=1)
  
  PerlSSI.disabled (enable with PERL_SSI=1)
  
  Will run tests as User: 'nobody' Group: 'other'Checking CGI.pm 
  VERSION..okChecking for LWP::UserAgent..okChecking for 
  HTML::HeadParserokWriting Makefile for ApacheWriting Makefile for 
  Apache::ConnectionWriting Makefile for Apache::ConstantsWriting 
  Makefile for Apache::FileWriting Makefile for Apache::LeakWriting 
  Makefile for Apache::LogWriting Makefile for 
  Apache::ModuleConfigWriting Makefile for Apache::PerlRunXSWriting 
  Makefile for Apache::ServerWriting Makefile for Apache::SymbolWriting 
  Makefile for Apache::TableWriting Makefile for Apache::URIWriting 
  Makefile for Apache::UtilWriting Makefile fo

sanity check problem: Help installing mod_perl 1.27 and apache1.3.27

2003-02-20 Thread Charlie Smith



Am having problems as seen in the 'sanity check' below.


Am attempting to install mod_perl 1.27 and Apache 1.3.27.
I'm also running perl 5.8 on solaris. gcc 2.95.

# perl Makefile.PLConfigure mod_perl with ../apache_1.3.27/src ? 
[y]Shall I build httpd in ../apache_1.3.27/src for you? [y]Appending 
mod_perl to src/ConfigurationUsing config file: 
/www/Apache/src/mod_perl-1.27/src/ConfigurationCreating Makefile+ 
configured for Solaris 280 platform+ setting C compiler to 
gcc+ setting C pre-processor to gcc -E+ checking for system 
header files+ adding selected modules o 
perl_module uses ConfigStart/End + mod_perl 
build type: OBJ + setting up mod_perl build 
environment + id: 
mod_perl/1.27 + id: Perl/v5.8.0 (solaris) 
[perl] + adjusting Apache build 
environment + enabling Perl support for SSI 
(mod_include)+ using builtin Expat+ checking sizeof various 
data types+ doing sanity check on compiler and optionscd ..; 
gcc -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing 
-I/usr/local/include -I/opt/local/include -DUSE_EXPAT -I./lib/expat-lite 
-DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include -I/opt/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I. 
-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -o 
helpers/dummy helpers/dummy.c `perl 
/www/Apache/src/mod_perl-1.27/src/modules/perl/ldopts ` -lsocket -lnsl 
-lpthread -Wl -L/usr/local/lib -L/opt/local/lib 
/usr/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm 
-lccc1: Invalid option `-Wl'cc1: Invalid option `-Wl'*** Error code 
1make: Fatal error: Command failed for target `dummy'** A test 
compilation with your Makefile configuration** failed. The below error 
output from the compilation** test will give you an idea what is failing. 
Note that** Apache requires an ANSI C Compiler, such as gcc.

 Error Output for sanity check cd ..; gcc 
-DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing 
-I/usr/local/include -I/opt/local/include -DUSE_EXPAT -I./lib/expat-lite 
-DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include -I/opt/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I. 
-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -o 
helpers/dummy helpers/dummy.c `perl 
/www/Apache/src/mod_perl-1.27/src/modules/perl/ldopts ` -lsocket -lnsl 
-lpthread -Wl -L/usr/local/lib -L/opt/local/lib 
/usr/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm 
-lccc1: Invalid option `-Wl'cc1: Invalid option `-Wl'*** Error code 
1make: Fatal error: Command failed for target `dummy'= End 
of Error Report =

Aborting!PerlDispatchHandler.disabled (enable with 
PERL_DISPATCH=1)PerlChildInitHandlerenabledPerlChildExitHandlerenabledPerlPostReadRequestHandler..disabled 
(enable with PERL_POST_READ_REQUEST=1)PerlTransHandlerdisabled 
(enable with PERL_TRANS=1)PerlHeaderParserHandler.disabled (enable with 
PERL_HEADER_PARSER=1)PerlAccessHandler...disabled (enable with 
PERL_ACCESS=1)PerlAuthenHandler...disabled (enable with 
PERL_AUTHEN=1)PerlAuthzHandlerdisabled (enable with 
PERL_AUTHZ=1)PerlTypeHandler.disabled (enable with 
PERL_TYPE=1)PerlFixupHandlerdisabled (enable with 
PERL_FIXUP=1)PerlHandler.enabledPerlLogHandler..disabled 
(enable with PERL_LOG=1)PerlInitHandler.disabled (enable with 
PERL_INIT=1)PerlCleanupHandler..disabled (enable with 
PERL_CLEANUP=1)PerlRestartHandler..disabled (enable with 
PERL_RESTART=1)PerlStackedHandlers.disabled (enable with 
PERL_STACKED_HANDLERS=1)PerlMethodHandlers..disabled (enable with 
PERL_METHOD_HANDLERS=1)PerlDirectiveHandlers...disabled (enable with 
PERL_DIRECTIVE_HANDLERS=1)PerlTableApidisabled (enable with 
PERL_TABLE_API=1)PerlLogApi..disabled (enable with 
PERL_LOG_API=1)PerlUriApi..disabled (enable with 
PERL_URI_API=1)PerlUtilApi.disabled (enable with 
PERL_UTIL_API=1)PerlFileApi.disabled (enable with 
PERL_FILE_API=1)PerlConnectionApi...enabledPerlServerApi...enabledPerlSectionsdisabled 
(enable with PERL_SECTIONS=1)

PerlSSI.disabled (enable with PERL_SSI=1)

Will run tests as User: 'nobody' Group: 'other'Checking CGI.pm 
VERSION..okChecking for LWP::UserAgent..okChecking for 
HTML::HeadParserokWriting Makefile for ApacheWriting Makefile for 
Apache::ConnectionWriting Makefile for Apache::ConstantsWriting Makefile 
for Apache::FileWriting Makefile for Apache::LeakWriting Makefile for 
Apache::LogWriting Makefile for Apache::ModuleConfigWriting Makefile for 
Apache::PerlRunXSWriting Makefile for Apache::ServerWriting 

Re: sanity check problem: Help installing mod_perl 1.27 and apache1.3.27

2003-02-20 Thread Ged Haywood
Hi there,

On Thu, 20 Feb 2003, Charlie Smith wrote:

 Am having problems as seen in the 'sanity check' below.
[snip]
 -lsocket -lnsl -lpthread  -Wl  -L/usr/local/lib -L/opt/local/lib 
 /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a
 -L/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm
 -lc
 cc1: Invalid option `-Wl'
 cc1: Invalid option `-Wl'

The -Wl argument should be followed by a comma and option(s) which gcc
will pass to the linker.  Your -Wl has no option(s) after it.  This is
not good.  The configuration process does some substitutions on the Wl
argument depending on the platform etc.  Maybe the substitution isn't
working right on your platform.

In an earlier post you said that you'd had to add to your path to get
'make' to run.  That's weird, makes me think your setup is whacky.
Have you used make, gcc etc. to compile anything else on your system?

Have you tried to build Apache stand-alone (without mod_perl)?

Have you read the INSTALL documents for anything that might be mentioned
about your platform?

73,
Ged.





Help installing mod_perl-1.99_08

2003-01-30 Thread Casey Songer
This is probably a stupid question, but I've been searching the 
documentation for 3 or 4 hours now and I still can't get mod_perl to 
install.  I have mod_perl installed under apache 1.3.26 and have been 
running that with great success for a couple years, but I am trying to 
upgrade to apache 2.0.44 with mod_perl 1.99_08.  I can get mod_perl to 
compile, but I can't get apache to include mod_perl when compiling. 
Here are the steps I tried (trying to follow the steps in the 
installation documentation):

cd httpd-2.0.44
./configure --enable-ssl --enable-rewrite
cd ../mod_perl-1.99_08
perl Makefile.PL MP_AP_PREFIX=/usr/local/src/httpd-2.0.44 
MP_INST_APACHE2=1 MP_USE_STATIC=1
make
make install
cd ../httpd-2.0.40/modules
ln -s /usr/local/src/mod_perl-1.99_08/src/modules/perl/ perl
cd ..
./config.nice --enable-perl
make
make install

When I do httpd -l mod_perl isn't listed, should it be?  I also get 
errors for things in my apache configuration scripts like PerlHandler 
and PerlRequire, which I assume means that mod_perl isn't installed.  I 
have read through 
http://perl.apache.org/docs/2.0/user/intro/start_fast.html and 
http://perl.apache.org/docs/2.0/user/install/install.html and the docs 
that came with mod_perl.  I apologize if I am missing something obvious 
here, but any help would be extremely appreciated, including links to 
more documentation that I can read.

Casey Songer



Re: Help installing mod_perl-1.99_08

2003-01-30 Thread Christopher Warren
On Thu, 30 Jan 2003 17:57:05 -0700, Casey Songer wrote:

When I do httpd -l mod_perl isn't listed, should it be?  I also get 
errors for things in my apache configuration scripts like PerlHandler 
and PerlRequire, which I assume means that mod_perl isn't installed.  I 
have read through 
http://perl.apache.org/docs/2.0/user/intro/start_fast.html and 
http://perl.apache.org/docs/2.0/user/install/install.html and the docs 
that came with mod_perl.  I apologize if I am missing something obvious 
here, but any help would be extremely appreciated, including links to 
more documentation that I can read.

My apologies if this is a dumb question, but have you checked httpd.conf
for the LoadModule perl_module modules/mod_perl.so line? I've been
running mod_perl as a DSO, and compiling it as static may make some
things different, but I'm pretty sure I've had to add the LoadModule
line myself.

csw
-- 
 /¯\
 \ /   ASCII RIBBON CAMPAIGN
  X  Against HTML Mail and News
 / \



Re: Help installing mod_perl-1.99_08

2003-01-30 Thread Stas Bekman
Casey Songer wrote:

This is probably a stupid question, but I've been searching the 
documentation for 3 or 4 hours now and I still can't get mod_perl to 
install.  I have mod_perl installed under apache 1.3.26 and have been 
running that with great success for a couple years, but I am trying to 
upgrade to apache 2.0.44 with mod_perl 1.99_08.  I can get mod_perl to 
compile, but I can't get apache to include mod_perl when compiling. Here 
are the steps I tried (trying to follow the steps in the installation 
documentation):

cd httpd-2.0.44
./configure --enable-ssl --enable-rewrite
cd ../mod_perl-1.99_08
perl Makefile.PL MP_AP_PREFIX=/usr/local/src/httpd-2.0.44 
MP_INST_APACHE2=1 MP_USE_STATIC=1
make
make install
cd ../httpd-2.0.40/modules
ln -s /usr/local/src/mod_perl-1.99_08/src/modules/perl/ perl
cd ..
./config.nice --enable-perl
make
make install

When I do httpd -l mod_perl isn't listed, should it be?  I also get 
errors for things in my apache configuration scripts like PerlHandler 
and PerlRequire, which I assume means that mod_perl isn't installed.  I 
have read through 
http://perl.apache.org/docs/2.0/user/intro/start_fast.html and 
http://perl.apache.org/docs/2.0/user/install/install.html and the docs 
that came with mod_perl.  I apologize if I am missing something obvious 
here, but any help would be extremely appreciated, including links to 
more documentation that I can read.

What you are missing is that Apache has to be built and installed first. I'll 
stress that in the docs.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



installing mod_perl

2002-12-18 Thread Carl Holm




Hello,

When attempting to install mod_perl for Win32 ActivePerl using the repository
shown,
I receive this error message "Error: no suitable installation target found
for package mod_perl.".

http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer

I am using ActivePerl Build 804 on winXP. Any hints or suggestions would
be welcome.

Thanks,

Carl Holm
[EMAIL PROTECTED]





Re: installing mod_perl

2002-12-18 Thread Randy Kobes
On Wed, 18 Dec 2002, Carl Holm wrote:

 Hello,
 
 When attempting to install mod_perl for Win32 ActivePerl using the  
 repository shown,
 I receive this error message  Error: no suitable installation target 
 found for package mod_perl..
 
 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
 
 I am using  ActivePerl Build 804 on winXP. Any hints or suggestions 
 would be welcome.

The above repository is for 6xx builds. Try

 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58

for 8xx builds. Presently, this latter repository just has
mod_perl-2 (for use with Apache2), installed as
   ppm install mod_perl
within the ppm shell.

-- 
best regards,
randy kobes




Re: make test failed when installing mod_perl 2.0 on Linux

2002-11-26 Thread Stas Bekman


Your attention please:

[***]
[*** ***]
[*** please send the followups back to the list! ***]
[*** ***]
[***]

Thank you!

Now to the solutions:

Dawn Sun wrote:

I've used this patch


Index: t/hooks/TestHooks/init.pm
===
RCS file: /home/cvs/modperl-2.0/t/hooks/TestHooks/init.pm,v
retrieving revision 1.3
diff -u -r1.3 init.pm
--- t/hooks/TestHooks/init.pm   18 May 2002 02:02:32 -  1.3
+++ t/hooks/TestHooks/init.pm   26 Nov 2002 12:20:03 -
@@ -56,6 +56,7 @@
 __DATA__
 PerlInitHandler TestHooks::init::second
 Base
+PerlModule  TestHooks::init
 PerlInitHandler TestHooks::init::first
 /Base
 PerlResponseHandler TestHooks::init




But make test failed again. This time, the error changed


from the Can't locate TestHooks/init/first.pm in @INC...  to Can't
locate TestHooks/trans.pm in @INC Other errors remain the same.




Good, so probably adding

  PerlModule TestHook::trans

in a similar way (inside Base/Base of t/hooks/TestHooks/trans.pm) 
should solve that problem too. Though it should have resolved the 
handlers automatically. You need to enable PERL_TRACE (see the online 
docs) and post the trace so we can see why these don't get resolved.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



make test failed when installing mod_perl 2.0 on Linux

2002-11-21 Thread Dawn Sun



Hi

I am new to linux and mod_perl. Weare 
runningperl 5.8.0 and apache 2.0.43 on linux.First time we are 
tryingtoinstall mod_perl2.But the "make test"failed 
completed. Here is the error_log reads:

END in modperl_extra.pl, pid=19385[Thu Nov 21 
11:24:45 2002] [notice] Apache/2.0.43 (Unix) mod_perl/1.99_07-dev 
Perl/v5.8.0configured -- resuming normal operations[Thu Nov 21 11:24:45 
2002] [info] Server built: Nov 20 2002 15:10:20[Thu Nov 21 11:24:45 2002] 
[debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem)[Thu Nov 21 
11:24:46 2002] [error] Can't locate TestHooks/init/first.pm in @INC 
(@INC contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 
/home/dsun/mod_perl-1.99_07/blib/arch/Apache2 
/home/dsun/mod_perl-1.99_07/Apache-Test/lib /home/dsun/mod_perl-1.99_07/lib 
/home/dsun/mod_perl-1.99_07/blib/lib /home/dsun/mod_perl-1.99_07/blib/arch 
/home/dsun/mod_perl-1.99_07/t/response /home/dsun/mod_perl-1.99_07/t/protocol 
/home/dsun/mod_perl-1.99_07/t/hooks /home/dsun/mod_perl-1.99_07/t/filter 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/perlmodule-vh 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/main 
/usr/local/lib/perl5/5.8.0/i586-linux /usr/local/lib/perl5/5.8.0 
/usr/local/lib/perl5/site_perl/5.8.0/i586-linux 
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl) at (eval 23) line 3.

[Thu Nov 21 11:24:46 2002] [error] failed to 
resolve handler `TestHooks::init::first'[Thu Nov 21 11:24:46 2002] [error] 
[client 127.0.0.1] Can't locate TestHooks/init/first.pmin @INC (@INC 
contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 /home/dsun/mod_perl-
.

[Thu Nov 21 11:26:32 2002] [error] failed to 
resolve handler `TestHooks::init::first'[Thu Nov 21 11:26:34 2002] [error] 
failed to resolve handler `TestHooks::init::first'
[Thu Nov 21 11:27:27 2002] [error] Can't locate 
TestProtocol/echo.pm in @INC (@INC contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 
/home/dsun/mod_perl-1.99_07/blib/arch/Apache2 
/home/dsun/mod_perl-1.99_07/Apache-Test/lib /home/dsun/mod_perl-1.99_07/lib 
/home/dsun/mod_perl-1.99_07/blib/lib /home/dsun/mod_perl-1.99_07/blib/arch 
/home/dsun/mod_perl-1.99_07/t/response /home/dsun/mod_perl-1.99_07/t/protocol 
/home/dsun/mod_perl-1.99_07/t/hooks /home/dsun/mod_perl-1.99_07/t/filter 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/perlmodule-vh 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/main 
/usr/local/lib/perl5/5.8.0/i586-linux /usr/local/lib/perl5/5.8.0 
/usr/local/lib/perl5/site_perl/5.8.0/i586-linux 
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl) at (eval 25) line 3.

[Thu Nov 21 11:27:27 2002] [error] failed to 
resolve handler `TestProtocol::echo'[Thu Nov 21 11:27:27 2002] [error] Can't 
locate TestProtocol/echo.pm in @INC (@INC contains: 
/home/dsun/mod_perl-


[Thu Nov 21 11:27:29 2002] [error] Can't locate 
TestProtocol/echo_filter.pm in @INC (@INC

[Thu Nov 21 11:27:29 2002] [error] failed to 
resolve handler `TestProtocol::echo_filter'[Thu Nov 21 11:27:29 2002] 
[error] Can't locate TestProtocol/echo_filter.pm in @INC (@INC
.
[Thu Nov 21 11:27:29 2002] [info] removed PID file 
/home/dsun/mod_perl-1.99_07/t/logs/httpd.pid (pid=19387)[Thu Nov 21 11:27:29 
2002] [notice] caught SIGTERM, shutting downEND in modperl_extra.pl, 
pid=19387


I've checked the actual module in @INC. It does 
exist. Then I'vesearched throu the mod_perl archive, and made the change 
as http://www.mail-archive.com/modperl@apache.org/msg29648.htmlsuggested. 
But "make test" failed again. This time, the error changed from the "Can't 
locate TestHooks/init/first.pm in @INC... " to "Can't locate TestHooks/trans.pm 
in @INC...". Other errors remain the same.

Any suggestions?

Dawn


Re: make test failed when installing mod_perl 2.0 on Linux

2002-11-21 Thread Stas Bekman
please remember to properly report problems, as explained at:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
(hint: the shortcuts menu on the left side of any page of perl.apache.org)
if you don't provide all the required details it makes it hard to guess 
what configuration you've the problem with.

I had this problem a while ago with the worker mpm over 5.8.0:
http://marc.theaimsgroup.com/?l=apache-modperl-devm=101128927611980w=2
but I think it should be OK now.

 
I am new to linux and mod_perl. We are running perl 5.8.0 and apache 
2.0.43 on linux. First time we are trying to install mod_perl2. But the 
make test failed completed.  Here is the error_log reads:

END in modperl_extra.pl, pid=19385
[Thu Nov 21 11:24:45 2002] [notice] Apache/2.0.43 (Unix) 
mod_perl/1.99_07-dev Perl/v5.8.0
configured -- resuming normal operations
[Thu Nov 21 11:24:45 2002] [info] Server built: Nov 20 2002 15:10:20
[Thu Nov 21 11:24:45 2002] [debug] prefork.c(1039): AcceptMutex: sysvsem 
(default: sysvsem)
[Thu Nov 21 11:24:46 2002] [error] Can't locate TestHooks/init/first.pm 
in @INC (@INC contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 
/home/dsun/mod_perl-1.99_07/blib/arch/Apache2 
/home/dsun/mod_perl-1.99_07/Apache-Test/lib 
/home/dsun/mod_perl-1.99_07/lib /home/dsun/mod_perl-1.99_07/blib/lib 
/home/dsun/mod_perl-1.99_07/blib/arch 
/home/dsun/mod_perl-1.99_07/t/response 
/home/dsun/mod_perl-1.99_07/t/protocol 
/home/dsun/mod_perl-1.99_07/t/hooks /home/dsun/mod_perl-1.99_07/t/filter 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/perlmodule-vh 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/main 
/usr/local/lib/perl5/5.8.0/i586-linux /usr/local/lib/perl5/5.8.0 
/usr/local/lib/perl5/site_perl/5.8.0/i586-linux 
/usr/local/lib/perl5/site_perl/5.8.0 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl) at 
(eval 23) line 3.
 
[Thu Nov 21 11:24:46 2002] [error] failed to resolve handler 
`TestHooks::init::first'
[Thu Nov 21 11:24:46 2002] [error] [client 127.0.0.1] Can't locate 
TestHooks/init/first.pm
 in @INC (@INC contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 /home/dsun/mod_perl-
.
 
[Thu Nov 21 11:26:32 2002] [error] failed to resolve handler 
`TestHooks::init::first'
[Thu Nov 21 11:26:34 2002] [error] failed to resolve handler 
`TestHooks::init::first'
[Thu Nov 21 11:27:27 2002] [error] Can't locate TestProtocol/echo.pm in 
@INC (@INC contains: /home/dsun/mod_perl-1.99_07/t 
/home/dsun/mod_perl-1.99_07/blib/lib/Apache2 
/home/dsun/mod_perl-1.99_07/blib/arch/Apache2 
/home/dsun/mod_perl-1.99_07/Apache-Test/lib 
/home/dsun/mod_perl-1.99_07/lib /home/dsun/mod_perl-1.99_07/blib/lib 
/home/dsun/mod_perl-1.99_07/blib/arch 
/home/dsun/mod_perl-1.99_07/t/response 
/home/dsun/mod_perl-1.99_07/t/protocol 
/home/dsun/mod_perl-1.99_07/t/hooks /home/dsun/mod_perl-1.99_07/t/filter 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/perlmodule-vh 
/home/dsun/mod_perl-1.99_07/t/htdocs/testdirective/main 
/usr/local/lib/perl5/5.8.0/i586-linux /usr/local/lib/perl5/5.8.0 
/usr/local/lib/perl5/site_perl/5.8.0/i586-linux 
/usr/local/lib/perl5/site_perl/5.8.0 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl) at 
(eval 25) line 3.
 
[Thu Nov 21 11:27:27 2002] [error] failed to resolve handler 
`TestProtocol::echo'
[Thu Nov 21 11:27:27 2002] [error] Can't locate TestProtocol/echo.pm in 
@INC (@INC contains: /home/dsun/mod_perl-

 
[Thu Nov 21 11:27:29 2002] [error] Can't locate 
TestProtocol/echo_filter.pm in @INC (@INC

 
[Thu Nov 21 11:27:29 2002] [error] failed to resolve handler 
`TestProtocol::echo_filter'
[Thu Nov 21 11:27:29 2002] [error] Can't locate 
TestProtocol/echo_filter.pm in @INC (@INC
.
[Thu Nov 21 11:27:29 2002] [info] removed PID file 
/home/dsun/mod_perl-1.99_07/t/logs/httpd.pid (pid=19387)
[Thu Nov 21 11:27:29 2002] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=19387
 
 
I've checked the actual module in @INC. It does exist. Then 
I've searched throu the mod_perl archive, and made the change as 
http://www.mail-archive.com/modperl@apache.org/msg29648.html suggested. 
But make test failed again. This time, the error changed from the 
Can't locate TestHooks/init/first.pm in @INC...  to Can't locate 
TestHooks/trans.pm in @INC Other errors remain the same.
 
Any suggestions?
 
Dawn


--


_
Stas Bekman JAm_pH  --   Just Another mod_perl Hacker
http://stason.org/  mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





Re: installing mod_perl on binar

2002-08-22 Thread Hytham Shehab

randy kobes write:
 This sounds like a problem with a bad install of apache's default
 configuration file. Which apache version are you using? For
 apache-1.3.26, mod_alias.so and mod_actions.so (and others) are
 compiled into Apache.exe, which you can see via 'Apache.exe -l'.
 So the LoadModule directive for these modules isn't relevant -
 use it only for those that appear in the apache modules/
 directory.
 
 -- 
 best regards,
 randy kobes

am using apache 2
what to do next?

thx

--
Hytham Shehab





Re: installing mod_perl on binar

2002-08-22 Thread Randy Kobes

On Thu, 22 Aug 2002, Hytham Shehab wrote:

 am using apache 2
 what to do next?

You need to install the mod_perl-2 ppm package, not the mod_perl
ppm package (which is for mod_perl-1). The same comments as
before apply in installing mod_perl.so into your Apache2 modules/
directory.

More info on setting up and configuring mod_perl-2 is at
http://perl.apache.org/, including a few pages with
Win32-specific info.

-- 
best regards,
randy




Re: installing mod_perl on binar

2002-08-22 Thread Hytham Shehab

hi Randy,
guess what, finaly nothing goes error, but again, *BUT*:
i have telnet 127.0.0.1 80
GET / HTTP/1.0
blah
Server: Apache/2.0.39 (Win32)
blah
this means that the server till the moment doesn't use mod_perl, as it
must - as far as i know - append mod_perl at the end of Server header
another issue, i don't see any Perl directive, i thought that mod_perl
insert - by default - this directive.

thx v. much Randy.

--
Hytham Shehab




installing mod_perl on binar

2002-08-21 Thread Hytham Shehab

hi guys,
how can i install mod_perl under a pre-installed Apache 2 binary
installation?
all what i found through docs is installing via source copies.

thanks

--
Hytham Shehab






Re: installing mod_perl on binar

2002-08-21 Thread Stas Bekman

Hytham Shehab wrote:
 hi guys,
 how can i install mod_perl under a pre-installed Apache 2 binary
 installation?
 all what i found through docs is installing via source copies.

You don't say what platform you are on. On Unix it's all the same, just 
skip the build/installation of the Apache stage. On win32 I don't know, 
probably the same too.



__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes

On Wed, 21 Aug 2002, Stas Bekman wrote:

 Hytham Shehab wrote:
  hi guys,
  how can i install mod_perl under a pre-installed Apache 2 binary
  installation?
  all what i found through docs is installing via source copies.
 
 You don't say what platform you are on. On Unix it's all the same, just 
 skip the build/installation of the Apache stage. On win32 I don't know, 
 probably the same too.

If it's ActivePerl Win32, one can also use the ppm utility
to install a mod_perl-2 ppm package - this is described in
the Win32 section of the docs. As always with binary packages,
though, one should ensure the apache binary version matches
that which mod_perl-2 was compiled under.

-- 
best regards,
randy




Re: installing mod_perl on binar

2002-08-21 Thread Hytham Shehab

hi guys,
while am using activeperl on XP, i have installed mod_perl v1.27_01-dev
using
ppm, but after getting the whole thing, some script runs and offer me to
create apache/modules/, when i answere with yes, it bail out upnormally,
telling me 'something' i didn't figure out about mod_perl.so, then i have
tried to get this file from the normal tar.gz, but no good.
in few words, it seems that i have a mod_perl module, but it is not
complete/functioning correctly.

thx v.much guys.

--
Hytham Shehab




Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes

On Wed, 21 Aug 2002, Hytham Shehab wrote:

 hi guys,
 while am using activeperl on XP, i have installed mod_perl v1.27_01-dev
 using
 ppm, but after getting the whole thing, some script runs and offer me to
 create apache/modules/, when i answere with yes, it bail out upnormally,
 telling me 'something' i didn't figure out about mod_perl.so, then i have
 tried to get this file from the normal tar.gz, but no good.
 in few words, it seems that i have a mod_perl module, but it is not
 complete/functioning correctly.

It sounds like the script to install mod_perl.so into your
Apache modules/ directory failed. You could either try
installing it again via ppm, and when prompted give the
complete path to your Apache modules/ directory, or else
just get mod_perl.tar.gz from
http://theoryx5.uwinnipeg.ca/ppmpackages/x86/
and unpack it, upon which mod_perl.so appears in the
top-level directory - you can then move it manually to
the Apache modules/ directory. 

-- 
best regards,
randy kobes




Re: installing mod_perl on binar

2002-08-21 Thread Hytham Shehab

hi,
i have installed the mod_perl at last, and the mod_perl.so is there at
apache/modules, *BUT*:
apache -k restart --
Syntax error on line 136 of c:/program files/apache
group/apache/conf/httpd.conf:
Cannot load c:/program files/apache group/apache/modules/mod_actions.so into
server: (126) The specified module could not be found:

line 136 was:
LoadModule access_module  modules/mod_access.so# it is there, but ?
so i changed it to:
LoadModule access_module  C:\Program Files\Apache
Group\apache\modules\mod_access.so# nothing good, yet.

so, i say this mod_access.so may be doomed or something, so i comment its
line to see other good *.so
#LoadModule access_module  modules/mod_access.so# it is there, but ?
LoadModule alias_module modules/mod_alias.so

Syntax error on line 137 of c:/program files/apache
group/apache/conf/httpd.conf:
Cannot load c:/program files/apache group/apache/modules/mod_alias.so into
server: (126) The specified module could not be found:

so i decide to see some wizard like Mr.Randy Kobes to figure out what is
this damn curse is all about? :-)

thx v.much

--
Hytham Shehab







Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes

On Thu, 22 Aug 2002, Hytham Shehab wrote:

 hi,
 i have installed the mod_perl at last, and the mod_perl.so is there at
 apache/modules, *BUT*:
 apache -k restart --
 Syntax error on line 136 of c:/program files/apache
 group/apache/conf/httpd.conf:
 Cannot load c:/program files/apache group/apache/modules/mod_actions.so into
 server: (126) The specified module could not be found:
 
 line 136 was:
 LoadModule access_module  modules/mod_access.so# it is there, but ?
 so i changed it to:
 LoadModule access_module  C:\Program Files\Apache
 Group\apache\modules\mod_access.so# nothing good, yet.
 
 so, i say this mod_access.so may be doomed or something, so i comment its
 line to see other good *.so
 #LoadModule access_module  modules/mod_access.so# it is there, but ?
 LoadModule alias_module modules/mod_alias.so
 
 Syntax error on line 137 of c:/program files/apache
 group/apache/conf/httpd.conf:
 Cannot load c:/program files/apache group/apache/modules/mod_alias.so into
 server: (126) The specified module could not be found:

This sounds like a problem with a bad install of apache's default
configuration file. Which apache version are you using? For
apache-1.3.26, mod_alias.so and mod_actions.so (and others) are
compiled into Apache.exe, which you can see via 'Apache.exe -l'.
So the LoadModule directive for these modules isn't relevant -
use it only for those that appear in the apache modules/
directory.

-- 
best regards,
randy kobes




Make test failure when installing mod_perl 2.0 on Solaris 8 with Apache 2

2002-08-20 Thread Tom Hibbert

Hi,

I am running Solaris 8 and have installed Apache 2:

bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built:   Aug 20 2002 11:26:54

I also have installed perl 5.8.0:

bash-2.03# perl -v

This is perl, v5.8.0 built for sun4-solaris

I am trying to install mod_perl 2 and I am having problems with the 'make
test' command. I have built apache as follows:

./configure --enable-layout=Solaris --enable-perl=shared --with-mpm=prefork
(as normal user)
make(as normal user)
make test (as root user)
make install  (as root user)

this seems to install fine. I have then configured mod_perl as follows:

perl Makefile.PL MP_AP_PREFIX=/usr/apache MP_INST_APACHE2=1 (as normal user)
make (as normal user)
make test (as root user)

And the 'make test' fails:

Failed Test Stat Wstat Total Fail  Failed  List of Failed

---
apache/cgihandler.t22 100.00%  1-2
apache/compat.t33 100.00%  1-3
apache/post.t  21  50.00%  2
apache/read.t  11 100.00%  1
apache/scanhdrs.t 29  7424 44 100.00%  1-4
api/send_fd.t  32  66.67%  2-3
api/sendfile.t 32  66.67%  2-3
directive/perlmodule.t 11 100.00%  1
directive/perlrequire.t11 100.00%  1
directive/setupenv.t   31  33.33%  2
filter/input_body.t22 100.00%  1-2
filter/lc.t11 100.00%  1
hooks/access.t 42  50.00%  2-3
hooks/trans.t  33 100.00%  1-3
modperl/getc.t 21  50.00%  2
modperl/readline.t 21  50.00%  2
modperl/sameinterp.t  29  742412   12 100.00%  1-12
modules/include.t  65  83.33%  1 3-6
protocol/echo.t  255 65280 32  66.67%  2-3
protocol/echo_filter.t   255 65280 32  66.67%  2-3
50 tests skipped.

So, as you can see not very good. After looking at the recommended log file
(t/logs/errorlog) I see the following:

bash-2.03# more t/logs/error_log
END in modperl_extra.pl, pid=29543
[Tue Aug 20 15:01:19 2002] [notice] Apache/2.0.39 (Unix)
mod_perl/1.99_04-dev Perl/v5.8.0 configured -- resuming normal oper
ations
[Tue Aug 20 15:01:19 2002] [info] Server built: Aug 20 2002 11:26:54
[Tue Aug 20 15:01:19 2002] [debug] prefork.c(1035): AcceptMutex: pthread
(default: pthread)
[Tue Aug 20 15:01:20 2002] [error] Can't locate TestHooks/init/first.pm in
INC (INC contains: /export/home/software/apache
_download_2_0_39/mod_perl-1.99_04/t
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/lib/Apach
e2 /export/h
ome/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch/Apache2
/export/home/software/apache_download_2_0_39/mod_perl
-1.99_04/Apache-Test/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/lib
/export/home/software/apache_down
load_2_0_39/mod_perl-1.99_04/blib/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch
/export/home/s
oftware/apache_download_2_0_39/mod_perl-1.99_04/t/response
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/p
rotocol
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/hooks
/export/home/software/apache_download_2_0_39/m
od_perl-1.99_04/t/filter
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irective/perlmodule-vh
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irective/main /usr/local/lib/perl5/5.8.0/sun4-so
laris /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0 /usr
/local/lib/perl5/site_perl) at (eval 15) line 3.

[Tue Aug 20 15:01:20 2002] [error] failed to resolve handler
`TestHooks::init::first'
[Tue Aug 20 15:01:20 2002] [error] [client 127.0.0.1] Can't locate
TestHooks/init/first.pm in INC (INC contains: /export/h
ome/software/apache_download_2_0_39/mod_perl-1.99_04/t
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/li
b/Apache2
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch/Apac
he2 /export/home/software/apache_downl
oad_2_0_39/mod_perl-1.99_04/Apache-Test/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/lib
/export/home/s
oftware/apache_download_2_0_39/mod_perl-1.99_04/blib/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/
arch
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/response
/export/home/software/apache_download_2_0_39/m
od_perl-1.99_04/t/protocol
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/hooks
/export/home/software/apach
e_download_2_0_39/mod_perl-1.99_04/t/filter
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irec

Re: Make test failure when installing mod_perl 2.0 on Solaris 8 withApache 2

2002-08-20 Thread Stas Bekman

Tom Hibbert wrote:
 Hi,
 
 I am running Solaris 8 and have installed Apache 2:
 
 bash-2.03# /usr/apache/bin/httpd -v
 Server version: Apache/2.0.39
 Server built:   Aug 20 2002 11:26:54
 
 I also have installed perl 5.8.0:
 
 bash-2.03# perl -v
 
 This is perl, v5.8.0 built for sun4-solaris
 
 I am trying to install mod_perl 2 and I am having problems with the 'make
 test' command. I have built apache as follows:
[...]
 bash-2.03# more t/logs/error_log
 END in modperl_extra.pl, pid=29543
 [Tue Aug 20 15:01:19 2002] [notice] Apache/2.0.39 (Unix)
 mod_perl/1.99_04-dev Perl/v5.8.0 configured -- resuming normal oper
 ations
 [Tue Aug 20 15:01:19 2002] [info] Server built: Aug 20 2002 11:26:54
 [Tue Aug 20 15:01:19 2002] [debug] prefork.c(1035): AcceptMutex: pthread
 (default: pthread)
 [Tue Aug 20 15:01:20 2002] [error] Can't locate TestHooks/init/first.pm in

Try this patch:

Index: t/hooks/TestHooks/init.pm
===
RCS file: /home/cvs/modperl-2.0/t/hooks/TestHooks/init.pm,v
retrieving revision 1.3
diff -u -r1.3 init.pm
--- t/hooks/TestHooks/init.pm   18 May 2002 02:02:32 -  1.3
+++ t/hooks/TestHooks/init.pm   20 Aug 2002 15:31:18 -
@@ -56,6 +56,7 @@
  __DATA__
  PerlInitHandler TestHooks::init::second
  Base
+PerlModule  TestHooks::init
  PerlInitHandler TestHooks::init::first
  /Base
  PerlResponseHandler TestHooks::init



__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Trouble installing mod_perl module files

2002-05-21 Thread Vicki Brown

I just installed Apache 1.3.22 (that's what's in the FreeBSD ports
collection).  We were previously running 1.3.14

I installed mod_perl-1.26 into this with

 perl Makefile.PL \
APACHE_SRC=/usr/ports/www/apache13/work/apache_1.3.22/src \
DO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1
  make
  make install

Then I (re)built and (re)installed Apache. When I finished, I ran
/usr/local/apache/bin/apachectl configtest and I get

 Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server:
 Cannot open /usr/local/apache/libexec/apache/mod_mmap_static.so

It's true; there are no modules in /usr/local/apache/libexec/ - nothing much
is
in that directory. I've rebuild and re-installed both mod_perl and apache to
no avail.

The LoadModule lines are being added to httpd.conf

  LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
  ...

  ClearModuleList
  AddModule mod_mmap_static.c
  ...

But the files aren't being installed into libexec/

Do I have to move the files manually?!
Am I doing something / not doing something that should be obvious?
-- 
- Vicki

Vicki Brown ZZZ  Journeyman Sourceror:
P.O. Box 1269  zz  |\ _,,,---,,_Scripts  Philtres
San Bruno, CA   zz /,`.-'`'-.  ;-;;,_ Perl, Unix, MacOS
94066 USA |,4-  ) )-,_. ,\ ( `'-'
mailto:[EMAIL PROTECTED]  '---''(_/--'  `-'\_)  http://www.cfcl.com/~vlb



Re: Trouble installing mod_perl module files

2002-05-21 Thread Jie Gao

On Tue, 21 May 2002, Vicki Brown wrote:

 I just installed Apache 1.3.22 (that's what's in the FreeBSD ports
 collection).  We were previously running 1.3.14

 I installed mod_perl-1.26 into this with

  perl Makefile.PL \
 APACHE_SRC=/usr/ports/www/apache13/work/apache_1.3.22/src \
 DO_HTTPD=1 \
 USE_APACI=1 \
 PREP_HTTPD=1 \
 EVERYTHING=1
   make
   make install

 Then I (re)built and (re)installed Apache. When I finished, I ran
 /usr/local/apache/bin/apachectl configtest and I get

  Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
  Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server:
  Cannot open /usr/local/apache/libexec/apache/mod_mmap_static.so

 It's true; there are no modules in /usr/local/apache/libexec/ - nothing much
 is
 in that directory. I've rebuild and re-installed both mod_perl and apache to
 no avail.

 The LoadModule lines are being added to httpd.conf

   LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
   ...

   ClearModuleList
   AddModule mod_mmap_static.c

You need to configure Apache to build those modules, either statically or
as dso, with:

--enable-module=NAME
--enable-shared=NAME

Read the file INSTALL in the Apache distribution.

Regards,




Jie




Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Einar Roheim

Hi everyone,

I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do
the make test I'm getting this in the end before it
aborts:

make[1]: Leaving directory
`/usr/local/src/mod_perl-1.26/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.24/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t

httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
Can't locate object method new via package
URI::URL (perhaps you forgot to load URI::URL?)
at ../blib/lib/Apache/test.pm line 252.
make: *** [run_tests] Error 255

The strange thing is that I installed it on my test-server that has the
same software (SuSE Linux 7.3 Pro / Apache 1.3.24 / mod_perl 1.24) and it
worked like a dream. The only difference is the hardware. The test-server
is a PIII with EIDE-disks and the big server (with the problem) has dual
PIII with SCSI-disks and more memory.
The server is registered in the DNS.

Thanks in advance ...
Einar


RE: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Nicolai Schlenzig (DXD)

Hi Einar,

I just did some digging in my mailbox and found the following:

(btw - mod_perl 1.26 has been around for some time, and it looks like you're using it 
- but not in your spec. list)

// Nicolai


--- OLD MESSAGE ---

Hi,

For what it's worth it, I always have to add use URI::URL; to the files:

mod_perl-x.xx/t/internal/hooks.t
mod_perl-x.xx/lib/Apache/test.pm
mod_perl-x.xx/blib/Apache/test.pm

then all tests work - apart from the ones skipped on my OS - as usual ;)

Hope this helps

// Nicolai


- Original Message - 
From: terry mcintyre [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 1:49 AM
Subject: install test fails


 
 Redhat Linux 7.2
 Apache 1.3.24
 Perl 5.6.1
 mod-perl-1.26
 
 make test fails with result:
 
 /usr/bin/perl t/TEST 0
 Can't locate object method new via package
 URI::URL (perhaps you forgot to load URI::URL?)
 at
 ./blib/lib/Apache/test.pm line 252.
 make: *** [run_tests] Error 255
  
  typescript with complete output follows:
  
  Any clues greatly appreciated.
  
  Thanks!
 
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/


-Original Message-
From: Einar Roheim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 11:42 AM
To: [EMAIL PROTECTED]
Subject: Installing mod_perl 1.26 - URI::URL error


Hi everyone,


I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make 
test I'm getting this in the end before it aborts:


make[1]: Leaving directory `/usr/local/src/mod_perl-1.26/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.24/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
Can't locate object method new via package URI::URL (perhaps you forgot to load 
URI::URL?) at ../blib/lib/Apache/test.pm line 252.
make: *** [run_tests] Error 255
 
The strange thing is that I installed it on my test-server that has the same software 
(SuSE Linux 7.3 Pro / Apache 1.3.24 / mod_perl 1.24) and it worked like a dream. The 
only difference is the hardware. The test-server is a PIII with EIDE-disks and the big 
server (with the problem) has dual PIII with SCSI-disks and more memory.

The server is registered in the DNS.


Thanks in advance ...

Einar 



Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Stas Bekman

Einar Roheim wrote:
 Hi everyone,
 
 
 I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do 
 the make test I'm getting this in the end before it aborts:

You have a mismatching version of LWP and URI packages, update both and 
the problem should disappear.

 
 make[1]: Leaving directory `/usr/local/src/mod_perl-1.26/Util'
 cp t/conf/mod_perl_srm.conf t/conf/srm.conf
 ../apache_1.3.24/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 letting apache warm up...\c
 done
 /usr/local/bin/perl t/TEST 0
 Can't locate object method new via package URI::URL (perhaps you 
 forgot to load URI::URL?) at ../blib/lib/Apache/test.pm line 252.
 make: *** [run_tests] Error 255
  
 The strange thing is that I installed it on my test-server that has the 
 same software (SuSE Linux 7.3 Pro / Apache 1.3.24 / mod_perl 1.24) and 
 it worked like a dream. The only difference is the hardware. The 
 test-server is a PIII with EIDE-disks and the big server (with the 
 problem) has dual PIII with SCSI-disks and more memory.

probably not exactly the same sw.

 The server is registered in the DNS.
 
 
 Thanks in advance ...
 
 Einar



-- 


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Einar Roheim

At 17:00 4/23/2002 +0800, you wrote:
Einar Roheim wrote:
Hi everyone,

I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do 
the make test I'm getting this in the end before it aborts:

You have a mismatching version of LWP and URI packages, update both and 
the problem should disappear.

I did a force install on both of them (since I had the last version), but 
I still have the same problem.


As Nicolai Schlenzig said, I can add use URI::URL; to these files:

mod_perl-x.xx/t/internal/hooks.t
mod_perl-x.xx/lib/Apache/test.pm
mod_perl-x.xx/blib/Apache/test.pm

But I still have the mismatch that you talked about. Don't I?

How can this mismatch happen?



make[1]: Leaving directory `/usr/local/src/mod_perl-1.26/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.24/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
Can't locate object method new via package URI::URL (perhaps you 
forgot to load URI::URL?) at ../blib/lib/Apache/test.pm line 252.
make: *** [run_tests] Error 255

The strange thing is that I installed it on my test-server that has the 
same software (SuSE Linux 7.3 Pro / Apache 1.3.24 / mod_perl 1.24) and it 
worked like a dream. The only difference is the hardware. The test-server 
is a PIII with EIDE-disks and the big server (with the problem) has dual 
PIII with SCSI-disks and more memory.

probably not exactly the same sw.

The server is registered in the DNS.

Thanks in advance ...
Einar



--


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com





Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Silvio Wanka

Stas Bekman wrote:
 
 Einar Roheim wrote:
  At 17:00 4/23/2002 +0800, you wrote:
 
  Einar Roheim wrote:
 
  Hi everyone,
 
  I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I
  do the make test I'm getting this in the end before it aborts:
 
 
  You have a mismatching version of LWP and URI packages, update both
  and the problem should disappear.
 
 
  I did a force install on both of them (since I had the last version),
  but I still have the same problem.
 
 
  As Nicolai Schlenzig said, I can add use URI::URL; to these files:
 
  mod_perl-x.xx/t/internal/hooks.t
  mod_perl-x.xx/lib/Apache/test.pm
  mod_perl-x.xx/blib/Apache/test.pm
 
  But I still have the mismatch that you talked about. Don't I?
 
  How can this mismatch happen?
 
 Well I had this problem with lwp 5.64 and URI 1.09, after upgrading to
 libwww-perl 5.64 and URI 1.1 the problem has disappeared.

Maybe with URI 1.1 but not with the current 1.11

 [...]
 --
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
 http://modperlbook.org http://apache.org   http://ticketmaster.com

The patch at the end solves the problems, the tests are running
but you get error messages in one of the URI modules, that a undefined
value is used.

Regards, Silvio

--- lib/Apache/test.pm~ Wed Feb 14 23:57:08 2001
+++ lib/Apache/test.pm  Fri Feb 22 18:57:13 2002
@@ -5,6 +5,12 @@
 use Exporter ();
 use Config;
 use FileHandle ();
+
+use URI::URL ();
+sub URI::WithBase::can {
+return UNIVERSAL::can(@_) || UNIVERSAL::can($_[0]-[0], $_[1]);
+}
+
 *import = \Exporter::import;
 
 @EXPORT = qw(test fetch simple_fetch have_module skip_test
--- t/internal/hooks.t~ Thu Jan 21 00:16:38 1999
+++ t/internal/hooks.t  Fri Feb 22 18:46:53 2002
@@ -7,6 +7,7 @@
 use ExtUtils::testlib;
 BEGIN { require net/config.pl; }
 require LWP::UserAgent;
+require URI::URL;
 
 #first one queries httpd for enabled hooks, 
 #generating a hook::handler() for each and writing t/docs/.htaccess
@@ -29,7 +30,7 @@
 foreach $loc (@urls) {
 $url = new URI::URL(http://$net::httpserver$loc;);
 
-$request = new HTTP::Request('GET', $url);
+$request = new HTTP::Request('GET', $url);
 
 print GET $url\n\n;



Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Stas Bekman

Silvio Wanka wrote:

BTW, have you tried the latest mod_perl CVS? I think your problem has 
been solved long time ago. Sometimes I forget that others don't use the 
cvs version all the time :)

 From Changes:

=item 1.26_01-dev
...
require URI::URL to work with newer libwww-perl
...


 Stas Bekman wrote:
 
Einar Roheim wrote:

At 17:00 4/23/2002 +0800, you wrote:


Einar Roheim wrote:


Hi everyone,

I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I
do the make test I'm getting this in the end before it aborts:


You have a mismatching version of LWP and URI packages, update both
and the problem should disappear.


I did a force install on both of them (since I had the last version),
but I still have the same problem.


As Nicolai Schlenzig said, I can add use URI::URL; to these files:

mod_perl-x.xx/t/internal/hooks.t
mod_perl-x.xx/lib/Apache/test.pm
mod_perl-x.xx/blib/Apache/test.pm

But I still have the mismatch that you talked about. Don't I?

How can this mismatch happen?

Well I had this problem with lwp 5.64 and URI 1.09, after upgrading to
libwww-perl 5.64 and URI 1.1 the problem has disappeared.
 
 
 Maybe with URI 1.1 but not with the current 1.11
 
 
[...]
--
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
 
 
 The patch at the end solves the problems, the tests are running
 but you get error messages in one of the URI modules, that a undefined
 value is used.
 
 Regards, Silvio
 
 --- lib/Apache/test.pm~   Wed Feb 14 23:57:08 2001
 +++ lib/Apache/test.pmFri Feb 22 18:57:13 2002
 @@ -5,6 +5,12 @@
  use Exporter ();
  use Config;
  use FileHandle ();
 +
 +use URI::URL ();
 +sub URI::WithBase::can {
 +return UNIVERSAL::can(@_) || UNIVERSAL::can($_[0]-[0], $_[1]);
 +}
 +
  *import = \Exporter::import;
  
  @EXPORT = qw(test fetch simple_fetch have_module skip_test
 --- t/internal/hooks.t~   Thu Jan 21 00:16:38 1999
 +++ t/internal/hooks.tFri Feb 22 18:46:53 2002
 @@ -7,6 +7,7 @@
  use ExtUtils::testlib;
  BEGIN { require net/config.pl; }
  require LWP::UserAgent;
 +require URI::URL;
  
  #first one queries httpd for enabled hooks, 
  #generating a hook::handler() for each and writing t/docs/.htaccess
 @@ -29,7 +30,7 @@
  foreach $loc (@urls) {
  $url = new URI::URL(http://$net::httpserver$loc;);
  
 -$request = new HTTP::Request('GET', $url);
 +$request = new HTTP::Request('GET', $url);
  
  print GET $url\n\n;



-- 


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com





Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Andrew McNaughton





On Tue, 23 Apr 2002, Silvio Wanka wrote:

 Stas Bekman wrote:
 
  Einar Roheim wrote:
   At 17:00 4/23/2002 +0800, you wrote:
  
   Einar Roheim wrote:
  
   Hi everyone,
  
   I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I
   do the make test I'm getting this in the end before it aborts:
  
  
   You have a mismatching version of LWP and URI packages, update both
   and the problem should disappear.
  
  
   I did a force install on both of them (since I had the last version),
   but I still have the same problem.
  
   How can this mismatch happen?
 
  Well I had this problem with lwp 5.64 and URI 1.09, after upgrading to
  libwww-perl 5.64 and URI 1.1 the problem has disappeared.

 Maybe with URI 1.1 but not with the current 1.11

Perhaps you have two different URI modules on your system?

Is your mod_perl installation using the same library directories (INC) as
you used when you did the force install?  This can happen if you update
your system perl after installing mod_perl.

Andrew McNaughton





Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Mark P. Fister

On Thu, Apr 18, 2002 at 10:19:09AM -0700, Fernando Munoz wrote:
 Thanks for your input Stas. I followed (step-by-step) the installation
 suggested in the guide and I ended with the same message after ..
 
 # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
 DO_HTTPD=1 SSL_BASE=/usr/local/ssl \
 APACHE_PREFIX=/usr/local/apachessl \
 APACHE_SRC=../apache_x.x.x/src \
 APACI_ARGS='--enable-module=ssl,--enable-module=rewrite'
 .
 .
 .
 # make  make test  make install
 .
 .
 .
 ./gen_test_char test_char.h
 ld.so.1: ./gen_test_char: fatal: libssl.so.0.9.6: open failed: No such file
 or directory
 *** Error code 137
 make: Fatal error: Command failed for target 'test_char.h'
 Current working directory /Repository/apache_1.3.24/src/main
 *** Error code 1
 make: Fatal error: Command failed for target 'subdirs'
 Current working directory /Repository/apache_1.3.24/src
 *** Error code 1
 make: Fatal error: Command failed for target 'build-std'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'build'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'apaci_httpd'
 
 
 I'm new with Solaris and it's starting to frustrate me. BTW I'm using
 binutils-2.11.2.
 
 Thanks for any help.

I had this problem last week.  If you *HAVE* libssl.so.0.9.6 on your
system (which I assume you do, since you are using --enable-module=ssl),
you need to make sure that ldconfig sets up your system's dynamic
library paths properly or that your LD_LIBRARY_PATH environment variable
has the correct directory in it.  Go for the former, I'd say, but in my
case, I merely did this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

And everything worked, because libssl had been previously installed with
a prefix of /usr/local.

-- 
\_/} Mark P. Fister Java, Java, everywhere, and all\_/}
\_/} eBay, Inc. the cups did shrink; Java, Java\_/}
\_/} Austin, TX everywhere, nor any drop to drink! \_/}



RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Fernando Munoz

Well I tried your suggestion and it didn't work at first but, after revising
my steps I noticed that $LD_LIBRARY_PATH did not have /usr/local/ssl/lib
(where libssl libraries live) so I push that path there and ssl passed.
Unfortunately I got a different problem now ..

=== src/modules/ssl
=== src/modules/perl
make: Fatal error: Don't know how to make target 'all'
Current working directory /Repository/apache_1.3.24/src/modules/perl
*** Error code 1
make: Fatal error: Command failed for target 'all'
Current working directory /Repository/apache_1.3.24/src/modules
*** Error code 1
make: Fatal error: Command failed for target 'subdirs'
Current working directory /Repository/apache_1.3.24/src
*** Error code 1
make: Fatal error: Command failed for target 'build-std'
Current working directory /Repository/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target 'build'
Current working directory /Repository/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target 'apaci_httpd'

It seems that I'm closer but not there yet. Thanks





-Original Message-
From: Mark P. Fister [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:39 AM
To: Fernando Munoz
Cc: 'Stas Bekman'; '[EMAIL PROTECTED]'
Subject: Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please
H elp !


On Thu, Apr 18, 2002 at 10:19:09AM -0700, Fernando Munoz wrote:
 Thanks for your input Stas. I followed (step-by-step) the installation
 suggested in the guide and I ended with the same message after ..
 
 # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
 DO_HTTPD=1 SSL_BASE=/usr/local/ssl \
 APACHE_PREFIX=/usr/local/apachessl \
 APACHE_SRC=../apache_x.x.x/src \
 APACI_ARGS='--enable-module=ssl,--enable-module=rewrite'
 .
 .
 .
 # make  make test  make install
 .
 .
 .
 ./gen_test_char test_char.h
 ld.so.1: ./gen_test_char: fatal: libssl.so.0.9.6: open failed: No such
file
 or directory
 *** Error code 137
 make: Fatal error: Command failed for target 'test_char.h'
 Current working directory /Repository/apache_1.3.24/src/main
 *** Error code 1
 make: Fatal error: Command failed for target 'subdirs'
 Current working directory /Repository/apache_1.3.24/src
 *** Error code 1
 make: Fatal error: Command failed for target 'build-std'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'build'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'apaci_httpd'
 
 
 I'm new with Solaris and it's starting to frustrate me. BTW I'm using
 binutils-2.11.2.
 
 Thanks for any help.

I had this problem last week.  If you *HAVE* libssl.so.0.9.6 on your
system (which I assume you do, since you are using --enable-module=ssl),
you need to make sure that ldconfig sets up your system's dynamic
library paths properly or that your LD_LIBRARY_PATH environment variable
has the correct directory in it.  Go for the former, I'd say, but in my
case, I merely did this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

And everything worked, because libssl had been previously installed with
a prefix of /usr/local.

-- 
\_/} Mark P. Fister Java, Java, everywhere, and all\_/}
\_/} eBay, Inc. the cups did shrink; Java, Java\_/}
\_/} Austin, TX everywhere, nor any drop to drink! \_/}



Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Stas Bekman

Fernando Munoz wrote:
 Well I tried your suggestion and it didn't work at first but, after revising
 my steps I noticed that $LD_LIBRARY_PATH did not have /usr/local/ssl/lib
 (where libssl libraries live) so I push that path there and ssl passed.
 Unfortunately I got a different problem now ..
 
 === src/modules/ssl
 === src/modules/perl
 make: Fatal error: Don't know how to make target 'all'
 Current working directory /Repository/apache_1.3.24/src/modules/perl
 *** Error code 1
 make: Fatal error: Command failed for target 'all'
 Current working directory /Repository/apache_1.3.24/src/modules
 *** Error code 1
 make: Fatal error: Command failed for target 'subdirs'
 Current working directory /Repository/apache_1.3.24/src
 *** Error code 1
 make: Fatal error: Command failed for target 'build-std'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'build'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'apaci_httpd'
 
 It seems that I'm closer but not there yet. Thanks

seems to me that you've run apache's ./configure again after you have 
configured mod_perl, which wiped off the modperl config. See if you 
didn't mess up with the order of things. You should have a Makefile and 
a bunch of modperl files in src/modules/perl after you run 'perl 
Makefile ...'

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com





RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Fernando Munoz

Thank you very much Stas and Mark !... Everything went fine and I have a
fresh Apache+mod_perl+mod_ssl running is this box. I noticed though that
after rebooting I need to push again the path into $LD_LIBRARY_PATH for
apache to run ??? any suggestion ?. But again Thanks so much.

-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:23 AM
To: Fernando Munoz
Cc: 'Mark P. Fister'; '[EMAIL PROTECTED]'
Subject: Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please
H elp !


Fernando Munoz wrote:
 Well I tried your suggestion and it didn't work at first but, after
revising
 my steps I noticed that $LD_LIBRARY_PATH did not have /usr/local/ssl/lib
 (where libssl libraries live) so I push that path there and ssl passed.
 Unfortunately I got a different problem now ..
 
 === src/modules/ssl
 === src/modules/perl
 make: Fatal error: Don't know how to make target 'all'
 Current working directory /Repository/apache_1.3.24/src/modules/perl
 *** Error code 1
 make: Fatal error: Command failed for target 'all'
 Current working directory /Repository/apache_1.3.24/src/modules
 *** Error code 1
 make: Fatal error: Command failed for target 'subdirs'
 Current working directory /Repository/apache_1.3.24/src
 *** Error code 1
 make: Fatal error: Command failed for target 'build-std'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'build'
 Current working directory /Repository/apache_1.3.24
 *** Error code 1
 make: Fatal error: Command failed for target 'apaci_httpd'
 
 It seems that I'm closer but not there yet. Thanks

seems to me that you've run apache's ./configure again after you have 
configured mod_perl, which wiped off the modperl config. See if you 
didn't mess up with the order of things. You should have a Makefile and 
a bunch of modperl files in src/modules/perl after you run 'perl 
Makefile ...'

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-17 Thread Fernando Munoz

These are the software/platform I'm working with:

Solaris 8
Perl 5.6.1
OpenSSl-0.9.6c
mod_ssl-2.8.8-1.3.24
mod_perl-1.24_01
Apache 1.3.24

These are the steps that I've taken to install the modules:

Installing OpenSSl :


# config shared
# make 
# make install

Configuring mod_ss
--l

# configure --with-apache=../apache_1.3.24
--with-ssl=../openssl-0.9.6c

configuring/installing mod_perl / apache
--

# perl Makefile.PL USE_APACI=1 EVERYTHING=1 DO_HTTPD=1
SSL_BASE=/usr/local/ssl \
 APACHE_SRC=../apache_1.3.24/src \
 APACI_ARGS='--enable-module=so,--enable-module=ssl'

-- This configure reports no  errors

# make
.
.
.
./gen_test_char test_char.h
ld.so.1: ./gen_test_char: fatal: libssl.so.0.9.6: open failed: No
such file or directory
*** Error code 137
make: Fatal error: Command failed for target 'test_char.h'
Current working directory /Repository/apache_1.3.24/src/main
*** Error code 1
make: Fatal error: Command failed for target 'subdirs'
Current working directory /Repository/apache_1.3.24/src
*** Error code 1
make: Fatal error: Command failed for target 'build-std'
Current working directory /Repository/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target 'build'
Current working directory /Repository/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target 'apaci_httpd'
#

I've tried pushing /usr/local/ssl/lib into PATH and also making
library links in /usr/lib to /usr/local/ssl/lib. I'm totally out of ideas
(and exhausted of trying) I really could use some help !

Thanks !

Fernando Munoz




Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-17 Thread Stas Bekman

Fernando Munoz wrote:
   These are the software/platform I'm working with:
 
   Solaris 8
   Perl 5.6.1
   OpenSSl-0.9.6c
   mod_ssl-2.8.8-1.3.24
   mod_perl-1.24_01
   Apache 1.3.24
 
   These are the steps that I've taken to install the modules:

Try to follow the exact steps described here:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___openssl_
it seems like you've messed some of these


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




installing mod_perl against a different perl installation

2002-04-11 Thread Mike Loiterman

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have two versions of perl installed 5.005 and 5.6.1.  I currently
only have mod_perl installed against 5.005 but I would like to also
have it work with 5.6.1.  How can I do this.

I am using FreeBSD 4.4 Apache 1.13.22_4 and mod_perl 1.26

Mike Loiterman
[EMAIL PROTECTED]
PGP Key 0xD1B9D18E


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPLZso2jZbUnRudGOEQLQWACgiAe46cgCyPqEZuGwgdecAPDr3FAAnRJM
qgf2jEr26wAyEyeBRgYm5x3o
=7UOQ
-END PGP SIGNATURE-




Re: installing mod_perl against a different perl installation

2002-04-11 Thread Stas Bekman

Mike Loiterman wrote:
  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I have two versions of perl installed 5.005 and 5.6.1.  I currently
 only have mod_perl installed against 5.005 but I would like to also
 have it work with 5.6.1.  How can I do this.
 
 I am using FreeBSD 4.4 Apache 1.13.22_4 and mod_perl 1.26

What's the problem, just install it into a different location
  perl Makefile.PL USE_APACI=1 APACHE_PREFIX=/some/path ...
resulting in 2 modperl servers installed (assuming that you had one already)

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




RE: installing mod_perl against a different perl installation

2002-04-11 Thread Mike Loiterman

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I think I got it worked out now

Mike Loiterman
[EMAIL PROTECTED]
PGP Key 0xD1B9D18E

 -Original Message-
 From: Stas Bekman [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 12:41 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: installing mod_perl against a different perl
 installation  
 
 Mike Loiterman wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  I have two versions of perl installed 5.005 and 5.6.1.  I
  currently only have mod_perl installed against 5.005 but I would
  like to also have it work with 5.6.1.  How can I do this.
 
  I am using FreeBSD 4.4 Apache 1.13.22_4 and mod_perl 1.26
 
 What's the problem, just install it into a different location
   perl Makefile.PL USE_APACI=1 APACHE_PREFIX=/some/path ...
 resulting in 2 modperl servers installed (assuming that you had one
 already)  
 
 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
 http://modperlbook.org http://apache.org   http://ticketmaster.com

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPLZ00WjZbUnRudGOEQLJlgCfc3VLzPbD7jb5NuViscNx6JbFCvUAnjlm
0L83fYtdNzWObduPg4ULe4kF
=8Cpc
-END PGP SIGNATURE-




Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

Hi all

I have just installed the binary of Apache v1.3.22 on Windows 2000 and have
attempted to add mod_perl. I am using ActiveState Perl 5.6.1

The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails when
it attempts to install mod_perl.so to c:\apache root. The default location
for apache when I installed it was c:\program files\apache group\apache. I
followed the instructions and manually copied mod_perl.so to my modules
directory.

However, when I run apache -t I am warned of Invalid command
'PerlHander' in my startup.pl file. This suggests that mod_perl is not
installed. ppm -query mod_perl suggests that it is installed correctly by
ppm. I have tried installing and reinstalling, but to no avail.

I have also entered:

LoadModule perl_module modules/mod_perl.so

in httpd.conf, which parses okay.

Any ideas?

Dan






Re: Installing mod_perl with ActiveState

2002-01-10 Thread C.Hauser - IT assistance GmbH


 The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails when
 it attempts to install mod_perl.so to c:\apache root. The default location
 for apache when I installed it was c:\program files\apache group\apache. I
 followed the instructions and manually copied mod_perl.so to my modules
 directory.

Does it now fails in Installtion or ...

 LoadModule perl_module modules/mod_perl.so
 in httpd.conf, which parses okay.

... does it parse OK?

I used the above ingredients and the result was OK, from the scratch.
I installed it in E:\Server\Apache, so no spaces. But this shouldn't
be the problem?

LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c


CU Christian




RE: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

CU, cheers for this -

2 Things:

1. I reinstalled apache in c:/apache
2. I added AddModule mod_perl.c as you mentioned below. I did try with my
old installation, but it didn't seem to parse. I don't know what was
different this time other than my installation directory

Thanks again

Dan



-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 9:49 PM
To: Dan Horne
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mod_perl with ActiveState



 The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails
when
 it attempts to install mod_perl.so to c:\apache root. The default location
 for apache when I installed it was c:\program files\apache group\apache. I
 followed the instructions and manually copied mod_perl.so to my modules
 directory.

Does it now fails in Installtion or ...

 LoadModule perl_module modules/mod_perl.so
 in httpd.conf, which parses okay.

... does it parse OK?

I used the above ingredients and the result was OK, from the scratch.
I installed it in E:\Server\Apache, so no spaces. But this shouldn't
be the problem?

LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c


CU Christian







RE: Re[2]: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

Sorry - I forgot to say that after I reinstalled apache in included
AddModule mod_perl.c it all worked okay

cheers

Dan

-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:09 PM
To: Dan Horne
Subject: Re[2]: Installing mod_perl with ActiveState


So you call later

PerlRequire E:/home/utils/startup.pl

Might be there an error in startup.pl?


== beginn original ==
Date: Donnerstag, 10. Januar 2002, 10:04:35
Subject: Installing mod_perl with ActiveState

CU, cheers for this -

2 Things:

1. I reinstalled apache in c:/apache
2. I added AddModule mod_perl.c as you mentioned below. I did try with my
old installation, but it didn't seem to parse. I don't know what was
different this time other than my installation directory

Thanks again

Dan



-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 9:49 PM
To: Dan Horne
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mod_perl with ActiveState



 The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails
when
 it attempts to install mod_perl.so to c:\apache root. The default location
 for apache when I installed it was c:\program files\apache group\apache. I
 followed the instructions and manually copied mod_perl.so to my modules
 directory.

Does it now fails in Installtion or ...

 LoadModule perl_module modules/mod_perl.so
 in httpd.conf, which parses okay.

... does it parse OK?

I used the above ingredients and the result was OK, from the scratch.
I installed it in E:\Server\Apache, so no spaces. But this shouldn't
be the problem?

LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c


CU Christian



=== end original 







Installing mod_perl 1.26 on solaris 2.7

2001-11-29 Thread James G Smith

I have the 1.26 tarball untar'd and run the following command:

% find . -name Request.pm -print

It prints nothing.  Is there supposed to be an Apache/Request.pm file
somewhere?  Apache complains that it can't find it on startup (I'm trying
to use HTML::Mason).
--
James Smith [EMAIL PROTECTED], 979-862-3725
Texas AM CIS Operating Systems Group, Unix



Re: Installing mod_perl 1.26 on solaris 2.7

2001-11-29 Thread Chris Winters

* James G Smith ([EMAIL PROTECTED]) [011129 14:11]:
 I have the 1.26 tarball untar'd and run the following command:
 
 % find . -name Request.pm -print
 
 It prints nothing.  Is there supposed to be an Apache/Request.pm file
 somewhere?  Apache complains that it can't find it on startup (I'm trying
 to use HTML::Mason).

Apache::Request is a separate package -- IIRC you can install it from
CPAN no problem.

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.



Re: Installing mod_perl 1.26 on solaris 2.7

2001-11-29 Thread Jim Smith

On Thu, Nov 29, 2001 at 02:30:26PM -0500, Chris Winters wrote:
 * James G Smith ([EMAIL PROTECTED]) [011129 14:11]:
  I have the 1.26 tarball untar'd and run the following command:
  
  % find . -name Request.pm -print
  
  It prints nothing.  Is there supposed to be an Apache/Request.pm file
  somewhere?  Apache complains that it can't find it on startup (I'm trying
  to use HTML::Mason).
 
 Apache::Request is a separate package -- IIRC you can install it from
 CPAN no problem.

I should have known that.  Missed it somewhere or forgot about it :/

Thanks.

--jim



Installing mod_perl

2001-10-15 Thread Nikolaus Rath

Hello.

If i install mod_perl with

# perl Makefile.pl NO_HTTPD=1

the files in src/modules/perl are not copied into the apache source
tree and the Configuration file is not updated. Not a good way.

If i call mod_perl in a way like

# perl Makefile.pl DO_HTTPD=1

the files are copied and Configuration is updated. But when i run make,
the apache is build at the same time.

Is there no way to copy the files without compiling apache? My problem
is that i want to specify additional options for the apache configure
script, but perl Makefile.PL doesn't allow this.

Thanks for help,

   --Nikolaus
-- 
$|++;@_=map{chr(ord($_)-$|)}split//,Kvtu!bopuifs!Qfsm!Ibdlfs-;$\=\r;@a=qw(
 ^  v);$§=_x25;until($§!~m~_~){$o=int(rand 28)+65;next if$s{$o}++;$o==91?
$o=44:($o==92?$o=32:0);$g=chr$o;for(0..24){if($_[$_]=~m)$g)i){for$m(@a,$_[$_])
{substr $§,$_,$|,$m;print$§;select$/,$/,$/,0.1}}}print$§}print$/




question on installing mod_perl to activePerl on win98

2001-06-25 Thread ychen56

Hi:
From your website http://perl.apache.org/distributions.html, I got
message( see following)

Win32 ActivePerl mod_perl ppms - suitable for builds 6xx. You can install
this by, within the ppm shell, setting the repository to
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer and typing
install mod_perl. This will also run a post-install script to install the
required mod_perl.so to your Apache modules/ directory.

I followed the instruction, but ppm can not find mod_perl, in fact I opened
this link, nothing there. I really need to install mod_perl in my computer
to do some projects, my operation system is win98, I appreciate to get your
quick respond.

Thanks
Ye





NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net



Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread Randy Kobes

On Mon, 25 Jun 2001, ychen56 wrote:

 Hi:
 From your website http://perl.apache.org/distributions.html, I got
 message( see following)

 Win32 ActivePerl mod_perl ppms - suitable for builds 6xx. You can install
 this by, within the ppm shell, setting the repository to
 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer and typing
 install mod_perl. This will also run a post-install script to install the
 required mod_perl.so to your Apache modules/ directory.

 I followed the instruction, but ppm can not find mod_perl, in fact I opened
 this link, nothing there. I really need to install mod_perl in my computer
 to do some projects, my operation system is win98, I appreciate to get your
 quick respond.

 Thanks
 Ye

The above link only gives something sensible when called by
the ppm utility. Did you try this as

  DOS ppm
  ppm set repository whatever
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
  ppm search mod_perl
  ppm install mod_perl
  ppm quit
  DOS

(the set repository ... should appear on one line). If this
doesn't work, try installing directly as (again as one line)

  DOS ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd

If neither of these work, do you have problems installing
modules from ActiveState's repository? eg, does

  DOS ppm install GD

install GD.pm OK?

best regards,
randy kobes




Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread ychen56

Thanks, I have installed mod_perl successfully by setting the repository to
http://theoryx5.uwinnipeg.ca/ppmpackages/.
I have one more question. The version of mod_perl is 1.25 which is written
for apache 1.3.20, my  apache version is 1.3.14,
I think I need copy the file mod_perl.so to apachemodperl.dll, right? What
else I need to do? Or I have to use apache 1.3.20 instead of 1.3.14?

Best Regards
Ye

- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: ychen56 [EMAIL PROTECTED]
Cc: Mod Perl List [EMAIL PROTECTED]
Sent: Monday, June 25, 2001 4:35 PM
Subject: Re: question on installing mod_perl to activePerl on win98


 On Mon, 25 Jun 2001, ychen56 wrote:

  Hi:
  From your website http://perl.apache.org/distributions.html, I got
  message( see following)
 
  Win32 ActivePerl mod_perl ppms - suitable for builds 6xx. You can
install
  this by, within the ppm shell, setting the repository to
  http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer and typing
  install mod_perl. This will also run a post-install script to install
the
  required mod_perl.so to your Apache modules/ directory.
 
  I followed the instruction, but ppm can not find mod_perl, in fact I
opened
  this link, nothing there. I really need to install mod_perl in my
computer
  to do some projects, my operation system is win98, I appreciate to get
your
  quick respond.
 
  Thanks
  Ye

 The above link only gives something sensible when called by
 the ppm utility. Did you try this as

   DOS ppm
   ppm set repository whatever
 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
   ppm search mod_perl
   ppm install mod_perl
   ppm quit
   DOS

 (the set repository ... should appear on one line). If this
 doesn't work, try installing directly as (again as one line)

   DOS ppm install
 http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd

 If neither of these work, do you have problems installing
 modules from ActiveState's repository? eg, does

   DOS ppm install GD

 install GD.pm OK?

 best regards,
 randy kobes




NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net



Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread Randy Kobes

On Mon, 25 Jun 2001, ychen56 wrote:

 Thanks, I have installed mod_perl successfully by setting the repository to
 http://theoryx5.uwinnipeg.ca/ppmpackages/.
 I have one more question. The version of mod_perl is 1.25 which is written
 for apache 1.3.20, my  apache version is 1.3.14,
 I think I need copy the file mod_perl.so to apachemodperl.dll, right? What
 else I need to do? Or I have to use apache 1.3.20 instead of 1.3.14?

 Best Regards
 Ye

Generally, in the Win32 Apache world, one should keep as current
as possible, for bug/security fixes. So if it's at all possible,
it's probably a good idea to upgrade to Apache_1.3.20. If that's
impossible, there are older Apache/mod_perl versions in
  http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-legacy/.
The versioning goes mod_perl-x.xx_y.yy.ppd, where x.xx refers
to the mod_perl version and y.yy refers to the apache version.
You should note the .ppd file corresponding to your apache
version, and install it as (all on one line)
ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-legacy/whatever.ppd
Using a mod_perl version compiled for a different apache than you're
using doesn't always work. Note that, after Apache_1.3.15, the name of
the mod_perl dll that goes into your Apache modules/ directory was
changed from ApacheModulePerl.dll to mod_perl.so.

best regards,
randy kobes




Newbie: Please help me in installing mod_perl

2001-06-20 Thread VIDYASAGAR R NALLU

Hi,

I'm completely new to mod_perl. So please don't scold me too hard if i'm
asking silly question. Basically i installed and configured Apache web
server, working fine with out any problem. Now i would like to install
mod_perl. According to documentation using ppm i installed ppd file of
mod_perl. Successfully copied mod_perl.so into the modules directory of
Apache webserver.

I included the following statements into httpd.conf file:

Alias /Perl/ /vnallu/http/perl
  
  PerlModule Apache::Registry
  Location /httpd
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
allow from all
  /Location

When i started the server i'm ended up with the following error message:

Invalid module PerlModule perhaps mis-spelled or defined by a module not
included in the server configuration.

Is this problem anyway related to mod_perl-1.25.tar.gz. Totally confused.
Please someone kind enough to solve my problem.

Thanks in advance
vnallu



Re: Newbie: Please help me in installing mod_perl

2001-06-20 Thread Robin Berjon

On Wednesday 20 June 2001 17:49, VIDYASAGAR R NALLU wrote:
 According to documentation using ppm i installed ppd file of
 mod_perl. Successfully copied mod_perl.so into the modules directory of
 Apache webserver.

 When i started the server i'm ended up with the following error message:

 Invalid module PerlModule perhaps mis-spelled or defined by a module not
 included in the server configuration.

You need to add (before any mod_perl directive):

LoadModule perl_module modules/mod_perl.so

Note that I'm guessing that it ought to be mod_perl.so, I haven't used 
mod_perl on win32 in ages and back then it was ApacheModulePerl.dll.

-- 
___
Robin Berjon [EMAIL PROTECTED] -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
---
To err is human, to purr feline.




Re: Installing mod_perl on MacOSX

2001-03-15 Thread Ken Williams

[EMAIL PROTECTED] (Philippe de Rochambeau) wrote:
has anyone ever installed/compiled mod_perl for MacOSX? If so, how
exactly did you do it?


See this thread: 
   http://forum.swarthmore.edu/epigone/modperl/philsmangyi

  ------
  Ken Williams Last Bastion of Euclidity
  [EMAIL PROTECTED]The Math Forum



Installing mod_perl on MacOSX

2001-03-14 Thread Philippe de Rochambeau

Hello,

has anyone ever installed/compiled mod_perl for MacOSX? If so, how
exactly did you do it?

Many thanks.

Philippe de Rochambeau



problems installing mod_perl when apache is already installed...

2001-02-01 Thread Webmaster


I'm looking forward to start using 
Apache and mod_perl together...etc. The common E-commerce scenario. I will also 
be planning to put in Embperl, and use MySQL. I have a RH 7.0 system with Apache 
1.3.12 already installed and previously configured by me. Now I'm trying to 
install mod_perl but I'm having problems cuz it seems like I can't find the 
Apache source anywhere!!! Obviously if it comes pre-installed, then it would be 
a RPM package. I queried...but stillI can't find the source...I'm 
looking at trying this with mod_perl installation: 
# cd /usr/src/mod_perl-1.25# perl Makefile.PL 
APACHE_SRC=../apache_x.x.x/src \DO_HTTPD=1 USE_APACI=1 EVERYTHING=1# 
make  make test  make install 
but these seem to be instructions for installing Apache also...but I don't 
want to uninstall, for fear of dependency conflicts with modules 
Is there a way to solve this problem???

perhaps this problem can be solved if I find a mod_perl rpm packagebut I 
can't find one anywhere on the netcan anyone help with 
this???


Re: problems installing mod_perl when apache is already installed...

2001-02-01 Thread Buddy Lee Haystack

Try installing it DSO. The following link will provide some directions.

http://perl.apache.org/guide/install.html#Installing_separate_Apache_and_m


 Webmaster wrote:
 
 I'm looking forward to start using Apache and mod_perl together...etc. The common 
E-commerce scenario. I will also be planning to put in Embperl, and use MySQL. I have 
a RH 7.0 system with Apache 1.3.12 already installed and previously configured by me. 
Now I'm trying to install mod_perl but I'm having problems cuz it seems like I can't 
find the Apache source anywhere!!! Obviously if it comes pre-installed, then it would 
be a RPM package. I queried...but stillI can't find the source...
 I'm looking at trying this with mod_perl installation:
 
 # cd /usr/src/mod_perl-1.25
 # perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \
 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
 # make  make test  make install
 
 but these seem to be instructions for installing Apache also...but I don't want to 
uninstall, for fear of dependency conflicts with modules
 
 Is there a way to solve this problem???
 
 
 
 perhaps this problem can be solved if I find a mod_perl rpm packagebut I can't 
find one anywhere on the netcan anyone help with this???



Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-10 Thread Alexander Farber (EED)

John D Groenveld wrote:
  No, I know how to use the modules in my home dir well enough.
 
 I don't see where you set PREFIX=/home/eedalf/lib/perl per perlfaq8. Are
 you sure you read it?

John, you are very correct - thanks! I was in fact missing the PREFIX.

perl Makefile.PL APACHE_PREFIX=/home/eedalf/apache PREFIX=/home/eedalf \
APACHE_SRC=/home/eedalf/src/apache_1.3.14 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

has installed everything cleanly into my home dir.

Regards
Alex

PS: The "make test" failed however on Solaris 2.6:

[...skipped...]

=== src
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.14/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/opt/local/perl-5.6.0/bin/perl t/TEST 0
modules/actions.ok   
modules/cgi.ok   
modules/constants...ok   
modules/cookie..ok   
modules/fileok   
modules/httpdconf...ok   
modules/include.ok   
modules/log.ok   
modules/module..skipped test on this platform
modules/perlrun.ok   
modules/psections...ok   
modules/request.ok   
modules/src.ok   
modules/ssi.ok   
modules/status..Internal Server Error
modules/status..dubious  
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 8-10
Failed 3/10 tests, 70.00% okay

[...skipped...]

internal/taint..ok   
Failed Test  Status Wstat Total Fail  Failed  List of failed
---
modules/status.   9  2304103  30.00%  8-10
2 tests skipped.
httpd terminated
Failed 1/34 test scripts, 97.06% okay. 5/436 subtests failed, 98.85% okay.
*** Error code 29
make: Fatal error: Command failed for target `run_tests'

But maybe just some module was missing... That's a bit
strange, because I have Devel::Symdump installed in my 
home (and PERL5LIB points to it):

perl -M'Devel::Symdump' -e 1



Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-05 Thread John D Groenveld

 No, I know how to use the modules in my home dir well enough.

I don't see where you set PREFIX=/home/eedalf/lib/perl per perlfaq8. Are
you sure you read it?

I've successfully installed modperl into my own module dir on a
NTT/Verio/Iserver FreeBSD box using the system's Perl for quota reasons.
John
[EMAIL PROTECTED]




Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-04 Thread Alexander Farber (EED)

Ian Kallen wrote:
 
 If I were you, I'd install my own perl in /home/eedalf, create
 /home/eedlf/apache and then do (assuming ~/bin/perl is before
 /opt/local/bin/perl in your path) something like:

Thanks, that's how I had it before - with Perl 5.6.0, Apache 
1.1.3 and mod_perl 1.24 in my home dir. However this tyme I'd 
like to use the system-wide Perl - because of my disk quota.

 perl Makefile.PL \
  APACHE_PREFIX=/home/eedalf/apache \
  APACHE_SRC=/home/eedalf/src/apache_1.3.14 \
  DO_HTTPD=1 \
  USE_APACI=1 \
  LIB=/home/eedalf/lib/perl \
  EVERYTHING=1

  is this error message, when calling "make install"



Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-04 Thread Alexander Farber (EED)

Sorry, s#1\.1\.3#1.3.13#



Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-03 Thread Alexander Farber (EED)

Hi,

I am installing Apache 1.3.14 and mod_perl 1.24_01 into
my home directory and it actually works okay, but there
is this error message, when calling "make install" in the
mod_perl source dir:

Skipping 
/opt/local/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include/http_protocol.h
 (unchanged)
Cannot forceunlink 
/opt/local/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include/ap_config_auto.h:
 Permission denied at /opt/local/perl-5.6.0/lib/5.6.0/File/Find.pm line 475
*** Error code 255
make: Fatal error: Command failed for target `pure_site_install'


I guess, it is because I don't have the write privileges for
our /opt/local/perl-5.6.0. Is there a way to get rid of this 
message? I haven't found it in the

http://perl.apache.org/guide/install.html#Installation_Without_Superuser_P

Thank you
Alex

PS: I use:

perl Makefile.PL APACHE_PREFIX=/home/eedalf APACHE_SRC=/home/eedalf/src/apache_1.3.14 
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1



Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-03 Thread John D Groenveld

Does "How do I keep my own module/library directory?" from perlfaq8 apply?
John
[EMAIL PROTECTED]




Re: Installing mod_perl-1.24_01 w/o super user and with global perl

2001-01-03 Thread Ian Kallen


If I were you, I'd install my own perl in /home/eedalf, create
/home/eedlf/apache and then do (assuming ~/bin/perl is before
/opt/local/bin/perl in your path) something like:

perl Makefile.PL \
 APACHE_PREFIX=/home/eedalf/apache \
 APACHE_SRC=/home/eedalf/src/apache_1.3.14 \
 DO_HTTPD=1 \
 USE_APACI=1 \
 LIB=/home/eedalf/lib/perl \
 EVERYTHING=1


HTH,
-Ian

Today, Alexander Farber (EED) [EMAIL PROTECTED] spoke of Installing...:

 Hi,
 
 I am installing Apache 1.3.14 and mod_perl 1.24_01 into
 my home directory and it actually works okay, but there
 is this error message, when calling "make install" in the
 mod_perl source dir:
 
 Skipping 
/opt/local/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include/http_protocol.h
 (unchanged)
 Cannot forceunlink 
/opt/local/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris/auto/Apache/include/include/ap_config_auto.h:
 Permission denied at /opt/local/perl-5.6.0/lib/5.6.0/File/Find.pm line 475
 *** Error code 255
 make: Fatal error: Command failed for target `pure_site_install'
 
 
 I guess, it is because I don't have the write privileges for
 our /opt/local/perl-5.6.0. Is there a way to get rid of this 
 message? I haven't found it in the
 
 http://perl.apache.org/guide/install.html#Installation_Without_Superuser_P
 
 Thank you
 Alex
 
 PS: I use:
 
 perl Makefile.PL APACHE_PREFIX=/home/eedalf 
APACHE_SRC=/home/eedalf/src/apache_1.3.14 DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

--
CTO: Creation Engines / AIM: iankallen / Fax: (415) 354-3326 
Powering the Collaborative Enterprise / Ian Kallen [EMAIL PROTECTED] 





problems installing mod_perl mod_ssl

2000-11-10 Thread B. Burke

I've tried installing mod_perl  mod_ssl, following both the instructions at  
http://perl.apache.org/guide
and the INSTALL.simple.mod_ssl file that comes with mod_perl-1.24.  When I run the 
perl Makefile.PL
for mod_perl, it keeps complaining that I need apache 1.3.0.  I was able to install 
openssl without any
problems.

I'm using:
RedHat 6.0
apache 1.3.14
mod_perl 1.24
openssl 0.9.6
mod_ssl-2.7.1-1.3.14

Any help is most appreciated!!


Here's what happens when I try perl Makefile.PL:

% cd ../mod_perl-1.24
% perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/usr/local/ssl 
APACHE_PREFIX=/usr/local/apachessl 
APACI_ARGS=--enable-module=ssl,--enable-module=rewrite
Will configure via APACI
Enter `q' to stop search
Please tell me where I can find your apache src
 [../src] ../apache_1.3.14/src
Configure mod_perl with ../apache_1.3.14/src ? [y]
Shall I build httpd in ../apache_1.3.14/src for you? [y]
cp apaci/Makefile.libdir ../apache_1.3.14/src/modules/perl/Makefile.libdir
cp apaci/Makefile.tmpl ../apache_1.3.14/src/modules/perl/Makefile.tmpl
cp apaci/README ../apache_1.3.14/src/modules/perl/README
cp apaci/configure ../apache_1.3.14/src/modules/perl/configure
cp apaci/libperl.module ../apache_1.3.14/src/modules/perl/libperl.module
cp apaci/mod_perl.config.sh ../apache_1.3.14/src/modules/perl/mod_perl.config.sh
cp apaci/load_modules.pl.PL ../apache_1.3.14/src/modules/perl/load_modules.pl.PL
cp apaci/find_source.PL ../apache_1.3.14/src/modules/perl/find_source.PL
cp apaci/apxs_cflags.PL ../apache_1.3.14/src/modules/perl/apxs_cflags.PL
cp apaci/mod_perl.exp ../apache_1.3.14/src/modules/perl/mod_perl.exp
* WARNING *

  Apache Version 1.3.0 required, aborting...

* WARNING 

%


Thanks,
Brian B.






Installing Mod_perl

2000-11-07 Thread Marco Marchi

Hi,
I have compiled mod_perl version 1.24 with apache version
1.3.9; The compilation completes without errors, but whenever I run the
new httpd daemon, I get the following error message:

Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration

Can you please help me in any way ? Thanking you in advance, I send you
my best regards...

Marco Marchi




Re: Installing Mod_perl

2000-11-07 Thread G.W. Haywood

Hi there,

On Tue, 7 Nov 2000, Marco Marchi wrote:

 Hi,
 I have compiled mod_perl version 1.24 with apache version
 1.3.9; The compilation completes without errors, but whenever I run the
 new httpd daemon, I get the following error message:
 
 Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
 Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
 not included in the server configuration

You need mod_so.c compiled in.  I'll wager that if you say 'httpd -l'
you don't see mod_so.c in the list.

73,
Ged.




installing mod_perl-1.24_01/apache_1.3.14/perl 5.004_04/solaris 5.6

2000-10-19 Thread Khachaturov, Vassilii

Hi!
I have been trying to install the subj combination for a couple of hours
with no luck. After looking up Ken's archive, I decided to turn to the list
for the help.

I have gone exactly through the steps suggested in the apache readme file:
$ gunzip apache_1.3.14.tar.gz | tar xvf -
$ gunzip mod_perl-1.24_01.tar.gz | tar xvf -
$ cd mod_perl-1.24_01
$ perl Makefile.PL APACHE_SRC=../apache_1.3.14/src \
   DO_HTTPD=1 USE_APACI=1 \
   EVERYTHING=1
(this reports no problems or versioning hints, and successfully completes)
$ make
This fails at httpd build stage, in the following way:
cc  -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include
-I/opt/local/include -DNO_DL_NEEDED `./apaci`\
  -o httpd buildmark.o modules.o modules/perl/libperl.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
-lsocket -lnsl-L/usr/local/lib -L/opt/local/lib
/usr/local/lib/perl5/sun4-solaris/5.00404/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/sun4-solaris/5.00404/CORE -lperl -lsocket -lnsl -ldl
-lm -lc -lcrypt 
modules/perl/libperl.a(mod_perl.o): In function `perl_shutdown':
mod_perl.o(.text+0xc8): undefined reference to `perl_destruct_level'
mod_perl.o(.text+0xd4): undefined reference to `perl_destruct_level'
mod_perl.o(.text+0xdc): undefined reference to `perl_destruct_level'
mod_perl.o(.text+0xe0): undefined reference to `perl_destruct_level'
mod_perl.o(.text+0xe4): undefined reference to `perl_destruct_level'
modules/perl/libperl.a(mod_perl.o)(.text+0xe8): more undefined references to
`perl_destruct_level' follow

[suppressed more linker errors screenfuls]

Table.o(.text+0x198): undefined reference to `tmps_floor'
make[3]: *** [target_static] Error 1
make[3]: Leaving directory `/home/vassilii/src/apache_1.3.14/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/home/vassilii/src/apache_1.3.14'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/vassilii/src/apache_1.3.14'
make: *** [apaci_httpd] Error 2

Any hints will be greatly appreciated!

Vassilii



RE: installing mod_perl-1.24_01/apache_1.3.14/perl 5.004_04/solaris 5 .6

2000-10-19 Thread Khachaturov, Vassilii

Further search in the excellent modperl guide by Stas Bekman at 

http://perl.apache.org/guide/install.html#Undefined_reference_to_PL_perl_

suggested a clue for this problem:

 This happens when you have Perl built statically linked, with no shared
libperl.a. Build a dynamically linked Perl (with libperl.a) and the problem
will disappear. 

Don't I actually have dynalink support in my perl if perl -V says
  Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
useshrplib=false, libperl=libperl.a
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'

and also the libperl.a is there:
/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/libperl.a

And, also, to make it 100% sure, I ensured that
/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/ is on the httpd's
LD_LIBRARY_PATH

:-(

Vassilii

-Original Message-
From: Khachaturov, Vassilii 
Sent: Thursday, October 19, 2000 12:29 PM
To: '[EMAIL PROTECTED]'
Subject: installing mod_perl-1.24_01/apache_1.3.14/perl 5.004_04/solaris
5 .6


Hi!
I have been trying to install the subj combination for a couple of hours
with no luck. After looking up Ken's archive, I decided to turn to the list
for the help.

I have gone exactly through the steps suggested in the apache readme file:
...
$ perl Makefile.PL APACHE_SRC=../apache_1.3.14/src \
   DO_HTTPD=1 USE_APACI=1 \
   EVERYTHING=1
(this reports no problems or versioning hints, and successfully completes)
$ make
This fails at httpd build stage, in the following way:

[see 
http://forum.swarthmore.edu/epigone/modperl/brelfrermlal
]



Installing mod_perl

2000-08-29 Thread Marco Marchi

Hi all,
I'm a newcomer to this mailing list.
I have installed mod_perl (rel. 1.24) on my machine (Linux, kernel rel.
2.2.13). Apache is already configured and running (rel. 1.3.9). But the
plug-in  (i.e. mod_perl) is not running: I mean, running httpd the machine
gives the following error message:
"Syntax error on line 207 of (path follows)
Invalid command LoadModule, perhaps mis-spelled or defined by a module
not included in the server configuration".
Watching line 207 into the file httpd.conf, there the list of modules to
load begins with the instruction "LoadModule etc.".

Can anybody help me to solve this problem?

Thanks

Marco



---
Marco Marchi - Resp ISO 9000  ICT
Audio Lab Srl - Gruppo Sistemi Integrati
Modena - V. D'Avia Sud, 198/1 - 41010
Tel. +39-059-343424 - Fax +39-059-344955
Bologna - V. della Barca, 26 - 40133
Tel. +39-051-6198620 Fax +39-051-6193400
---




Re: Installing mod_perl

2000-08-29 Thread Justin Wheeler

It appears your Apache wasn't compiled with support for loading
modules.  You either need to recompile apache with mod_perl statically
linked in, or recompile apache with dso support.

--
Regards,
Justin Wheeler
[EMAIL PROTECTED]


On Tue, 29 Aug 2000, Marco Marchi wrote:

 Hi all,
 I'm a newcomer to this mailing list.
 I have installed mod_perl (rel. 1.24) on my machine (Linux, kernel rel.
 2.2.13). Apache is already configured and running (rel. 1.3.9). But the
 plug-in  (i.e. mod_perl) is not running: I mean, running httpd the machine
 gives the following error message:
 "Syntax error on line 207 of (path follows)
 Invalid command LoadModule, perhaps mis-spelled or defined by a module
 not included in the server configuration".
 Watching line 207 into the file httpd.conf, there the list of modules to
 load begins with the instruction "LoadModule etc.".
 
 Can anybody help me to solve this problem?
 
 Thanks
 
 Marco
 
 
 
 ---
 Marco Marchi - Resp ISO 9000  ICT
 Audio Lab Srl - Gruppo Sistemi Integrati
 Modena - V. D'Avia Sud, 198/1 - 41010
 Tel. +39-059-343424 - Fax +39-059-344955
 Bologna - V. della Barca, 26 - 40133
 Tel. +39-051-6198620 Fax +39-051-6193400
 ---
 




Installing mod_perl a dozen times ...

2000-07-18 Thread martin langhoff

hi,

i guess once you've been playing with mod_perl for a while, you
certainly installed perl, many modules, plus mod_perl, plus apache, plus
many more things ... 

I keep a personal list of all the modules I must d/l and install on a
virgin OS, and the correct order, versions and params (if needed). 

this helps me reduuce the time it takes to up/down-grade perl, for
instance. or mod_perl, maybe. I guess we all should have a list like
that, and it'd be useful to share it and cross-pollinate ideas/modules.
A goal might be making a bundle of key components to install. And maybe
make a srpm out of it, or a small perl script. 

what do you think? is it already done? maybe all of a sudden I've got
this oh so great idea just because I have not read the instructions to
download the latest bundle from CPAN.



martin



Re: Installing mod_perl a dozen times ...

2000-07-18 Thread David Hodgkinson



martin langhoff [EMAIL PROTECTED] writes:

   what do you think? is it already done? maybe all of a sudden I've got
 this oh so great idea just because I have not read the instructions to
 download the latest bundle from CPAN.

An expansion on Stas' "10 lines to installing mod_perl" in the Guide
perhaps?

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: Installing mod_perl a dozen times ...

2000-07-18 Thread David Brown

I always thought that if you did a CPAN installation of mod_perl, it
automatically downloaded the modules that it needed.  Am I wrong ?





Re: Installing mod_perl a dozen times ...

2000-07-18 Thread martin langhoff

I guess that's good and true for those with low-cost + hi-speed +
reliable connections. I have a few servers in here, and a dial-up
connection i'd rather be careful about ;)

anyway, I find it's very important to know all the modules I'm
needing/using. Is it me?

on the other hand, it'd be nice to be able to have a bundled setup.
[working for offline installations]. it also allows to keep version
control.


martin  

David Brown wrote:
 
 I always thought that if you did a CPAN installation of mod_perl, it
 automatically downloaded the modules that it needed.  Am I wrong ?



Re: Installing mod_perl a dozen times ...

2000-07-18 Thread Greg Cope

martin langhoff wrote:
 
 hi,
 
 i guess once you've been playing with mod_perl for a while, you
 certainly installed perl, many modules, plus mod_perl, plus apache, plus
 many more things ...
 
 I keep a personal list of all the modules I must d/l and install on a
 virgin OS, and the correct order, versions and params (if needed).
 
 this helps me reduuce the time it takes to up/down-grade perl, for
 instance. or mod_perl, maybe. I guess we all should have a list like
 that, and it'd be useful to share it and cross-pollinate ideas/modules.
 A goal might be making a bundle of key components to install. And maybe
 make a srpm out of it, or a small perl script.
 
 what do you think? is it already done? maybe all of a sudden I've got
 this oh so great idea just because I have not read the instructions to
 download the latest bundle from CPAN

Have you tried the CPAN shell - it has an autobundle command that allows
you to create a snap shot of all your installed modules, and then all
you need to do is install that bundle via CPAN shell on your new
machine.

As for the creating a collective one - I feel that apart from the Apache
bundles you may find little common ground on what people use.

Hope that helps

Greg Cope



 martin




Re: Installing mod_perl a dozen times ...

2000-07-18 Thread Michael J Schout

I guess I will chime in on this since we have dealt with this very same issue.

The problem that we have is that there are a handful of production boxes, a
handful of staging boxes (testing release candidates etc), and a handful of
developer boxes.

Our goal was to make it as easy as possible to get the machines in a state
containing the exact versions of the required CPAN packages, perl, mod_perl,
apache, system libraries etc.

One idea that has been mentioned here was to use CPAN shell to create a Bundle
of the modules you need.  My personal experience was that this just didnt work
quite right :).  CPAN bundles only appear to care tha tyou have *at least* a
particular version of a package installed. But if your system depends on a
previous version than the latest and greatest of a particular package, you are
pretty much out of luck there as far as I can tell.  YMMV :). 

We also needed the ability to apply minor patches to a few modules / packages.
CPAN shell didnt seem to be able to help us here.  Also, CPAN shell requires a
certain degree of user interaction to install all of the modules we need.

The other problem was that several machines in the rotation get "loaned out" to
other projects, and when we get them back, we dont know what state things are
in on the machine.  So we needed to be able to (relatively) quickly re-install
all of the packages we needed on the machines if needed.

What we finally settle on was to use RPMs to do it all.  This allowed us to get
exact versions of everything we needed, and we could blast new bits onto
machines with a very simple one-liner:

   rpm -Uvh --force ftp://somehost/pub/proj/\*.rpm

This was much faster than searching CPAN, and requires no human interaction. 

The only caveat here is that you need to maintain a set of RPMS.  Luckily this
is not to terribly difficult.  We already had RPMS of apache+mod_perl, perl,
etc.  The tricky part is how can we make RPMS easily out of all of those CPAN
modules we were using?  Luckily someone has already done this :).  On CPAN,
Jochen Wiedmann has a script called "makerpm.pl".  You can download this file
from CPAN, copy it to /usr/src/redhat/SOURCES, cd to that directory, and make a
new RPM/SRPM pair like this:

makerpm.pl --specs --source Apache-AuthTicket-0.20.tar.gz

Then, build the rpm/srpm from the .spec file you just made:

rpm -ba -v Apache-AuthTicket.spec

And thats it.  Pretty simple.

Of course you are limited to machines that can use .rpm here, but you can 
probably adopt a similar strategy for other package management systems.

Anyways, this is how we solved this problem.  Now with this in place, I just
run the rpm install from ftp, then load our sorce tree for the particular
project on the machine straight from CVS, and start working.  Total setup of a
new machine takes about 5-10 minutes tops :).

Mike




Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern

On Thu, 8 Jun 2000, Wrobel, Thomas wrote:

 Hi,
 
 I have some problems installing mod_perl.
 My system is a Mandrake 7.0 Kernel 2.2.14.
 I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
 with DSO. Next, I compiled php4RC2 with apxs and
 apache runs correctly.
 But after installing mod_perl with:
 perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
 make
 make install
 i become an error: document contains no data ...
 In the error_log i have the warning:
  [warn] x pid child stopped, segmantation fault (11)
 If i deactivate mod_perl the server runs correctly.

what version of Perl?  what version of mod_perl?  if Perl 5.6.0, try
rebuilding Perl with:
% Configure -des -Uuselargefiles




Re: Problems with installing mod_perl

2000-06-09 Thread Steffers

Thomas wrote:
  I have some problems installing mod_perl.
  My system is a Mandrake 7.0 Kernel 2.2.14.
  I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
  with DSO. Next, I compiled php4RC2 with apxs and
  apache runs correctly.
  But after installing mod_perl with:
  perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
  make
  make install
  i become an error: document contains no data ...
  In the error_log i have the warning:
   [warn] x pid child stopped, segmantation fault (11)
  If i deactivate mod_perl the server runs correctly.
 
 what version of Perl?  what version of mod_perl?  if Perl 5.6.0, try
 rebuilding Perl with:
 % Configure -des -Uuselargefiles

that shouldnt really matter, since its a signal 11 from a
process, then its either :

a) hardware fault, check the load time on the server without
mod_perl and see if it significantly jumps up (or peaks) 
when you PerlModule in mod_perl
or
b) you need to upgrade your gcc, some gcc's compile 'dubious'
instructions under certain cases (-O3 apache generates a
sig 11 on my dual celeron here, but -O1 doesnt. go figure,
but its probably due to the several o/c chips ;)

Currently running here : Apache 1.3.12, mandrake 7.1, mod_perl 1.24,
mod_ssl 2.6.4 (with openssl 0.94) and gcc version 2.95.3 19991030
(prerelease)
(obtained from gcc -v ;)

Works fine, no problems. 
regards
^Stefs^
(oh. for what its worth, try running mod_perl without mod_php, i
know that they should work together, but since Im a perl bigot I
never really compiled in php{anyversion})




Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern

On Fri, 9 Jun 2000, Steffers wrote:
 
 that shouldnt really matter, since its a signal 11 from a
 process, then its either :

it does matter, there are several discussions you'll find in the archives
on how Perl's largefile support triggers this problem.




Re: Problems with installing mod_perl

2000-06-09 Thread Steffers

  that shouldnt really matter, since its a signal 11 from a
  process, then its either : 
 it does matter, there are several discussions you'll find in the archives
 on how Perl's largefile support triggers this problem.
 

fair enough, always willing to conceed that i can be wrong
+BUT+ 
since signal-11 is a 'well defined' unix standard meaning 
hardware 'error' isnt it rather a bad signal to choose for a
non-hardware error ?

(hell, even HP-UX uses sig11 for hardware error)
regards,
Stefs




Problems with installing mod_perl

2000-06-08 Thread Wrobel, Thomas

Hi,

I have some problems installing mod_perl.
My system is a Mandrake 7.0 Kernel 2.2.14.
I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
with DSO. Next, I compiled php4RC2 with apxs and
apache runs correctly.
But after installing mod_perl with:
perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
make
make install
i become an error: document contains no data ...
In the error_log i have the warning:
 [warn] x pid child stopped, segmantation fault (11)
If i deactivate mod_perl the server runs correctly.

Can everybody help me?

best regards

Thomas Wrobel



Installing mod_perl Apache as non root user...

2000-06-06 Thread Flemming Mahler Larsen


Hi!
I've been trying to install mod_perl (1.24) and Apache (1.3.12) on a
Sun E450 (sparc-sun-solaris2.5.1), using a "configuration command"
looking like this (one long line):
perl Makefile.PL PREFIX=/home/tdi/perl USE_APACI=1 PERL_CHILD_INIT=1
\

PERL_AUTHEN=1 PERL_AUTHENZ=1 PERL_AUTHZ=1 PERL_CLEANUP=1 \

PERL_STACKED_HANDLERS=1 APACHE_PREFIX=/home/tdi/server/apache_test
This however doesn't work, as the make install command apparently insist
on messing around in /usr/local/lib/perl5/
There is an existing Apache (1.3.9)/mod_perl (1.21) running on the server
installed by root and running the production environment. Which we would
leave in place until we've tested the new versions with our application.
Any ideas on who to get it installed without being root...
TIA,
Flemming
--
Flemming Mahler Larsen, Tele Danmark Internet
http://projekt.tele.dk.net/about/mahler.html // +45 3527 9013



Re: Installing mod_perl Apache as non root user...

2000-06-06 Thread Stas Bekman

On Tue, 6 Jun 2000, Flemming Mahler Larsen wrote:

 Hi!
 
 I've been trying to install mod_perl (1.24) and Apache (1.3.12) on a Sun
 E450 (sparc-sun-solaris2.5.1),  using a "configuration command" looking
 like this (one long line):
 
 perl Makefile.PL PREFIX=/home/tdi/perl USE_APACI=1 PERL_CHILD_INIT=1 \
PERL_AUTHEN=1 PERL_AUTHENZ=1 PERL_AUTHZ=1
 PERL_CLEANUP=1 \
 PERL_STACKED_HANDLERS=1
 APACHE_PREFIX=/home/tdi/server/apache_test
 
 This however doesn't work, as the make install command apparently insist
 on messing around in /usr/local/lib/perl5/
 
 There is an existing Apache (1.3.9)/mod_perl (1.21) running on the
 server installed by root and running the production environment. Which
 we would leave in place until we've tested the new versions with our
 application.
 
 Any ideas on who to get it installed without being root...

http://perl.apache.org/guide/install.html#Installation_Without_Superuser_P

 TIA,
 Flemming
 
 --
 Flemming Mahler Larsen, Tele Danmark Internet
 http://projekt.tele.dk.net/about/mahler.html // +45 3527 9013
 
 
 



_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://perl.org http://stason.org/TULARC
http://singlesheaven.com http://perlmonth.com http://sourcegarden.org




Re: Installing mod_perl when other things are required, too.

2000-04-24 Thread Vivek Khera

 "FA" == Forrest Aldrich [EMAIL PROTECTED] writes:

FA simple ./configure --switch to enable them.   I didn't see anything for 
FA mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
FA be done, which made me think I wasn't reading it correctly.

FA What's the magic incantation?

Um, I pretty much do "perl Makefile.PL; gmake install" and then go
over to apache's src directory and type "make install".

If you need anything more complex, then you add options to the "perl
Makefile.PL" step.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
PGP  MIME spoken herehttp://www.kciLink.com/home/khera/



Installing mod_perl when other things are required, too.

2000-04-23 Thread Forrest Aldrich

I couldn't find a faq on this one.

I need to also install apache with php and mod_ssl.   Those two require a 
simple ./configure --switch to enable them.   I didn't see anything for 
mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
be done, which made me think I wasn't reading it correctly.

What's the magic incantation?


TIA




Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Matt Sergeant

On Sat, 22 Apr 2000, Forrest Aldrich wrote:

 I couldn't find a faq on this one.
 
 I need to also install apache with php and mod_ssl.   Those two require a 
 simple ./configure --switch to enable them.   I didn't see anything for 
 mod_perl in the INSTALL, and it seemed there were a lot of manual things to 
 be done, which made me think I wasn't reading it correctly.
 
 What's the magic incantation?

Install mod_perl first, making sure you enable mod_so.
Then php should just install fine as a dso. I'm not sure about mod_ssl
though - I think it has to patch the Apache source. I'm almost certain
this is covered in one of the INSTALL.foo documents.

-- 
Matt/

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org




Re: Installing mod_perl when other things are required, too.

2000-04-23 Thread Richard Dice

 I need to also install apache with php and mod_ssl.   Those two require a
 simple ./configure --switch to enable them.   I didn't see anything for
 mod_perl in the INSTALL, and it seemed there were a lot of manual things to
 be done, which made me think I wasn't reading it correctly.
 
 What's the magic incantation?

There isn't a magic incantation, and there is a lot of stuff that has
to be done manually.

Stas' mod_perl Guide is your friend:
  http://perl.apache.org/guide/install.html#Installation_Scenarios_for_mod_p

You won't find something describing your exaction situation here, but
this should give you a leg up.  mod_php should have an option that allows
it to be created as a (guess what) module to be added to the web server
(rather than an integrated build procedure, like what mod_perl does with
DO_HTTPD = 1).  I expect that you could then treat that module similarly
with how you take care of the modules as described with the URL above.

However, you might find that throwing all 3 of those modules into Apache
will create for you a bloated beast of a server.  If conserving memory is
at all important to you, then you should take a look at the recent thread
that went on on this list, "[RFC] Do Not Run Everything on One mod_perl
Server":
  http://forum.swarthmore.edu/epigone/modperl/floivonmel
The concepts discussed here could help you manage your memory more effectively
(though you'll have to come up with the implementation yourself).

Cheers,
Richard
 

 Richard Dice * Personal 514 816 9568 * Fax 514 816 9569
 ShadNet Creator * http://shadnet.shad.ca/ * [EMAIL PROTECTED]
 Occasional Writer, HotWired * http://www.hotwired.com/webmonkey/
 "squeeze the world 'til it's small enough to join us heel to toe"
 - jesus jones



  1   2   >