Enabling debugging in mod_perl

2002-10-24 Thread Anders Lidén

It seems like I have missed something when I try to enable debugging mode in 
mod_perl.

I started with setting the PERL_TRACE variable to 1 and recompiling (and 
setting PerlSetEnv MOD_PERL_TRACE all in httpd.conf) - nothing happens.

So I recompiled with PERL_DEBUG also set to 1 (no other change). Still no 
extra loggin. Where does the logfile go? What is it called? I thought it 
logged the trace to the current error log (wich seems to be wrong).

Please ... alittle help?

perl -MApache::MyConfig -e 'print $Apache::MyConfig::Setup{PERL_TRACE}'
is set to 1.
perl -MApache::MyConfig -e 'print $Apache::MyConfig::Setup{PERL_DEBUG}'
is set to 1.

Regards

  Anders Lidén   Futurize AB
  031 - 709 09 70Ingela Gatenhielmsgata 3
  http://www.futurize.se 421 30 Västra Frölunda

  But some things lost and some things gained, in living every day
// Clannad
 





Mason book is available

2002-10-24 Thread Dave Rolsky
According to various online retailers, the book is now actually shipping.

Check out http://www.masonbook.com/ and
http://www.oreilly.com/catalog/perlhtmlmason/ for more info.  The latter
URL includes the TOC, index, and a sample chapter.


-dave

/*==
www.urth.org
we await the New Sun
==*/





Re: Random broken images when generating dynamic images

