Re: Embperl CGI and IIS howto

2002-03-19 Thread Gerald Richter
Randy, > > Sure ... I just put up a HTML-Embperl-no_mod_perl.ppd package if you build the package in the way I decribed, there is no need for an extra "no_mod_perl" package. By running the build process twice, you get two dll's, if you put both in the package, Embperl can determinate at runtime

Re: Embperl CGI and IIS howto

2002-03-19 Thread Randy Kobes
On Wed, 20 Mar 2002, Gerald Richter wrote: > > Randy Kobes - is there any chance of getting a ppm done of 1.3.4 > > *without* Apache support. Most people won't have compilers at home > > and this might be the simplest solution if they're forced to run > > embperl under IIS. > > > > The Ma

Re: Embperl CGI and IIS howto

2002-03-19 Thread Gerald Richter
Hi, > > Just finished a first draft of how to get embperl running as a CGI > under IIS. Comments/corrections very welcome - see the attached text > file. > Great! > 1. I could NOT manage to get Embperl running straight through the > cgi directly. i.e. like so: > http://localhost/

Re: Can't call method "cleanup" on undefined value in Embperl.pm line 1853

2002-03-19 Thread Gerald Richter
> > [Tue Mar 19 08:47:47 2002] [error] Can't call method "cleanup" on an > undefined value at /usr/lib/perl5/site_perl/5.6.0/i386-linux/HTML/Embperl.pm > line 1853. > You are still using %sdat somewhere? It fails in the session cleanup and I guess you have "corrupted" %sdat, so it can't be cleane

Re: Errors enabling Embperl 2.0b6

2002-03-19 Thread Gerald Richter
> >Never seen this errror message, but the stack backtraces looks like there > >are more name clashes, so I expect it to work when you only load one of > >them. > > OSX has an option for building shared libraries using multiple name > spaces. I haven't explored it. It's the default, and typicall

Embperl CGI and IIS howto

2002-03-19 Thread Andrew O'Brien
Hi all, Just finished a first draft of how to get embperl running as a CGI under IIS. Comments/corrections very welcome - see the attached text file. Randy Kobes - is there any chance of getting a ppm done of 1.3.4 *without* Apache support. Most people won't have compilers at home an

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Tue, Mar 19, 2002 at 07:16:56PM +0100, Gerald Richter wrote: > > [Tue Mar 19 16:28:35 2002] [error] [14366]ERR: 24: Error in Perl code: > Can't upgrade that kind of scalar at /var/www/92/base.epl line 58. > > [14366]ERR: 67: There is still -1 reference(s) to the request.param > object, whil

please ignore "embperl.log overflowing swap space"

2002-03-19 Thread eric white
Sorry for flooding the mailing list. I found the solution in the mailing archives. Thanks, Eric --- Eric Scott White CAD - Custom Software Solutions Analog Devices, Inc. 7910 Triad Center Drive Greensboro, NC 27409 TEL: (336) 662-4415 FAX: (336) 605-4187

embperl.log overflowing swap space

2002-03-19 Thread eric white
Hello All, Something in Embperl is eating up almost all of my swap space. I have 2GB allocated, mounted to /tmp. Every so often, there is an embperl.log file written into /tmp that is huge. The one written this morning was 1.4GB. Swap space is constantly at 75% utilization. Any suggestion

Can't call method "cleanup" on undefined value in Embperl.pm line 1853

2002-03-19 Thread Scott Chapman
I get this intermittently on my box under Embperl Object. Any ideas why? It causes users to see a Error 500 screen which isn't too pretty! Reloading the page fixes the problem. (Sometimes have to reload it twice). Typically happens after I change the page and save it and then access it for

Re: Errors enabling Embperl 2.0b6

2002-03-19 Thread Kee Hinckley
At 8:08 PM +0100 3/19/02, Gerald Richter wrote: >Never seen this errror message, but the stack backtraces looks like there >are more name clashes, so I expect it to work when you only load one of >them. OSX has an option for building shared libraries using multiple name spaces. I haven't explor

Re: Errors enabling Embperl 2.0b6

2002-03-19 Thread Gerald Richter
> At 7:06 PM +0100 3/19/02, Gerald Richter wrote: > > > Now when I access an HTML::Embperl driven site, I get: > >> > >> dyld: /usr/local/apache/bin/httpd multiple definitions of symbol > >> _EMBPERL_mgGetEscMode > > > >Use the appended epmacro.h file and rebuild Embperl (make clean before). >

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Gerald Richter
> [Tue Mar 19 16:28:35 2002] [error] [14366]ERR: 24: Error in Perl code: Can't upgrade that kind of scalar at /var/www/92/base.epl line 58. > [14366]ERR: 67: There is still -1 reference(s) to the request.param object, while there shouldn't be any. Looks like you keep a reference to the EMbper

