RES: RES: Windows mod_perl build

2002-05-12 Thread Vitor


Ok !

Thanks!

Vitor

-Mensagem original-
De: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]]
Enviada em: sabado, 11 de maio de 2002 19:17
Para: Vitor
Cc: Mod-perl list
Assunto: Re: RES: Windows mod_perl build



Please Cc the list when replying.

At 23:52 11.05.2002, Vitor wrote:
Excellent resource.

Just one more question : I want to have mod_perl running in my application
as a thread. All requests to mod_perl will occur inside the application
through piped I/O. Do you know a resource where i can find more information
about this ?

Hmm, that's pretty much above my head :) But I think it seems a little
complicated... Maybe you should just be starting up Apache on a
non-standard port and use standard sockets to communicate with
Apache/mod_perl? That's all I can say.

Best regards,

Vitor

-Mensagem original-
De: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]]
Enviada em: sabado, 11 de maio de 2002 17:18
Para: Vitor
Cc: [EMAIL PROTECTED]
Assunto: Re: Windows mod_perl build


At 22:21 11.05.2002, Vitor wrote:
 Hello,
 
 I am searching for windows mod_perl compilations resources.
 
 Any suggestions ?

Randy Kobes has kindly written instructions for you to compile mod_perl on
Windows and other Win32-related issues.
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/win32/index.h
t
ml

--
Per Einar Ellefsen
[EMAIL PROTECTED]





Windows mod_perl build

2002-05-11 Thread Vitor



Hello,

I am searching for 
windows mod_perl compilations resources.

Any suggestions 
?

Thanks.

Vitor


Re: Windows mod_perl build

2002-05-11 Thread Per Einar Ellefsen

At 22:21 11.05.2002, Vitor wrote:
Hello,

I am searching for windows mod_perl compilations resources.

Any suggestions ?

Randy Kobes has kindly written instructions for you to compile mod_perl on 
Windows and other Win32-related issues.
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/win32/index.html



-- 
Per Einar Ellefsen
[EMAIL PROTECTED]





Re: RES: Windows mod_perl build

2002-05-11 Thread Per Einar Ellefsen


Please Cc the list when replying.

At 23:52 11.05.2002, Vitor wrote:
Excellent resource.

Just one more question : I want to have mod_perl running in my application
as a thread. All requests to mod_perl will occur inside the application
through piped I/O. Do you know a resource where i can find more information
about this ?

Hmm, that's pretty much above my head :) But I think it seems a little 
complicated... Maybe you should just be starting up Apache on a 
non-standard port and use standard sockets to communicate with 
Apache/mod_perl? That's all I can say.

Best regards,

Vitor

-Mensagem original-
De: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]]
Enviada em: sabado, 11 de maio de 2002 17:18
Para: Vitor
Cc: [EMAIL PROTECTED]
Assunto: Re: Windows mod_perl build


At 22:21 11.05.2002, Vitor wrote:
 Hello,
 
 I am searching for windows mod_perl compilations resources.
 
 Any suggestions ?

Randy Kobes has kindly written instructions for you to compile mod_perl on
Windows and other Win32-related issues.
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/win32/index.ht
ml

-- 
Per Einar Ellefsen
[EMAIL PROTECTED]





Re: Mac OSX 10.1 - mod_perl build instructions

2001-11-10 Thread Rick Myers

On Nov 08, 2001 at 11:31:39 -0800, Randal L. Schwartz wrote:
 
  sudo perl Makefile.PL \ 
  APACHE_SRC=/opt/apache/1.3.22/src/apache_1.3.22/src \
  NO_HTTPD=1 \ 
  USE_APACI=1 \ 
  PREP_HTTPD=1 \ 
  EVERYTHING=1 
  # hit return a bunch of times

That hit return a bunch of times has always bugged me.
It seems to me that the combination of NO_HTTPD=1,
PREP_HTTPD=1, and APACHE_SRC=??? has already answered the
three questions that it's going to ask.

Here's a little patch I wrote up for 1.25 to eliminate the
questions. It still applies to the current 1.xx cvs versions
with a bit of skew.

--- Makefile.PL.origFri Mar  9 15:14:14 2001
+++ Makefile.PL Fri Mar  9 15:17:08 2001
@@ -493,6 +493,9 @@
 }
 
 }
+elsif ($NO_HTTPD  !$PREP_HTTPD  !$DO_HTTPD  $APACHE_SRC) {
+  push(@adirs,$APACHE_SRC);
+}
 