2002-10-24 Thread Paolo Campanella
On Wed, 23 Oct 2002 17:55:05 -0500 (CDT)
Dave Rolsky [EMAIL PROTECTED] wrote:

 On a page with 5 different dynamic images (all generated by the same
 chunk of code, it's a set of graphs), I'll often see 1 or 2 as a broken
 image, but the rest work.  Sometimes all 5 are ok.

Unlikely to be your problem, but I had something similar once when
running too few backend mod_perl httpds on a development box.


Bye

Paolo




IO function ...

2002-10-24 Thread Sylbert L
Hi there .. i know this question doesn't really belong to this list .. but
does anyone have any idea if the standard IO functions in glibc 2.2.2-10 are
thread safe? Thanks a lot ...




Re: Enabling debugging in mod_perl

2002-10-24 Thread Geoffrey Young


Anders Lidén wrote:

It seems like I have missed something when I try to enable debugging mode in 
mod_perl.

I started with setting the PERL_TRACE variable to 1 and recompiling (and 
setting PerlSetEnv MOD_PERL_TRACE all in httpd.conf) - nothing happens.

So I recompiled with PERL_DEBUG also set to 1 (no other change). Still no 
extra loggin. Where does the logfile go? What is it called? I thought it 
logged the trace to the current error log (wich seems to be wrong).

Please ... alittle help?

perl -MApache::MyConfig -e 'print $Apache::MyConfig::Setup{PERL_TRACE}'
is set to 1.
perl -MApache::MyConfig -e 'print $Apache::MyConfig::Setup{PERL_DEBUG}'
is set to 1.

although I can't find it documented anywhere right now, I'm pretty 
sure you need to also have a perl compiled with -DDEBUGGING. 
unfortunately, if you don't have a debugging perl already, after you 
create it you'll have to recompile mod_perl as well.

HTH

--Geoff



Re: Random broken images when generating dynamic images

2002-10-24 Thread Ed
On Wed, Oct 23, 2002 at 05:55:05PM -0500, Dave Rolsky wrote:
 So here's the situation.
 
 I have some code that generates images dynamically.  It works, mostly.
 
 Sometimes the image will show up as a broken image in the browser.  If I
 reload the page once or twice, the image comes up fine.
 
 On a page with 5 different dynamic images (all generated by the same chunk
 of code, it's a set of graphs), I'll often see 1 or 2 as a broken image,
 but the rest work.  Sometimes all 5 are ok.
 
 I tried out a scheme of writing them to disk with dynamically generated
 files, but since I still need to do some auth checking, they end up being
 served dynamically and I have the same problem.
 
 To make it even weirder, I just took a look at one of the image files that
 showed up as broken, and it's fine (I can't view it directly in my
 browser).

I've seen the problem before.  My solution was to save the dynamic images
on disk and serve them just like plain 'ol static files from the front-end
server. This way everything is served from the same Keep-Alive request.
And apache does all the http/1.1 headers/chunked-encoding for me.

Your MaxKeepAliveRequests would then be the culprit on your end but not likely
unless its set really low.  I'm not sure how the browser determines the
equivalent limit. tcpdump showed that opera created a second keep-alive
request after 10 images for me (could be limiting on bytes rather than
requests ... don't know).

You can still serve dynamicly and handle the custom auth w/ the backend and
maintain the clients keep-alive.  The current mod_proxy will maintain the
clients keep-alive eventhough your backend has keepalive off.  Be sure
all the required http/1.1 components/headers are sent to maintain a
keep-alive.

I'm interested in what you finally work out.

thanks,
Ed



[mp 2.0] can not compile mp 1.99_07

2002-10-24 Thread Dipl.-Inform. Kai Hofmann
I tried to compile 1.99_07 - but there is a definition of
IoTYPE_WRONLY and IoTYPE_REONLY within the file apr_perlio.c
which can not be resolved unter SuSE Linux 7.2 with Apache 2.0.43
I greped all includes without any success where these things will be 
defined - any hints?
Last time I compiles 1.99_03 successfully.

Greetings

   Kai Hofmann




installing a signal handler in module ..

2002-10-24 Thread Sylbert L
Hi ..

I need to catch a custom signal in my module. How do I do this ? I tried
writing a signal handler ..  put it into my Responsehandler module .. but
it doesn't seem to work. Is this possible ? How do I achieve this ?

Thanks ..




Re: code evaluation in regexp failing intermittantly

2002-10-24 Thread Richard Clarke
 If you're doing it because hacking perl is fun and you're in no rush, then
go ahead and have a good time.


And if so, would you like to swap jobs?

please?

Rich




Re: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread Ged Haywood
Hi there,

On Wed, 23 Oct 2002, DeAngelo Lampkin wrote:

  Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following error 
message at the end of the make process:
  
   Error Output for sanity check 
  cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME 
-woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C -DUSE_HSREGEX 
-DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174 1184 1552 -OPT:Olimit=0 
-DLANGUAGE_C `./apaci` -I. -I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o 
helpers/dummy helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84 
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
  ld32: FATAL 9: I/O error (1110): No such file or directory
  *** Error code 2 (bu21)
  = End of Error Report =
  
  All of the directories listed are present.

Is ld32 present?

73,
Ged.




RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread Wilt, Paul
Ged:

Actually I believe that it is ld32 that is complaining about not finding the
file.

Deangelo:

Can you send the command line you use to try to build this puppy?

You can use the par command (similar to the Linux strace command) to
see which file it has not found.  It produces a lot of output but may
give you some ideas as to where to look.

The following is the command you would execute (if it is the make that
fails):

par -s -SS -o debug.out -a 128 make

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk] 
Sent: Thursday, October 24, 2002 8:33 AM
To: DeAngelo Lampkin
Cc: [EMAIL PROTECTED]
Subject: Re: Problems compiling mod_perl1.27 under IRIX64...


Hi there,

On Wed, 23 Oct 2002, DeAngelo Lampkin wrote:

  Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following
error message at the end of the make process:
  
   Error Output for sanity check 
  cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES
-D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C
-DUSE_HSREGEX -DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174
1184 1552 -OPT:Olimit=0 -DLANGUAGE_C `./apaci` -I.
-I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o helpers/dummy
helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
  ld32: FATAL 9: I/O error (1110): No such file or directory
  *** Error code 2 (bu21)
  = End of Error Report =
  
  All of the directories listed are present.

Is ld32 present?

73,
Ged.



RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread Ged Haywood
Hi there,

On Thu, 24 Oct 2002, DeAngelo Lampkin wrote:

 [snip] the make step ran fine [snip]
 However, the make install step crapped out and I got the following error:
 
 Warning: You do not have permissions to install into 
/usr/local/lib/perl5/site_perl/5.6.1/IP27-irix at /usr/local/lib/perl5/5.
 6.1/IP27-irix/ExtUtils/Install.pm line 85.
 mkdir /usr/local/lib/perl5/site_perl/5.6.1/IP27-irix/auto/Apache: Permission denied 
at /usr/local/lib/perl5/5.6.1/IP27-irix/Ex
 tUtils/Install.pm line 139
 Indeed, I don't have permissions to write there, which lead me to
 believe that this whole thing was a simple permissions error.

Not unless you're building somewhere strange.  Where did you put the
sources?  I usually use something like this:

/home/ged/src/apache_1.3.27

and

/home/ged/src/mod_perl-1.27

then su root only at the final make install step.

 However, when I had the system admin run perl Makefile.PL  as root,

Don't do that.  You should build as an ordinary user.
Have you read through the installation section of the mod_perl Guide?
See the mod_perl home page for a link to the Guide.

73,
Ged.




Re: Random broken images when generating dynamic images

2002-10-24 Thread Dave Rolsky
On Thu, 24 Oct 2002, Paolo Campanella wrote:

  On a page with 5 different dynamic images (all generated by the same
  chunk of code, it's a set of graphs), I'll often see 1 or 2 as a broken
  image, but the rest work.  Sometimes all 5 are ok.

 Unlikely to be your problem, but I had something similar once when
 running too few backend mod_perl httpds on a development box.

I don't think this is it because I've seen this when testing on a system
with plenty of backend httpds (MaxClients at 50 or so).


-dave

/*==
www.urth.org
we await the New Sun
==*/




FW: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread DeAngelo Lampkin
Hmm, think I sent this to the wrong place before.  Here goes again...

 Hi guys,
 
 I've searched mail-list archives and seen this question asked, but I've never found 
the answer.  
 
 Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following error 
message at the end of the make process:
 
  Error Output for sanity check 
 cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME 
-woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C -DUSE_HSREGEX 
-DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174 1184 1552 -OPT:Olimit=0 
-DLANGUAGE_C `./apaci` -I. -I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o 
helpers/dummy helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84 
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
 ld32: FATAL 9: I/O error (1110): No such file or directory
 *** Error code 2 (bu21)
 = End of Error Report =
 
 All of the directories listed are present.
 Anyone familiar with this error and/or know the solution (or possible solution)?  
Please help me maintain my sanity. :)
 
 Thanks!
 
 DeAngelo Lampkin
 Xencor
 626 - 737 - 8083
  
 



RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread DeAngelo Lampkin
Thanks for the help Paul,

I did what you said and the make step ran fine and nothing wierd was put into that 
make.dbg file (using tcsh BTW, so I subbed in  for 21 ).  
However, the make install step crapped out and I got the following error:

Warning: You do not have permissions to install into 
/usr/local/lib/perl5/site_perl/5.6.1/IP27-irix at /usr/local/lib/perl5/5.
6.1/IP27-irix/ExtUtils/Install.pm line 85.
mkdir /usr/local/lib/perl5/site_perl/5.6.1/IP27-irix/auto/Apache: Permission denied at 
/usr/local/lib/perl5/5.6.1/IP27-irix/Ex
tUtils/Install.pm line 139

Indeed, I don't have permissions to write there, which lead me to believe that this 
whole thing was a simple permissions error.  However, when I had the system admin run 
perl Makefile.PL  as root, that command still fails with the same error (ld32: 
FATAL 9: I/O error (1110): No such file or directory), so it's something else.

DeAngelo



-Original Message-
From: Wilt, Paul [mailto:pwilt;xanedu.com]
Sent: Thursday, October 24, 2002 10:28 AM
To: DeAngelo Lampkin; 'Ged Haywood'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


DeAngelo:

Use PREP_HTTPD=1 instead of DO_HTTPD=1 and then do your
make and make install  Please capture the output:

make 1make.dbg 21   (for bash / ksh)

Then if you could put make.dbg somewhere some of us can
get to it we will see what we can do.

If the make and make install are successful with
PREP_HTTPD=1 then you must go your Apache source directory
and configure / compile it there with the following option
included on the configure:
  --activate-module=src/modules/perl/libperl.a

Then make the Apache server.

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: DeAngelo Lampkin [mailto:dlampkin;xencor.com] 
Sent: Thursday, October 24, 2002 1:09 PM
To: Wilt, Paul; Ged Haywood
Cc: [EMAIL PROTECTED]
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


I made an error in my original message.  It is actually the Makefile.PL step
that fails, not the make itself.  The command 
I'm attempting to run is:
  % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

Thanks for the help,
DeAngelo

P.S.  Please, disregard double message.  I had a delay in getting my inbox
updated and so I thought I had not emailed the question to the right place.

-Original Message-
From: Wilt, Paul [mailto:pwilt;xanedu.com]
Sent: Thursday, October 24, 2002 5:48 AM
To: 'Ged Haywood'; DeAngelo Lampkin
Cc: '[EMAIL PROTECTED]'
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


Ged:

Actually I believe that it is ld32 that is complaining about not finding the
file.

Deangelo:

Can you send the command line you use to try to build this puppy?

You can use the par command (similar to the Linux strace command) to
see which file it has not found.  It produces a lot of output but may
give you some ideas as to where to look.

The following is the command you would execute (if it is the make that
fails):

par -s -SS -o debug.out -a 128 make

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk] 
Sent: Thursday, October 24, 2002 8:33 AM
To: DeAngelo Lampkin
Cc: [EMAIL PROTECTED]
Subject: Re: Problems compiling mod_perl1.27 under IRIX64...


