Re: Bug found?

2005-04-13 Thread Benni Baermann
On Wed, Apr 13, 2005 at 12:44:43PM +0200, Gerald Richter wrote: > Hi! > > > > I use the current Debian-Packages from sid. Maybe this is an > > Debian-Problem, not an Embperl problem: > > > > Apache2 does not start Embperl and crashes. I fixed it by > > inserting "use Apache2;" in line 70 of /us

Bug found?

2005-04-13 Thread Benni Baermann
Hi! I use the current Debian-Packages from sid. Maybe this is an Debian-Problem, not an Embperl problem: Apache2 does not start Embperl and crashes. I fixed it by inserting "use Apache2;" in line 70 of /usr/lib/perl5/Embperl.pm maybe there is a better way, it smells quick & dirty ;-) Benni --

Re: Problem with http-Headers

2005-04-11 Thread Benni Baermann
On Mon, Apr 11, 2005 at 04:14:59PM +0200, Benni Baermann wrote: > Oh. Did this change recently? Before the update it works fine with > plain print. It works a bit better now, but stil not as before the > update: The headers are right now, but it looks like > it is still displying html

Re: Problem with http-Headers

2005-04-11 Thread Benni Baermann
On Mon, Apr 11, 2005 at 06:02:24AM +0200, Gerald Richter wrote: > > The http-Headers are not in front of the file, so the browser > > assumes it is a text-file and display something like this: > > > > It looks like that you are using print inside your Embperl pages. If you use > print, you shoul

Re: Problem with http-Headers

2005-04-08 Thread Benni Baermann
Hi again, some additional information: I got the output below every second try. The output above the headers is from the first try. Thanks again for any hint. Benni On Fri, Apr 08, 2005 at 11:24:21AM +0200, Benni Baermann wrote: > Hi! > > I updated to the newest Debian-Packages fro

Problem with http-Headers

2005-04-08 Thread Benni Baermann
Hi! I updated to the newest Debian-Packages from sid and have now the following Problem. Sorry, i dont know if it is an embperl or apache or modperl-Problem. The http-Headers are not in front of the file, so the browser assumes it is a text-file and display something like this: -

called from embperl? $0 available?

2003-12-02 Thread Benni Baermann
Hi! I noticed, that $0 is set to "-e" in my module if it is called from embperl. Is this the normal behaviour or just random? Is there another - possible better - way to determine in my modul, if the function is called from Embperl or from an ordinary script? Thanks for any help! (and thanks fo

udat and objects

2003-12-02 Thread Benni Baermann
Hi! Is it correct, that it is impossible to store blessed references (Perl objects) in udat? Same for mdat? If yes, is there any workaround? Maybe serializing the object first with Storable or something like this? But if i interpreted the mails in the archive correct this still will not work with

Wiki and/or Forum

2003-11-14 Thread Benni Baermann
Hi! Is there an WikiWiki and/or an discussion-forum programmed with EmbPerl available as free software? Benni -- http://www.aymargeddon.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Trouble with Embperl installing :(

2003-11-13 Thread Benni Baermann
Hi! On Wed, Nov 12, 2003 at 04:47:37PM +0200, Argle Bargle wrote: > I won't bother installing, because had different kinds of trouble in >previous versions even if installed. I installed anyway and have no problems so far. > How do I check, that I have perl >w/o threads and what is wrong with t

Re: sigfault with 2.0b9

2003-11-11 Thread Benni Baermann
On Tue, Nov 11, 2003 at 02:26:24PM +0100, Benni Baermann wrote: > On Tue, Nov 11, 2003 at 01:44:57PM +0100, Gerald Richter wrote: > > P.S. Did you still need to include the Apache include path manualy into > > Makefile.PL? > > After i tryed it again without the additional in

Re: sigfault with 2.0b9

2003-11-11 Thread Benni Baermann
On Tue, Nov 11, 2003 at 01:44:57PM +0100, Gerald Richter wrote: > P.S. Did you still need to include the Apache include path manualy into > Makefile.PL? After i tryed it again without the additional include: Magically: No :-) Whats the reason for this behaviour? Is /usr/include/apr-0 only needed

