[ANNOUNCE] StateMachine::Gestinanna 0.06

2002-10-24 Thread James G Smith
This module can be used for some of the same applications as
CGI::Application.  It can also be used outside the web environment.
It does not handle sessions and other application-dependent
data management.

This is a fairly complete object oriented approach to building state
machines.  Both ISA and HASA relationships are supported.  No
profiling has been done yet.  YMMV.

Significant changes:

Added can(,) method to see if code exists that should be run
  during a transition between two states
Added overrides key for edge transition definitions so a child
  state machine can mask certain variables (override the data
  from the client, for example)
Added Mail Form example based on the similar example in
  CGI::Application so there's some basis for comparison
  (easier to find the right tool for the job)

The uploaded file

StateMachine-Gestinanna-0.06.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/J/JS/JSMITH/StateMachine-Gestinanna-0.06.tar.gz
  size: 13717 bytes
   md5: efd82d1b7638699fdd53b542c4350643

Allow a few hours for it to propagate to the mirrors.

It is also available at the SourceForge project:
   http://sf.net/projects/gestinanna/
--
James Smith <[EMAIL PROTECTED]>, 979-862-3725
Senior Software Applications Developer,
Texas A&M CIS Operating Systems Group, Unix



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




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: 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]




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/160240&mode=nested&tid=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



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: 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.




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: 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
==*/




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 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 1>make.dbg 2>&1   (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
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 2>&1 ).  
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 1>make.dbg 2>&1   (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 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: 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 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: 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: 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 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




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 ..