Re: Errors enabling Embperl 2.0b6

2002-03-19 Thread Gerald Richter
> Now when I access an HTML::Embperl driven site, I get: > > dyld: /usr/local/apache/bin/httpd multiple definitions of symbol > _EMBPERL_mgGetEscMode Use the appended epmacro.h file and rebuild Embperl (make clean before). This will solve the name clash Gerald --

Re: file upload

2002-03-19 Thread Gerald Richter
> > I have 1.3.4 installed now, but it still appears that $fdat{UploadFile} is > not accessible to the "read" function inside my code called by "Execute". > However, if I set $UploadFile=$fdat{UploadFile}, then I can "read" $UploadFile. > Then my guess that upgrading to 1.3.4 helps was wrong, but

Re: Storable not working under Embperl?

2002-03-19 Thread Scott Chapman
Problem solved! Thanks! I hope you get that documented soon. Scott On 19 Mar 2002 at 6:01, Gerald Richter wrote: > > > > [14143]ERR: 24: Error in Perl code: Can't store CODE items at > > blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_store.al) > line 199, at > > /www/htdocs/revi

Errors enabling Embperl 2.0b6

2002-03-19 Thread Kee Hinckley
I have a clean running system with HTML::Embperl. I've installed Embperl 2.0b6. So far so good. Then I add: PerlModule Embperl to my config file, but change nothing else. Now when I access an HTML::Embperl driven site, I get: dyld: /usr/local/apache/bin/httpd multiple definitions of symbo

Problem with configuration

2002-03-19 Thread Jochen Topf
When using virtual hosts the configuration without PerlSetEnv doesn't work properly: If I do this for several virtual hosts, everything is ok: - DocumentRoot XXX ... PerlSetEnv EMBPERL_OBJECT_BASE base.epl PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no ... - If I leave out

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Tue, Mar 19, 2002 at 01:57:21PM +0100, Gerald Richter wrote: > > Attempt to free unreferenced scalar at /var/www/92/base.epl line 22. > > > > This shouldn't happen :-( > > > > This line contains this: > > my $obj = Execute( { 'object' => "$ENV{DOCUMENT_ROOT}/$file", 'import' => > 0}); > > >

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Gerald Richter
> > What happens is this: I restart apache. Some pages work, some result in > segfault. After clicking around for a while the pages that resulted in > segfaults suddenly work. This might or might not be related to the following > message in the error log: > > Attempt to free unreferenced scalar at

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Mon, Mar 18, 2002 at 03:17:28PM +0100, Gerald Richter wrote: > > but there are still several references to HTML::Embperl in 2.0b6 and now I > > get some error messages like "Can't locate HTML/Embperl.pm in @INC..." > > > > Where do you have references to HTML::Embperl? I don't find any... > >

Re: Bug?

2002-03-19 Thread Gerald Richter
Hi! >I've read your posts several times on the embperl mailinglist so I thought >I would share this with you first. This might be an old bug or maybe not a >bug at all. In such cases the embperl mailing list is the right place to post to... >Let's say that you have an input/text box on your web

Re: IIS setup question (URGENT)

2002-03-19 Thread Gerald Richter
> > The problem was that I had associated .epl files with > "c:\inetpub\scripts\embpcgi.pl". > > It should have been: > "c:\perl\bin\perl.exe c:\inetpub\scripts\embpcgi.pl %s %s" (don't know > whether either or both %s are needed, will experiment). > At least the first %s is needed, I am not sure

Re: IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
On Tue, Mar 19, 2002 at 08:14:36PM +1100, Andrew O'Brien wrote: > Help! :) Isn't that always the way? Got it working 5 minutes after I sent this email. The problem was that I had associated .epl files with "c:\inetpub\scripts\embpcgi.pl". It should have been: "c:\perl\bin\perl.exe c:\inetpub\s

IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
Help! :) Hi all. I have much experience with running embperl on linux/apache but I currently need to set it up under CGI on IIS (win 2000, IIS 5) by tomorrow! I have: 1. compiled HTML::Embperl 1.3.4 myself without mod_perl support. All the tests pass fine. 2. have associated .pl files with t