Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I've read the documentation several times and searched the web, but 
can't find an answer to my problem. I can't get a mod_perl.so. I used 
several different configure combinations from what I had read in the 
documentation. What I am using right now is:
perl Makefile.PL PREP_HTTPD=1 EVERYTHING=1

I then run make. I don't get any errors. I also don't have a 
mod_perl.so anywhere on my system. I tried the make install as one 
forum said that it is created when you do the make install. This wasn't 
the case for me. I still don't have a mod_perl.so. There are no errors 
anywhere.

I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 
2.4.18 (Slackware 8).

I really appreciate any help anybody can give me.

Thanks!

Rich



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


RE: Can't get a mod_perl.so...

2003-09-04 Thread Garrett Goebel
Title: RE: Can't get a mod_perl.so...





Rich Kosiba wrote:
 
 I've read the documentation several times and searched
 the web, but can't find an answer to my problem. I
 can't get a mod_perl.so.


I believe you are looking for libperl.so


--
Garrett Goebel
IS Development Specialist


ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com garrett at scriptpro dot com





Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young

I still don't have a mod_perl.so. There are no errors anywhere.

I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 
2.4.18 (Slackware 8).
you only get a shared object file if you compile mod_perl as a DSO, which is 
not the default with mod_perl 1.28.

to check whether mod_perl is installed, try running

/usr/local/apache/bin/httpd -l

and check for mod_perl.c at the bottom.

if you want mod_perl as a dso use USE_DSO=1

besides the documentation on perl.apache.org you can find additional 
installation instructions at

http://www.modperlcookbook.org/chapters/ch01.pdf

HTH

--Geoff



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
> I've read the documentation several times and searched
> the web, but can't find an answer to my problem. I
> can't get a mod_perl.so.
I believe you are looking for libperl.so

Even so (pun intended)... I don't get a libperl.so anywhere. I was looking for any/all .so files among the source files and have only Leak.so and Symbol.so. I checked the whole system for libperl.so and don't have that either.

Thanks!

Rich


Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I still don't have a mod_perl.so. There are no errors anywhere.
I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 
2.4.18 (Slackware 8).
you only get a shared object file if you compile mod_perl as a DSO, 
which is not the default with mod_perl 1.28.
to check whether mod_perl is installed, try running
/usr/local/apache/bin/httpd -l
and check for mod_perl.c at the bottom.
if you want mod_perl as a dso use USE_DSO=1
besides the documentation on perl.apache.org you can find additional 
installation instructions at
http://www.modperlcookbook.org/chapters/ch01.pdf
Nope. :-( That has probably gotten me closer (it's trying to compile as 
a DSO now) but I'm still not getting the libperl.so file. I see this in 
the output from make (these first two lines are the only references to 
libperl.so in the output from make):

rm -f libperl.so
cc -shared -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo 
perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo 
Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo 
Server.lo File.lo Table.lo -rdynamic  -L/usr/local/lib 
/usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt 
-lutil
=== src/modules/perl
=== src/modules

That looks like it should be building libperl.so. There aren't any 
errors, I just still don't have a libperl.so. I'm now using the 
following line to configure it;

perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ 
APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 
APACI_ARGS='--enable-module=rewrite, --enable-module=info, 
--enable-module=expires, --disable-module=userdir' DO_HTTPD=1

That's taken more or less directly from the modperlcookbook.org chapter 
1 that you gave me above.

This has me totally lost. I've never had something compile with no 
errors, but I don't get a file. If I don't get any errors, that usually 
means the file is there.

Thanks!

Rich



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young

perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ 
APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 
APACI_ARGS='--enable-module=rewrite, --enable-module=info, 
--enable-module=expires, --disable-module=userdir' DO_HTTPD=1
when I use those options, I end up with

/usr/local/apache/libexec/libperl.so

but only after I install the package - it's not in my mod_perl source tree.

--Geoff



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Can't get a mod_perl.so...

2003-09-04 Thread Stas Bekman
Geoffrey Young wrote:

perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ 
APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 
APACI_ARGS='--enable-module=rewrite, --enable-module=info, 
--enable-module=expires, --disable-module=userdir' DO_HTTPD=1


when I use those options, I end up with

/usr/local/apache/libexec/libperl.so

but only after I install the package - it's not in my mod_perl source tree.
It's never in the mod_perl source, it's in the 
apache_1.3.26_modperl/src/modules/perl dir. mod_perl copies its 
src/modules/perl to the apache source dir and compiles it there.

__
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


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
On Thursday, September 4, 2003, at 09:23  PM, Stas Bekman wrote:
perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ 
APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 
APACI_ARGS='--enable-module=rewrite, --enable-module=info, 
--enable-module=expires, --disable-module=userdir' DO_HTTPD=1
when I use those options, I end up with
/usr/local/apache/libexec/libperl.so
but only after I install the package - it's not in my mod_perl source 
tree.
It's never in the mod_perl source, it's in the 
apache_1.3.26_modperl/src/modules/perl dir. mod_perl copies its 
src/modules/perl to the apache source dir and compiles it there.
Not there either, but I did the install and it showed up in 
/usr/local/apache/libexec. (Except that it decided to overwrite my 
apache binary and config files. Fortunately we had backups and put them 
back.)

Now I have a new problem. When I run apache with the LoadModule 
perl_module libexec/libperl.so line, none of my sites are accessible. 
Also, the AddModule mod_perl.c line gives me a warning that mod_perl.c 
is already added. As soon as I comment those two lines and restart 
apache, the sites load again. :-/

Rich



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html