Hi there,

On Wed, 23 Oct 2002, DeAngelo Lampkin wrote:

  Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following
error message at the end of the make process:
  
   Error Output for sanity check 
  cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES
-D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C
-DUSE_HSREGEX -DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174
1184 1552 -OPT:Olimit=0 -DLANGUAGE_C `./apaci` -I.
-I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o helpers/dummy
helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
  ld32: FATAL 9: I/O error (1110): No such file or directory
  *** Error code 2 (bu21)
  = End of Error Report =
  
  All of the directories listed are present.

Is ld32 present?

73,
Ged.



RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread DeAngelo Lampkin
I made an error in my original message.  It is actually the Makefile.PL step that 
fails, not the make itself.  The command 
I'm attempting to run is:
  % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

Thanks for the help,
DeAngelo

P.S.  Please, disregard double message.  I had a delay in getting my inbox updated and 
so I thought I had not emailed the question to the right place.

-Original Message-
From: Wilt, Paul [mailto:pwilt;xanedu.com]
Sent: Thursday, October 24, 2002 5:48 AM
To: 'Ged Haywood'; DeAngelo Lampkin
Cc: '[EMAIL PROTECTED]'
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


Ged:

Actually I believe that it is ld32 that is complaining about not finding the
file.

Deangelo:

