mod_perl invokation valid?

2003-01-06 Thread Charlie Smith



I'm a newbee at this, so please have patience.

Question: Even though I have PERL 5.8 installed, we wish to get mod_perl 
installed to make use of caching.
Currently, a listing of the %ENV hash indicates that we're running 
mod_perl/1.25. PERL 5.8 is also listed out in the PERL5LIB env 
variable in httpd.conf.

Is it correct assume we'll see a speed up after upgrading mod_perl?IF 
not, what else might need to be done to acheive a performance improvement with 
caching PERL. 

My configuration includes:
GCC 2.95, 
PERL 5.8, DBI 1.3 and DBD::Oracle 1.12, Oracle 9.0.1
SunOS 
5.8 Generic 108528-12 sun4u sparc SUNW, Ultra-80, Apache 1.3.19
mod_perl/1.25

Thanks,
Charlie
1/6/02

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


==


Re: mod_perl invokation valid?

2003-01-10 Thread Charlie Smith



Thanks for your quick response. I was informed that we were not 
running mod Perl, but at the same time the env hash indicated we were, so I 
really was not clear. Sorry.

So, I'll try and clarify my question. We would like to take advantage 
of caching with PERL, and make use of the DBI packages as well. It 
would seem that there is duplicity that needs to be resolved here. The env 
hash for apache indicates we're running Perl ver 5.00503. I 
installed ver 5.8 to get the DBI stuff working. The mod_perl is part 
of the apache configuration that was there when I came on board. It would 
seem to me that we need to upgrade the apache/Perl relationship so that the env 
hash and programs recognize Perl 5.8. 

Question: Do I need to recompile anything, or are there just a couple httpd 
vars that I could change so that we can cache Perl 5.8? 

I've got some other apps that use CGI and HTTP modules associated with perl 
5.00503. They don't appear to work with PERL 5.8 as configured on my 
machine. I'd like to get these working with PERL 5.8 as well.

Another related question: Just to understand part of your response. 
Looks like I'm already ok with current versions of apache and mod_perl at 1.3.19 
and 1.25?


How are things in grand old England?

Thanks,
Charlie

reference original question:


  
  
From:

Charlie Smith
  
To:

[EMAIL PROTECTED]
  
Date:

1/6/2003 8:41 AM
  
Subject:

mod_perl invokation 
  valid?
  
CC:

[EMAIL PROTECTED]
I'm a newbee at this, so please have patience.

Question: Even though I have PERL 5.8 installed, we wish to get mod_perl 
installed to make use of caching.
Currently, a listing of the %ENV hash indicates that we're running 
mod_perl/1.25. PERL 5.8 is also listed out in the PERL5LIB env 
variable in httpd.conf.

Is it correct assume we'll see a speed up after upgrading mod_perl?IF 
not, what else might need to be done to acheive a performance improvement with 
caching PERL. 

My configuration includes:
GCC 2.95, 
PERL 5.8, DBI 1.3 and DBD::Oracle 1.12, Oracle 9.0.1
SunOS 
5.8 Generic 108528-12 sun4u sparc SUNW, Ultra-80, Apache 1.3.19
mod_perl/1.25

Thanks,
Charlie
1/6/02 
"Ged Haywood" [EMAIL PROTECTED] 01/06/03 09:32AM 
Hi there,On Mon, 6 Jan 2003, Charlie Smith 
wrote:[snip,snip] assume we'll see a speed up after upgrading 
mod_perl?Your question is not clear. It depends on what you're 
doing with it.If you're already using mod_perl then simply upgrading it 
won't giveyou a substantial performance improvement.Read the 
mod_perl Guide, you'll find it at the mod_perl home pagehttp://perl.apache.org and it tells you a lot 
about performancetuning and other useful stuff. My 
configuration includes: GCC 2.95, PERL 5.8, DBI 1.3 and 
DBD::Oracle 1.12, Oracle 9.0.1SunOS 5.8 Generic 108528-12 sun4u sparc 
SUNW, Ultra-80, Apache 1.3.19 mod_perl/1.25You should upgrade to the 
latest versions of Apache and mod_perl(versions 1.3.x and 1.2x, not mod_perl 
1.99 which is really 2.0x:)There have been problems now and again with 
SunOS but don't letme worry you about that, it might not 
happen.73,Ged.

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


