Re: FW: mod_perl compile problem

2002-02-14 Thread Ged Haywood

Hi there,

On Thu, 14 Feb 2002, IEEE Consulting wrote:

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

What's your Linux installation?

You _have_ got the Linux sources and things like that installed?

73,
Ged.

PS: you don't need to circulate to the dev list.




RE: FW: mod_perl compile problem

2002-02-14 Thread OCNS Consulting

Ged,

The Server is installed with Redhat Linux 7.2 with latest the kernel
sources. Here's
the output from #rpm -q -a | grep kernel

kernel-doc-2.4.9-21
kernel-source-2.4.9-21
kernel-pcmcia-cs-3.1.27-10
kernel-2.4.7-10
kernel-headers-2.4.9-21
kernel-2.4.9-21

What else can I check?

RB


-Original Message-
From: Ged Haywood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 1:59 PM
To: IEEE Consulting
Cc: mod_perl Mailing List
Subject: Re: FW: mod_perl compile problem


Hi there,

On Thu, 14 Feb 2002, IEEE Consulting wrote:

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

What's your Linux installation?

You _have_ got the Linux sources and things like that installed?

73,
Ged.

PS: you don't need to circulate to the dev list.




RE: FW: mod_perl compile problem

2002-02-14 Thread Ged Haywood

Hi there,

On Thu, 14 Feb 2002, OCNS Consulting wrote:

 The Server is installed with Redhat Linux 7.2 with latest the kernel

Sorry if this has been covered, I haven't read all the thread:
did you get the sources for Perl, Apache and mod_perl as tarballs
or did you use RPMs?  If you used RPMS I'd say

1.  Grab the .tar.gz files for each - I'd suggest Perl 5.6.1, or 5.7.2
if you like to live a fuller life.
2.  Create a directory /home/src (or something like that)
3.  Unpack the lot in there, i.e.
$ cd ~/src
$ tar xzf perl...
$ tar xzf apache-1.3.23.tar.gz
$ tar xzf mod_perl-1.26.tar.gz
$ cd perl...
$ ./configure
$ make
$ make test
$ su
# make install
# exit
$ cd ~/src/mod_perl...
etc etc, don't forget to su each time to 'make install' and
don't forget to exit from the root shell each time afterwards.

If that doesn't do it then we'll have to think again.

73,
Ged.




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 tree only