Re: sigfault with 2.0b9

2003-11-11 Thread Benni Baermann
On Tue, Nov 11, 2003 at 12:48:55PM +0100, Alexander Hartmaier wrote: > > > How did you solve the problem exactly??? I installed the apache2-mpm-prefork instead of apache2-mpm-worker debian package and i corrected my apache configuration to point to the correct modules. mod_perl.so and emb_perl.s

Re: sigfault with 2.0b9

2003-11-11 Thread Benni Baermann
On Mon, Nov 10, 2003 at 07:36:00PM +0100, Benni Baermann wrote: > [Mon Nov 10 14:58:24 2003] [notice] child pid 7675 exit signal > Segmentation fault (11) Problem solved. It was my own fault. An unlucky combination of wrong configurations. We apologize for the inconvenience. Benni --

sigfault with 2.0b9

2003-11-10 Thread Benni Baermann
Hi! After upgrading to Perl 5.8.1 i got [Mon Nov 10 14:58:24 2003] [notice] child pid 7675 exit signal Segmentation fault (11) for every embperl-page i request. Any hints? I use: Embperl 2.0b9 mod_perl-1.99_10 (both self made) and Apache: Server version: Apache/2.0.47 Server built: Jul 15

Re: make failed with 2.0b9

2003-11-10 Thread Benni Baermann
On Mon, Nov 03, 2003 at 09:33:24AM +1100, Angus Lees wrote: > > /usr/include/apache2/ap_config.h:59: apr_hooks.h: No such file or > > directory > > I presume you have the apache2-dev package installed? Yes, but there seems to be a missing -I in Maekfile.PL. See mails before. Benni -- http://www

Re: compile embperl on fedora core 1

2003-11-07 Thread Benni Baermann
On Fri, Nov 07, 2003 at 03:31:29PM +0100, Alexander Hartmaier wrote: > I just looked after the missing .h files: > > They are located in '/usr/include/apr-0' (from the apr-devel rpm). > > Maybe this path needs to be included as well as '/usr/include/httpd'??? For me this works. (See one of the p

Re: make failed with 2.0b9

2003-11-04 Thread Benni Baermann
On Mon, Nov 03, 2003 at 05:07:00PM +0100, Benni Baermann wrote: > Hi! > > I added -I/usr/include/apr-0 manually in Makefile.PL. After this the > missing-files errors did not appear any longer. Instead there are some > new errors(see below). Ok, finally it works for me. But i did

Re: make failed with 2.0b9

2003-11-03 Thread Benni Baermann
Hi! I added -I/usr/include/apr-0 manually in Makefile.PL. After this the missing-files errors did not appear any longer. Instead there are some new errors(see below). The variables seems to be compatibility declarations in /usr/include/apr-0/ Any hints? Whats this apr-0? In the debian-decription

Re: make failed with 2.0b9

2003-11-03 Thread Benni Baermann
On Sat, Nov 01, 2003 at 02:15:28PM +0100, Andre Landwehr wrote: > On Fri, Oct 31, 2003 at 05:48:51PM +0100, Benni Baermann wrote: > > I have two running Embperls. One with Apache 1/ Emperl 1 at Debian and > > one with Apache 2/ Embperl 2 on Redhat. To simplify things i tryd to &

make failed with 2.0b9

2003-10-31 Thread Benni Baermann
Hi! I have two running Embperls. One with Apache 1/ Emperl 1 at Debian and one with Apache 2/ Embperl 2 on Redhat. To simplify things i tryd to make Embperl-2.0b9 at Debian, too. I installed Apache 2 from testing (Apache/2.0.47). But the Embperl make fails with some errors (see below). I searche