Can you send the command line you use to try to build this puppy?

You can use the par command (similar to the Linux strace command) to
see which file it has not found.  It produces a lot of output but may
give you some ideas as to where to look.

The following is the command you would execute (if it is the make that
fails):

par -s -SS -o debug.out -a 128 make

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk] 
Sent: Thursday, October 24, 2002 8:33 AM
To: DeAngelo Lampkin
Cc: [EMAIL PROTECTED]
Subject: Re: Problems compiling mod_perl1.27 under IRIX64...


Hi there,

On Wed, 23 Oct 2002, DeAngelo Lampkin wrote:

  Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following
error message at the end of the make process:
  
   Error Output for sanity check 
  cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES
-D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C
-DUSE_HSREGEX -DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174
1184 1552 -OPT:Olimit=0 -DLANGUAGE_C `./apaci` -I.
-I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o helpers/dummy
helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
  ld32: FATAL 9: I/O error (1110): No such file or directory
  *** Error code 2 (bu21)
  = End of Error Report =
  
  All of the directories listed are present.

Is ld32 present?

73,
Ged.



RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread DeAngelo Lampkin
Hi Ged,

All the sources are in places I own and they were all built under my account 
originally.  I built as root in a last ditch effort to resolve the problem, but the 
same error as I orginally posted occured yet again (i.e., ld32: FATAL 9: I/O error 
(1110): No such file or directory ).  Yeah, I was grasping at straws. ;)