==


What is lastest stable version of mod_perl? newbie question.

2003-02-10 Thread Charlie Smith



What's the latest stable version of mod_perl?

I believe the latest stable version of Apache is 1.3.19, which is what I am 
running.

I am at mod_perl version 1.25.
As I understand it, I need to recompile mod_perl with Apache 1.3.19 and 
perl 5.8 on sun box in order to get perl 5.8 (hitting an Oracle 9.0.1 database) 
working with the mod_perl scripts.



Charlie
2/10/03

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


==


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.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.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_perl1.27andapache 1.3.27

2003-02-24 Thread Charlie Smith



Hi Ged,

apache 
and mod_perl at 1.3.19 and 1.25, resp. I came on board afterapache 
and mod_perlhad been installed via binaries off of a cd.
It 
is part of my task to upgrade these and try and get rid of some problems with 
mod_perl.

Current 
configuration:
GCC 2.95, 
PERL 5.8, DBI 1.3 and DBD::Oracle 1.12, Oracle 9.0.1 SunOS 5.8 Generic 108528-12 
sun4u sparc SUNW, Ultra-80, Apache 1.3.19

mod_perl/1.25 
"Ged Haywood" [EMAIL PROTECTED] 02/24/03 10:03AM 
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.

--
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_perl1.27andapache 1.3.27

2003-02-24 Thread Charlie Smith



So Ged,

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? 
"Ged Haywood" [EMAIL PROTECTED] 02/24/03 10:03AM 
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.

--
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_perl1.27andapache1.3.27

2003-02-24 Thread Charlie Smith


Ok. I'll 
give it a whack or hack or whatever you want to call it. Where are the Wl 
flags loaded from for the mod_perl stuff? "Ged Haywood" 
[EMAIL PROTECTED] 02/24/03 12:00PM 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 Sourcestuff 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.

--
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 installingmod_perl1.27andapache1.3.27

2003-02-25 Thread Charlie Smith



Ged,

attached are the source files I had to modify to get the mod_perl stuff to 
compile with Apache.
TestCompile
ldopts

The TestCompile routine had to be modified to remove the LIBS1 on line 
248.
This goes into the apache 1.3.27 distribution under 
src/helpers/TestCompile. Maybe you or someone else could help 
code the test for an OS in this shell file. I left this out, so the user 
will have to use the modified file rather than
the original.

I modified ldopts file, which is included in both themod_perl 
distribution and the apache distribution, under 
.../src/modules/perl/ldopts
I modified this file to check the OS before removing the -Wl 
parameter from the returned opts.

What is procedure to get these put in as patch?

Thanks,
Charlie Smith "Ged Haywood" 
[EMAIL PROTECTED] 02/24/03 04:57PM Hi 
Charlie,On Mon, 24 Feb 2003, Charlie Smith wrote: Ok. 
I'll give it a whack or hack or whatever you want to call it. Where 
are the Wl flags loaded from for the mod_perl stuff?Actually 
they're from the Apache source, the mod_perl configuration may hack them.The 
tool I use most for poking around in sources is 'grep'...hurricane:~$ 
 grep -r Wl 
