mod_perl cookbook ... Where?

2002-02-18 Thread IEEE Consulting

Where's the mod_perl Cookbook?

RB



FW: mod_perl compile problem

2002-02-14 Thread IEEE Consulting

Any other thoughts on this issue? I really would like to use mod_perl.

Regards,

RB

-Original Message-
From: OCNS Consulting [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 11:48 AM
To: Hans Juergen von Lengerke
Cc: Randy Kobes; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: mod_perl compile problem


Hans:

Thanks for the TYPO catch.

Yes ActiveState Perl is available for Linux. See:

- RPM ->
http://downloads.activestate.com/ActivePerl/Linux/5.6/ActivePerl-5.6.1.631-i
686-linux.rpm

Once again, I performed the "flexible way" Build method, creating the
libperl.a ar library. I then changed to the Apache Home Directory and
performed the "configure" and "make" but the original problem returns. Below
is the Apache Build Session.

Thanks,

RB

===
Apache Build Session with libperl.a module
===
[apache_1.3.23]#env SSL_BASE=/dist/openssl-0.9.6c EAPI_MM=SYSTEM
LIBS="-ltcl8.3 -lm"
./configure --verbose --enable-rule=EAPI --enable-module=status --enable-mod
ule=so --enable-module=ssl --enable-module=headers --enable-module=info --en
able-module=speling --activate-module=src/modules/php4/libphp4.a --activate-
module=src/modules/extra/mod_auth_pam.o --activate-module=src/modules/mod_dt
cl/mod_dtcl.a --activate-module=src/modules/perl/libperl.a
Configuring for Apache, Version 1.3.23
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
 + activated auth_pam module (modules/extra/mod_auth_pam.o)
 + activated dtcl module (modules/mod_dtcl/mod_dtcl.a)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
 + Rule SSL_COMPAT=yes
 + Rule SSL_SDBM=default
 + Rule SSL_EXPERIMENTAL=no
 + Rule SSL_CONSERVATIVE=no
 + Rule SSL_VENDOR=no
 + Rule EAPI=yes
 + Rule SHARED_CORE=default
 + Rule SHARED_CHAIN=default
 + Rule SOCKS4=no
 + Rule SOCKS5=no
 + Rule IRIXNIS=no
 + Rule IRIXN32=yes
 + Rule PARANOID=no
 + Rule EXPAT=default
 + Rule CYGWIN_WINSOCK=no
 + Rule DEV_RANDOM=default
 + Rule WANTHSREGEX=default
 + Module mmap_static: no
 + Module vhost_alias: no
 + Module env: yes
 + Module define: no
 + Module log_config: yes
 + Module log_agent: no
 + Module log_referer: no
 + Module mime_magic: no
 + Module mime: yes
 + Module negotiation: yes
 + Module status: yes
 + Module info: yes
 + Module include: yes
 + Module autoindex: yes
 + Module dir: yes
 + Module cgi: yes
 + Module asis: yes
 + Module imap: yes
 + Module actions: yes
 + Module speling: yes
 + Module userdir: yes
 + Module alias: yes
 + Module rewrite: no
 + Module access: yes
 + Module auth: yes
 + Module auth_anon: no
 + Module auth_dbm: no
 + Module auth_db: no
 + Module digest: no
 + Module auth_digest: no
 + Module proxy: no
 + Module cern_meta: no
 + Module expires: no
 + Module headers: yes
 + Module usertrack: no
 + Module example: no
 + Module unique_id: no
 + Module so: yes
 + Module setenvif: yes
 + Module ssl: yes
 + Module php4: yes
 + Module auth_pam: yes
 + Module dtcl: yes
 + Module perl: yes
  + id: mod_perl/1.26
  + id: Perl/v5.6.1 (linux) [perl]
Note (probably harmless): No library found for -lposix
cd ..;
gcc  -DLINUX=22 -DMOD_SSL=208106 -I/dist/php-4.1.1 -I/dist/php-4.1.1/main -I
/dist/php-4.1.1/main -I/dist/php-4.1.1/Zend -I/dist/php-4.1.1/Zend -I/dist/p
hp-4.1.1/TSRM -I/dist/php-4.1.1/TSRM -I/dist/php-4.1.1 -DMOD_PERL -DUSE_PERL
_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-
aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM
`./apaci` -I. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/
CORE -I/usr/local/include  -L/dist/openssl-0.9.6c -L/usr/local/lib  -o
helpers/dummy
helpers/dummy.c  -ltcl8.3 -lm -Wl,-rpath,/usr/local/BerkeleyDB.3.3/lib  -rdy
namic -L/usr/local/BerkeleyDB.3.3/lib -Lmodules/php4 -L../modules/php4 -L../
../modules/php4 -lmodphp4  -lpam  -ldl -ldb -lcrypt -lresolv -lm -ldl -lnsl 
 -lresolv -lcrypt   -lm -lcrypt  -lssl -lcrypto -rdynamic  -L/usr/local/lib
/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/auto/DynaLoader/
DynaLoader.a -L/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/C
ORE -lperl -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil  -lmm -lexpat
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
o ssl_module uses ConfigStart/End
  + SSL interface: mod_ssl/2.8.6
  + SSL interface build type: OBJ
  + SSL interface compatibility: enabled
  + SSL interface experimental code: disabled
  + SSL interface conservative code: disabled
  + SSL interface vendor extensions: disabled
  + SSL interface plugin: Built-in SDBM
  + SSL library path: /dist/openssl-0.9.6c
  + SSL library version: OpenSSL 0.9.6c 21 dec 2001
  + SSL library type: source tr

RE: mod_perl compile problem

2002-02-13 Thread IEEE Consulting

Yes.

R. Beazley

-Original Message-
From: Rodney Broom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 7:55 PM
To: OCNS Consulting; [EMAIL PROTECTED]
Subject: Re: mod_perl compile problem


From: OCNS Consulting <[EMAIL PROTECTED]>

> I'm attempting to make "httpd" apache-1.3.23 with mod_perl-1.26 and
> ActiveState Perl 5.6.1 Build 631.

Am I hearing you right, you're using an ActiveState Perl on Linux?

---
Rodney Broom
Programmer: Desert.Net