And yeah, I 've read the docs.  As I said before, this problem has occured before 
because  I've seen the nearly exact same description in an archive of this mailing 
list. You can check out the original here: 
http://www.mail-archive.com/modperl;apache.org/msg28889.html . However there was never 
a resolution posted( or at least none that I could find.)

Thanks,
DeAngelo

-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk]
Sent: Thursday, October 24, 2002 12:24 PM
To: DeAngelo Lampkin
Cc: mod_perl Mailing List
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


Hi there,

On Thu, 24 Oct 2002, DeAngelo Lampkin wrote:

 [snip] the make step ran fine [snip]
 However, the make install step crapped out and I got the following error:
 
 Warning: You do not have permissions to install into 
/usr/local/lib/perl5/site_perl/5.6.1/IP27-irix at /usr/local/lib/perl5/5.
 6.1/IP27-irix/ExtUtils/Install.pm line 85.
 mkdir /usr/local/lib/perl5/site_perl/5.6.1/IP27-irix/auto/Apache: Permission denied 
at /usr/local/lib/perl5/5.6.1/IP27-irix/Ex
 tUtils/Install.pm line 139
 Indeed, I don't have permissions to write there, which lead me to
 believe that this whole thing was a simple permissions error.

Not unless you're building somewhere strange.  Where did you put the
sources?  I usually use something like this:

/home/ged/src/apache_1.3.27

and

/home/ged/src/mod_perl-1.27

then su root only at the final make install step.

 However, when I had the system admin run perl Makefile.PL  as root,

Don't do that.  You should build as an ordinary user.
Have you read through the installation section of the mod_perl Guide?
See the mod_perl home page for a link to the Guide.

73,
Ged.




RE: Problems compiling mod_perl1.27 under IRIX64...

2002-10-24 Thread Wilt, Paul
DeAngelo:

Use PREP_HTTPD=1 instead of DO_HTTPD=1 and then do your
make and make install  Please capture the output:

make 1make.dbg 21   (for bash / ksh)

Then if you could put make.dbg somewhere some of us can
get to it we will see what we can do.

If the make and make install are successful with
PREP_HTTPD=1 then you must go your Apache source directory
and configure / compile it there with the following option
included on the configure:
  --activate-module=src/modules/perl/libperl.a

Then make the Apache server.

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: DeAngelo Lampkin [mailto:dlampkin;xencor.com] 
Sent: Thursday, October 24, 2002 1:09 PM
To: Wilt, Paul; Ged Haywood
Cc: [EMAIL PROTECTED]
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


I made an error in my original message.  It is actually the Makefile.PL step
that fails, not the make itself.  The command 
I'm attempting to run is:
  % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

Thanks for the help,
DeAngelo

P.S.  Please, disregard double message.  I had a delay in getting my inbox
updated and so I thought I had not emailed the question to the right place.

-Original Message-
From: Wilt, Paul [mailto:pwilt;xanedu.com]
Sent: Thursday, October 24, 2002 5:48 AM
To: 'Ged Haywood'; DeAngelo Lampkin
Cc: '[EMAIL PROTECTED]'
Subject: RE: Problems compiling mod_perl1.27 under IRIX64...


Ged:

Actually I believe that it is ld32 that is complaining about not finding the
file.

Deangelo:

Can you send the command line you use to try to build this puppy?

You can use the par command (similar to the Linux strace command) to
see which file it has not found.  It produces a lot of output but may
give you some ideas as to where to look.

The following is the command you would execute (if it is the make that
fails):

par -s -SS -o debug.out -a 128 make

Thanks
Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
-
http://www.proquest.com  mailto:paul.wilt;il.proquest.com
300 North Zeeb Rd  Phone: (734) 302-6777
Ann Arbor, MI 48106Fax:   (734) 302-6779
-



-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk] 
Sent: Thursday, October 24, 2002 8:33 AM
To: DeAngelo Lampkin
Cc: [EMAIL PROTECTED]
Subject: Re: Problems compiling mod_perl1.27 under IRIX64...


Hi there,

On Wed, 23 Oct 2002, DeAngelo Lampkin wrote:

  Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following