if($PERL_EXTRA_CFLAGS) {
$PERL_EXTRA_CFLAGS = join( , split(,,  $PERL_EXTRA_CFLAGS));
@@ -525,7 +528,7 @@
 
 if (-e $httpd_h) {
unless($NO_HTTPD and not $DYNAMIC and not $PREP_HTTPD) {
-   unless($DO_HTTPD) {
+   unless($DO_HTTPD || $PREP_HTTPD  $NO_HTTPD) {
$ans = prompt(Configure mod_perl with $adir ?, y);
next unless $ans =~ /^y$/i;
}

Rick Myers[EMAIL PROTECTED]

The Feynman Problem   1) Write down the problem.
Solving Algorithm 2) Think real hard.
  3) Write down the answer.



Mac OSX 10.1 - mod_perl build instructions

2001-11-08 Thread Randal L. Schwartz


Apparently, mod_perl wants to be built static into Apache on OSX, and
yet wants to use mod_so to load any additional thingies like
Apache::Request or Apache::Template.  So after many hours of trying
different combinations of things, I finally yelled out Yippee Skippee
(a phrase my dad firmly installed in my brain) when I stumbled
across this combination of things:

So, here's the current, verynicelyworking config.status for
Apache, and the build instructions for mod_perl with Apache:

1) unpack mod_perl from the CPAN, and execute

 sudo perl Makefile.PL \ 
 APACHE_SRC=/opt/apache/1.3.22/src/apache_1.3.22/src \
 NO_HTTPD=1 \ 
 USE_APACI=1 \ 
 PREP_HTTPD=1 \ 
 EVERYTHING=1 
 # hit return a bunch of times
 sudo make all install

2) then go to your apache installation, and execute

 sudo ./configure \ 
  --with-layout=GNU \ 
  --prefix=/opt/apache/1.3.22 \ 
  --activate-module=src/modules/perl/libperl.a \ 
  --enable-module=most \ 
  --enable-shared=max \ 
  --disable-shared=perl
 sudo make all install

fixing prefix to be wherever you want.  I'm sticking all local
installs under /opt/PACKAGE/VERSION/* so I can quickly see what I've
added.  I usually ln -s /opt/PACKAGE/VERSION/bin/* to /usr/local/bin
so that I can invoke the commands, though.

And there it is... so nobody else has to tweak the same way I did.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



mod_perl build

2001-08-30 Thread Rasoul Hajikhani

Hello,
I am wondering whether there is a way of knowing how mod_perl was built?
I have inhereted a box with mod_perl configured.
Thanks
-r



Re: mod_perl build

2001-08-30 Thread Stas Bekman

On Thu, 30 Aug 2001, Rasoul Hajikhani wrote:

 Hello,
 I am wondering whether there is a way of knowing how mod_perl was built?
 I have inhereted a box with mod_perl configured.

http://perl.apache.org/guide/install.html#Discovering_Whether_Some_Option_
assuming that you have a pretty recent mod_perl you will get more
satisfying results.

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://localhost/  http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





apache + mod_perl - build error unrecognized formatspecifier for A fix?

1999-11-25 Thread Scott Fagg

I'm using apache 1.3.9 , mod_fastcgi 2.2.2 and mod_perl 1.21

Originally my build of these three together worked, however when i went to rebuild a 
few months later i recieved a lot of
"unrecognized format specifier" errors. A search of the internet showed that i wasn't 
the only one but i couldn't find a solution mentioned.

Puzzled i tried to track down the problem. Using clean source i could build 
apache/mod_perl/mod_fastcgi on my RedHat 5.2 workstation but never on my RedHat 5.2 
server.

The only tinkering i'd done with the server was to use SFIO to rebuild perl and get 
mod_fastcgi working the first time i used fastcgi.

By removing the SFIO .h files, the apache/mod_perl compile would get further and the 
'unrecognized format specifier' errors disappeared, but naturally other pieces of code 
refused to compile complaining about the missing sfio files.

A quick check of the mod_fast site noted that it no longer needed SFIO, so i removed 
it and replaced my rebuilt sfio-perl binaries with clean ones (from a redhat RPM) and 
was able to rebuild apache with mod_perl + mod_fastcgi ( + php) All of my mod_perl 
stuff works and so too does my fastcgi.

Hope that helps some one. I wasn't able to find any answers to the problem while 
searching the net.

regards,