'boot' problems with embperl(cvs)

2004-08-21 Thread Beau E. Cox
Hi - I am running Linux: Linux version 2.6.8.1 (Beau E. Cox: [EMAIL PROTECTED] ) (gcc version 3.3.3) #2 Sun Aug 15 23:50:50 HST 2004 I have two test servers using Embperl: 1. Apcahe 2.0(cvs) mod_perl2(cvs) Embperl(cvs) 2. Apcahe 2.1(cvs) mod_perl2(cvs) Embperl(cvs) The second

Re: Modify $0 in Perl embedded in C

2004-05-26 Thread Beau E. Cox
On Wednesday 26 May 2004 11:41 am, JupiterHost.Net wrote: > Hello group! > > I hope I have the right list (I looked and looked and couldn't > find any specific lists) if not just point me int he right direction > > I've been playing with embedding Perl code into a C program that can > interpret the

Re: Embperl 2.0b11, MP2, Apache 2.0.49 core dumping

2004-05-05 Thread Beau E. Cox
On Wednesday 05 May 2004 02:44 pm, Christopher Nehren wrote: > I finally got Embperl 2.0b11 to build with mod_perl 2 in my Apache > 2.0.49 source tree, using the worker MPM. Okay, that's great. The only > problem is that it segfaults whenever I try to make a request. It > doesn't dump core, and I'm

Re: Segfaults RESOLVED!!! WOW!!! HAPPYCAMPER!!! ;) ;)

2004-04-28 Thread Beau E. Cox
On Wednesday 28 April 2004 06:51 pm, Gerald Richter wrote: > Beau E. Cox wrote: > > Gerald - > > > > Have you received my emails detailing my segfault problem? > > Yes, but I was out of office yesterday the whole and today I will also > visit a customer for most of

Re: Segfaults

2004-04-28 Thread Beau E. Cox
On Wednesday 28 April 2004 06:51 pm, Gerald Richter wrote: > Beau E. Cox wrote: > > Gerald - > > > > Have you received my emails detailing my segfault problem? > > Yes, but I was out of office yesterday the whole and today I will also > visit a customer for most of

Re: Segfaults

2004-04-28 Thread Beau E. Cox
Gerald - Have you received my emails detailing my segfault problem? Aloha => Beau; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Segfaults

2004-04-28 Thread Beau E. Cox
Gerald - More on my production-only segfault... I put the following code into eputil.c (the Embperl routine closest to the segfault): --- /home/install/httpd/2.1-db/src/embperl/embperl/eputil.c 2004-03-07 09:44:14.0 -1000 +++ ../embperl/eputil.c 2004-04-28 05:43:01.118170288 -1000 @

Re: Segfaults

2004-04-27 Thread Beau E. Cox
On Monday 26 April 2004 06:04 pm, Gerald Richter wrote: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 16384 (LWP 5447)] > > 0x40575711 in S_hv_fetch_common (my_perl=0x84bc198, hv=0x88dade8, > > keysv=0x0, > > > key=0x4070dbc6 "EMBPERL_ALLOW", klen=13, flags=0

Re: subroutine question

2004-04-27 Thread Beau E. Cox
On Tuesday 27 April 2004 06:51 am, [EMAIL PROTECTED] wrote: > Hi All, > I have an web app that creates simple graphs. In one of the scripts I need > to sort the data returned from the DB query numerically. I have a sub for > this sort. I converted the script shown below from a regular cron job to >

Re: Segfaults

2004-04-27 Thread Beau E. Cox
On Monday 26 April 2004 06:04 pm, Gerald Richter wrote: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 16384 (LWP 5447)] > > 0x40575711 in S_hv_fetch_common (my_perl=0x84bc198, hv=0x88dade8, > > keysv=0x0, > > > key=0x4070dbc6 "EMBPERL_ALLOW", klen=13, flags=0

Re: Segfaults

2004-04-25 Thread Beau E. Cox
Hi Gerald - My segfaults happen in production even with perl back to 5.8.3. I must be a configuration problem. Here is what I' getting: -8<-- Start Bug Report 8<-- 1. Problem Description: segfaults on embperl pages. Content is transfered to the browser

Re: Segfaults

2004-04-24 Thread Beau E. Cox
On Saturday 24 April 2004 02:00 am, Gerald Richter wrote: > Perrin Harkins wrote: > > On Fri, 2004-04-23 at 18:21, Beau E. Cox wrote: > >> 1) are core dumps automatically generated by seqfaults? If not, > >> how do I have Apache generate them? > > > > Sounds

Segfaults