error message at the end of the make process:
  
   Error Output for sanity check 
  cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES
-D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 -DLANGUAGE_C
-DUSE_HSREGEX -DNO_DL_NEEDED -D_BSD_TYPES -D_BSD_TIME -woff 1009 1110 1174
1184 1552 -OPT:Olimit=0 -DLANGUAGE_C `./apaci` -I.
-I/usr/local/lib/perl5/5.6.1/IP27-irix/CORE-o helpers/dummy
helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84
/usr/local/lib/perl5/5.6.1/IP27-irix/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/IP27-irix/CORE -lperl -lm -lc
  ld32: FATAL 9: I/O error (1110): No such file or directory
  *** Error code 2 (bu21)
  = End of Error Report =
  
  All of the directories listed are present.

Is ld32 present?

73,
Ged.



Thoughts on Mason?

2002-10-24 Thread Shannon Appelcline
I see there's a new book coming out from O'Reilly on mason, which seems 
to be perl integrated into web pages and claims to support mod_perl.

http://www.masonbook.com/

Any thoughts on mason from this esteemed community?

Shannon



Re: Thoughts on Mason?

2002-10-24 Thread Randy J. Ray
On 2002.10.24 15:13 Shannon Appelcline wrote:


I see there's a new book coming out from O'Reilly on mason, which seems to 
be perl integrated into web pages and claims to support mod_perl.

http://www.masonbook.com/

Any thoughts on mason from this esteemed community?

See http://use.perl.org/article.pl?sid=02/10/23/160240mode=nestedtid=29

Links, comments, etc.

Randy
--
---
Randy J. Ray | Men occasionally stumble over the truth, but most of them
[EMAIL PROTECTED] | pick themselves up and hurry off as if nothing had happened.
+1 650 930-9097  |   -- Sir Winston Churchill



Re: Thoughts on Mason?

2002-10-24 Thread Per Einar Ellefsen
Hello Shannon,

At 00:13 25.10.2002, Shannon Appelcline wrote:

I see there's a new book coming out from O'Reilly on mason, which seems 
to be perl integrated into web pages and claims to support mod_perl.

http://www.masonbook.com/

Any thoughts on mason from this esteemed community?

Mason is a (powerful) templating/Perl-in-HTML language used by many as a 
templating language or as a general web programming environment (it has 
good modularity it seems). I don't use it, but you may want to check out 
the analysis done by Perrin Harkins at 
http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html


--
Per Einar Ellefsen
[EMAIL PROTECTED]




Trouble with Apache::DB

2002-10-24 Thread Kip Cranford
I have a newly installed Red Hat 8.0 system, with the
following characteristics:

* Perl v5.8.0
* mod_perl 1.27
* Apache 1.3.26

The build of mod_perl/Apache worked fine; the project
I had been working on before upgrading RH seems to run
ok.  However, today I attempted to debug something
using Apache::DB and running with httpd -X.  I
received this error:

[error] No DB::DB routine defined at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm
line 4.

Now, nothing has changed with my project (i.e. the
Apache config is the same, the code is the same, etc),
only the version of Perl on the new system.  I did
some tests using the regular perl debugger, and had no
problems.

Is there some incompatibility here, or is something
else wrong?  Any help would be greatly appreciated.

Thanks,

--kip


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/



Re: Trouble with Apache::DB

2002-10-24 Thread John Siracusa
On 10/24/02 11:18 PM, Kip Cranford wrote:
 I have a newly installed Red Hat 8.0 system, with the
 following characteristics:
 
 * Perl v5.8.0
 * mod_perl 1.27
 * Apache 1.3.26
 
 The build of mod_perl/Apache worked fine; the project
 I had been working on before upgrading RH seems to run
 ok.  However, today I attempted to debug something
 using Apache::DB and running with httpd -X.  I
 received this error:
 
 [error] No DB::DB routine defined at
 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm
 line 4.

I got a similar error a while back when I tried it with the same versions of
Perl, mod_perl, and apache (but on Mac OS X).  I googled a while and all I
could come up with were some posts from internals hackers about perl data
structures getting mysteriously hosed for some unknown reason with this
collection of versions.  I still haven't found a solution...

-John