mod_perl PHP installation problem

2003-01-27 Thread domm
Hi!
  
I've got some problems compiling mod_perl together with PHP.

I'm using Apache 1.3.27, mod_perl 1.27 and PHP 4.3.0 on RedHat-Linux (7.2).

I'm following
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php

The problem arises at the step Build Apache

./configure --prefix=/usr/local/etc/httpd \
 --activate-module=src/modules/perl/libperl.a \
 --activate-module=src/modules/php4/libphp4.a

There is neither libperl.a nor libphp4.a in the corresponding dirs.

In modules/perl there is a file called libperl.module
In modules/php there are two likely files, libphp4.module and libmodphp4.a

I tried to use the *.module files, but make dies with
 gcc: modules/perl/libperl.a: file not found
 gcc: modules/php4/libphp4.a: file not found

Any ideas what might cause the problem? Or a pointer to the proper FM?


-- 
#!/usr/bin/perl   http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}



Re: mod_perl PHP installation problem

2003-01-27 Thread domm
Hi!

On Mon, Jan 27, 2003 at 02:03:12PM +0100, [EMAIL PROTECTED] wrote:

 I've got some problems compiling mod_perl together with PHP.

So, after reading some docs, I solved them myself.

For the archives:

 ./configure --prefix=/usr/local/etc/httpd \
  --activate-module=src/modules/perl/libperl.a \
  --activate-module=src/modules/php4/libphp4.a
 
 There is neither libperl.a nor libphp4.a in the corresponding dirs.

Those files are not expected to be there. They are generated during
compilation.

I found this tip in some PHP instalation guide.

(When I initially tried to install PHP  mod_perl, I did some other mistake.
I started investigating, noticed the missing files, and thought that this
is the problem. But I've been on the wrong track...)

I'll send a doc-patch later to the doc-dev list.

-- 
#!/usr/bin/perl   http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}