/home/ged/src/apache_1.3.27/*[snip,snip]/home/ged/src/apache_1.3.27/htdocs/manual/programs/apxs.html: 
-strongWc,/strongemcompiler/em-emflags/em 
] [ 
-strongWl,/strongemlinker/em-emflags/em 
] emfiles/em 
.../home/ged/src/apache_1.3.27/htdocs/manual/programs/apxs.html: 
-strongWl,/strongemlinker/em-emflags/em/home/ged/src/apache_1.3.27/src/CHANGES: 
*) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link 
command./home/ged/src/apache_1.3.27/src/Configure: 
LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic 
-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-E"/home/ged/src/apache_1.3.27/src/Configure: 
  
LDFLAGS_SHLIB_EXPORT="-Wl,-E"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-E"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-Blargedynsym"/home/ged/src/apache_1.3.27/src/Configure: 
 LDFLAGS_SHLIB_EXPORT="-Wl,-E 
-Wl,-B,deferred"/home/ged/src/apache_1.3.27/src/Configure: 
 LDFLAGS_SHLIB_EXPORT="-Wl,-E -Wl,-B,deferred 
-Wl,+s"/home/ged/src/apache_1.3.27/src/Configure: 
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport:\$(SRCDIR)/support/httpd.exp"/home/ged/src/apache_1.3.27/src/Configure: 
 
LDFLAGS_SHLIB_EXPORT="-Wl,-bE:\$(SRCDIR)/support/httpd.exp"/home/ged/src/apache_1.3.27/src/Configure: 
 LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic 
-Wl,-Bexport"/home/ged/src/apache_1.3.27/src/modules/perl/mod_perl.config.sh:#replace 
-Wl args meant for cc with args for 
ld/home/ged/src/apache_1.3.27/src/modules/perl/mod_perl.config.sh: 
while ($ldopts =~ s/-Wl,(\S+)/$1/) 
{/home/ged/src/apache_1.3.27/src/support/apxs.8:.BI \-Wl, 
"linker-flags"/home/ged/src/apache_1.3.27/src/support/apxs.8:.BI \-Wl, 
"linker-flags"/home/ged/src/apache_1.3.27/src/support/apxs.pl: 
print STDERR 
" 
[-Wl,flags] files 
...\n";/home/ged/src/apache_1.3.27/src/support/apxs.pl: my 
($opt_Wl, $opt_L, 
$opt_l);/home/ged/src/apache_1.3.27/src/support/apxs.pl: 
foreach $opt_Wl (@opt_W) 
{/home/ged/src/apache_1.3.27/src/support/apxs.pl: 
$opt .= " $1" if ($opt_Wl =~ 
m|^\s*l,(.*)$|);/home/ged/src/apache_1.3.27/src/support/apxs.pl: 
$opt .= " 
-W$opt_Wl";/home/ged/src/apache_1.3.27/src/support/apxs: 
print STDERR 
" 
[-Wl,flags] files 
...\n";/home/ged/src/apache_1.3.27/src/support/apxs: my 
($opt_Wl, $opt_L, 
$opt_l);/home/ged/src/apache_1.3.27/src/support/apxs: 
foreach $opt_Wl (@opt_W) 
{/home/ged/src/apache_1.3.27/src/support/apxs: 
$opt .= " $1" if ($opt_Wl =~ 
m|^\s*l,(.*)$|);/home/ged/src/apache_1.3.27/src/support/apxs: 
$opt .= " -W$opt_Wl";hurricane:~$  grep -r Wl 
/home/ged/src/mod_perl-1.27/*/home/ged/src/mod_perl-1.27/apaci/mod_perl.config.sh:#replace 
-Wl args meant for cc with args for 
ld/home/ged/src/mod_perl-1.27/apaci/mod_perl.config.sh: 
while ($ldopts =~ s/-Wl,(\S+)/$1/) 
{73,Ged.

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


==


TestCompile
Description: Binary data


ldopts
Description: Binary data


How to make apache with both mod_perl and mod_ssl?

2003-04-02 Thread Charlie Smith
How to make apache with both mod_perl and mod_ssl?

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


==



PERL/java interface available?

2003-06-09 Thread Charlie Smith
Would anyone happen to know if there is a PERL/java interface where these two 
languages could talk to each other?

Charlie


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


==