2004-04-23 Thread Beau E. Cox
Hi I have two 'identical' boxes, one test, one production, running: Linux 2.6.6-rc1 gcc 3.3.3 glibc 2.3.2 perl 5.8.4 (new last night) Apache 2.1 cvs mod_perl 2 cvs libapreq2 cvs Embperl cvs The test server works flawlessly. The production server segfault(11)s at the end (all output is pr

Embperl cvs and latest ExtUtils::XSBuilder (0.25)

2004-04-23 Thread Beau E. Cox
Hi - The XSBuilder part of the make for cvs Embperl fails when the latest ExtUtils::XSBuilder-0.25 is used. Gerald - I didn't have time to investigate further - I simply droped back to 0.23 (which works fine). Please let me know if you need more details. You are maintaining this module, aren't yo

Re: Loop in starting httpd when using Embperl_Options symbolic params

2004-04-23 Thread Beau E. Cox
On Thursday 22 April 2004 11:37 pm, Gerald Richter wrote: > Beau E. Cox wrote: > > On Thursday 22 April 2004 10:50 pm, Gerald Richter wrote: > >> Hi, > >> > >>> I am using cvs Embperl on cvs Apache2.1/cvs mod_perl 2 and > >>> per

Re: Loop in starting httpd when using Embperl_Options symbolic params

2004-04-23 Thread Beau E. Cox
On Thursday 22 April 2004 10:50 pm, Gerald Richter wrote: > Hi, > > > I am using cvs Embperl on cvs Apache2.1/cvs mod_perl 2 and > > perl 5.8.4. > > > > If I put this in my httpd.conf: > > > > Embperl_Options optReturnError > > While I have coded this feature (to use names instead of numb

Loop in starting httpd when using Embperl_Options symbolic params

2004-04-23 Thread Beau E. Cox
Hi - I am using cvs Embperl on cvs Apache2.1/cvs mod_perl 2 and perl 5.8.4. If I put this in my httpd.conf: Embperl_Options optReturnError httpd 'loops' (top shows 99+ percent cpu for httpd). But this works: Embperl_Options 262144 Aloha => Beau;

Re: I don't understand 'Execute' loading

2004-04-22 Thread Beau E. Cox
On Wednesday 21 April 2004 06:33 pm, Gerald Richter wrote: > > OK. I thought I was using Embperl::Object, but now I'm trying > > Embperl_Path. > > Yes, you do, so you have to use Embperl_Object_Addpath, because > EMbperl::Object already sets it#s own search path, which is from the > requested docum

Documentation

2004-04-21 Thread Beau E. Cox
Hi - Please understand, I'm not trying to be rude. I understand that most of us open-source folks have other 'real' jobs and time for our real calling (open-source playing) is sometimes extremely limited. But I wish the Embperl docs were better, at least in a cosmetic sense. For example, at least

Re: I don't understand 'Execute' loading

2004-04-21 Thread Beau E. Cox
On Saturday 17 April 2004 04:53 pm, Angus Lees wrote: > At Thu, 15 Apr 2004 20:53:52 -1000, Beau E. Cox wrote: > > In lower-level directories, I want to use the same object. Thinking > > the "../" was 'magic' to Execute (it would search up from the > > cur

Re: Configuration Setup

2004-04-21 Thread Beau E. Cox
On Wednesday 21 April 2004 05:15 am, Derrick Spell wrote: > Now I'm having problems with my configuration setup. I put: > > PerlModule Embperl immediately after I loaded mod_perl. However, by > the time the config file gets down to my VirtualHost, it fails because > it doesn't recognize the direc

I don't understand 'Execute' loading

2004-04-15 Thread Beau E. Cox
Hi - I don't understand how Execute works. I've been through the docs and checked out eg/x/Execute.pl, but still it's not clicking. I have a perl object in my document root -> 'document.pl'. It contains methods (including init) for my site logic: #/usr/bin/perl use strict; use warnings; use Da

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-08 Thread Beau E. Cox
On Wednesday 07 April 2004 12:14 pm, Stas Bekman wrote: > I guess Apache::Test cannot parse httpd.conf continuation syntax. > >>> > >>> Probably. Patches to fix that are welcome, Beau. > >> > >> But if I fix that, I negate my current work-around ;) > > > > That's hi

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Tuesday 06 April 2004 09:27 pm, Stas Bekman wrote: > Beau E. Cox wrote: > >>So it's not linking against libperl.so, which probably means that it > >>relies on mod_perl to load it. But I'm not sure whether your swapping > >>test was right. The thing is:

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Wednesday 07 April 2004 04:02 am, Gerald Richter wrote: > > So it's not linking against libperl.so, which probably means that it > > relies on mod_perl to load it. > > Yes, because loading Embperl into Apache without loading mod_perl first > doesn't make any sense because Embperl relies on mod_p

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-07 Thread Beau E. Cox
On Tuesday 06 April 2004 08:20 pm, Stas Bekman wrote: > Beau E. Cox wrote: > > On Tuesday 06 April 2004 05:36 pm, Stas Bekman wrote: > >>Beau E. Cox wrote: > >>>On Tuesday 06 April 2004 06:27 am, Stas Bekman wrote: > >>>>Beau E. Cox wrote: >

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-06 Thread Beau E. Cox
On Tuesday 06 April 2004 08:14 pm, Gerald Richter wrote: > /home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-multi >/ auto/Embperl/Embperl.so > > > libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4008f000) libz.so.1 => > > /usr/lib/libz.so.1 (0x40182000) libpthread.so.0 => > > /lib/lib

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-06 Thread Beau E. Cox
On Tuesday 06 April 2004 05:36 pm, Stas Bekman wrote: > Beau E. Cox wrote: > > On Tuesday 06 April 2004 06:27 am, Stas Bekman wrote: > >>Beau E. Cox wrote: > >>>-8<-- Start Bug Report 8<-- > >>>1. Problem D

Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-06 Thread Beau E. Cox
On Tuesday 06 April 2004 06:27 am, Stas Bekman wrote: > Beau E. Cox wrote: > > -8<-- Start Bug Report 8<-- > > 1. Problem Description: > > > > When I do a modperl 'make test' and have Embperl enabled, the &

[MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch

2004-04-05 Thread Beau E. Cox
-8<-- Start Bug Report 8<-- 1. Problem Description: When I do a modperl 'make test' and have Embperl enabled, the test does not start: console log: ... waiting 120 seconds for server to start: .Syntax error on line 48 of /home/test/httpd/2.1/src/modperl2/m

[PATCH] for Apache2.1

2004-04-01 Thread Beau E. Cox
Hello Gerald and all - I have been testing with Apache2.1/mod_perl 2 and found that the following two patches are necessary for Embperl to run under Apache2.1. Both patches have been sucessfully tested under Apache2.0 and Apache2.1. 1) epapfilter.c - 'APR_BRIGADE_FOREACH' has been depreciated an

Re: Embperl under Apache2/mod_perl 2 with "worker' MPM

2004-03-30 Thread Beau E. Cox
On Tuesday 30 March 2004 06:24 pm, Gerald Richter wrote: > Hi, > > > Embperl 2.11b(cvs)/Apache2/mod_perl 2 using the 'worker' MPM does not > > work for me. I assume it is a thread safe issue. It works fine > > under the 'prefork' MPM. > > > > Are there any plans to make Embperl fully thread-safe so

Embperl under Apache2/mod_perl 2 with "worker' MPM

2004-03-30 Thread Beau E. Cox
Hi - Embperl 2.11b(cvs)/Apache2/mod_perl 2 using the 'worker' MPM does not work for me. I assume it is a thread safe issue. It works fine under the 'prefork' MPM. Are there any plans to make Embperl fully thread-safe so that Apache2's 'worker' MPM can be used under Embperl? If so, when is it plan

Re: EMBPerl 2.0 vs. EMBPerl 1.3

2004-03-30 Thread Beau E. Cox
On Tuesday 30 March 2004 12:39 pm, Neal Gamradt wrote: > Hello All, > > I am looking into developing a new PostgreSQL database driven website. > Historically speaking I have used Apache 1.3 with mod_perl and EMBPerl 1.3. > I like to use FreeBSD as my OS of choice on web servers. EMBPerl 1.3 has >

Re: emacs and embperl

2004-03-28 Thread Beau E. Cox
On Wednesday 24 March 2004 05:36 pm, Angus Lees wrote: > At Tue, 23 Mar 2004 21:56:31 -1000, Beau E. Cox wrote: > > I am up and running with Embperl, but want to set my emacs > > (gnu-emacs 21.3) for proper editing. > > > > I downloaded and installed the 'mmm

Re: Newbie trying Apache 2 / mod_perl 2 / Embperl

2004-03-25 Thread Beau E. Cox
On Thursday 25 March 2004 04:00 am, Gerald Richter wrote: > Hi, > > > I have been unsuccessful in getting Embperl working in my > > environment (see the bottom of this message). I can't seem to find > > a mod_perl 2 'sample' configuration file on the Embperl site > > or in the distribution ( soulds

emacs and embperl

2004-03-23 Thread Beau E. Cox
Hi - I am up and running with Embperl, but want to set my emacs (gnu-emacs 21.3) for proper editing. I downloaded and installed the 'mmm' package (0.4.7) as per the directions on the Embperl site. Added the lisp in http://www.aarg.net/erik/mmm-embperl.el to my ~/.emacs file and now have several p

Newbie trying Apache 2 / mod_perl 2 / Embperl

2004-03-23 Thread Beau E. Cox
m DocumentRoot "/home/test/httpd/htdocs/bctest_with_embperl" SetHandler perl-script PerlResponseHandler Embperl::Object Options ExecCGI And my startup script is: ########### # mod_perl startup scr