Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-15 Thread Rolf Ohnmacht


- Original Message -
From: Gerald Richter <[EMAIL PROTECTED]>
To: Rolf Ohnmacht <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 1999 12:43 PM
Subject: Re: EmbPerl use HTML::Embperl failed ( just Win95 )


> >
> > Same old message:
> >
> > Can't load
> > 'C:/perl561/site/5.00561/lib/MSWin32-x86/auto/HTML/Embperl/Embperl.dll'
> for
> > module HTML::Embperl: load_file:Eine DLL-Initialisierungsroutine ist
> > fehlgeschlagen at C:/perl561/5.00561/lib/MSWin32-x86/DynaLoader.pm line
> 72.
> >  at embp.pl line 1
> > BEGIN failed--compilation aborted at embp.pl line 1.
> >
> > I have no idea what could be wrong else! So I inspected Dynaloader.pm at
> > line 72 but no chance ...
> >
>
> Are you sure you are having the correct ApacheCore.dll in your PATH on
> Win95?
>
> Gerald

Yes, I'm sure! I copied the whole Apache ( and Perl ) tree from NT to Win95
and
verified that there is no other ApacheCore.dll left on the file system that
could be
erranously taken. Apache and Perl are now exactly identical on both systems.
Could it be that there are other libraries in the path killing the chain?
In other words: what's the minimal allocation of libs I have to use after
booting to make
sure that it lies not on my Win95 configuration? If I can exclude side
effects by others
there could be a light on horizon ...

Rolf



Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-15 Thread Gerald Richter

> I copied both Apache and Perl from NT to Win95 after I recompiled mod_perl
> with
> the PERL_STARTUP_DONE_CHECK flag and it worked! PerlModule/PerlRequire
> and use let Apache start - fine ! It works on NT and Win95.
>
> I was so happy about it that I thought the other problem is solved too -
but
> it was not!
> On NT batch EmbPerl is running - but not on Win95!
>
> Same old message:
>
> Can't load
> 'C:/perl561/site/5.00561/lib/MSWin32-x86/auto/HTML/Embperl/Embperl.dll'
for
> module HTML::Embperl: load_file:Eine DLL-Initialisierungsroutine ist
> fehlgeschlagen at C:/perl561/5.00561/lib/MSWin32-x86/DynaLoader.pm line
72.
>  at embp.pl line 1
> BEGIN failed--compilation aborted at embp.pl line 1.
>
> I have no idea what could be wrong else! So I inspected Dynaloader.pm at
> line 72 but no chance ...
>

Are you sure you are having the correct ApacheCore.dll in your PATH on
Win95?

Gerald



Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-14 Thread Rolf Ohnmacht


- Original Message -
From: Gerald Richter <[EMAIL PROTECTED]>
To: Rolf Ohnmacht <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 14, 1999 5:20 AM
Subject: RE: EmbPerl use HTML::Embperl failed ( just Win95 )


> > Is it possible to copy the whole "Apache"-tree generated on NT onto my
> > Win95-
> > machine expecting to work ( Apache+Perl path names are identical ) ?
> >
> Yes, that's what I do all the time. Compile on NT run on NT/95/98. You
could
> even change the drive letter (but you must install in the same path)
>
> Gerald

I copied both Apache and Perl from NT to Win95 after I recompiled mod_perl
with
the PERL_STARTUP_DONE_CHECK flag and it worked! PerlModule/PerlRequire
and use let Apache start - fine ! It works on NT and Win95.

I was so happy about it that I thought the other problem is solved too - but
it was not!
On NT batch EmbPerl is running - but not on Win95!

Same old message:

Can't load
'C:/perl561/site/5.00561/lib/MSWin32-x86/auto/HTML/Embperl/Embperl.dll' for
module HTML::Embperl: load_file:Eine DLL-Initialisierungsroutine ist
fehlgeschlagen at C:/perl561/5.00561/lib/MSWin32-x86/DynaLoader.pm line 72.
 at embp.pl line 1
BEGIN failed--compilation aborted at embp.pl line 1.

I have no idea what could be wrong else! So I inspected Dynaloader.pm at
line 72 but no chance ...

Best Regards , Rolf




RE: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-13 Thread Gerald Richter

> Same procedure on Win95 did not success (but
> this
> is not really relevant ...) - I was warned not to compile
> Perl+Apache+... on
> Win95!
>

You need another shell to compile on Win95 (I think 4Dos shell works, but I
never tried)

> Is it possible to copy the whole "Apache"-tree generated on NT onto my
> Win95-
> machine expecting to work ( Apache+Perl path names are identical ) ?
>
>
Yes, that's what I do all the time. Compile on NT run on NT/95/98. You could
even change the drive letter (but you must install in the same path)

Gerald


-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:   Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925151
WWW:http://www.ecos.de  Fax:  +49 6133 925152
-



Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-13 Thread Rolf Ohnmacht


- Original Message -
From: Gerald Richter <[EMAIL PROTECTED]>
To: Rolf Ohnmacht <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 13, 1999 5:41 AM
Subject: RE: EmbPerl use HTML::Embperl failed


> >
> > "nmake test" did (and does) not work correct !!!
>
> First nmake test must run correct, then I guess we have the reason, why
> offline mode doesn't work
>
> Embperl is linked against the
> c:\apache\apache_1.3.9\src\CoreR\ApacheCore.dll and I guess the
> ApacheCore.dll in c:\apache and c:\apache\apache_1.3.9\src\CoreR are not
the
> same. Is this possible? As you see from the path nmake test adds the
> location where it "thinks" ApacheCore.dll could be found to the end of the
> path, but because c:\apche is in your path, this one will be found first.
>
Right !!! The ApacheCore.dll in c:\apache was different ( I don't know why -
possibly from the previous installed binary distribution). I deleted
c:\Apache from
path and it worked - on NT. Same procedure on Win95 did not success (but
this
is not really relevant ...) - I was warned not to compile Perl+Apache+... on
Win95!

Is it possible to copy the whole "Apache"-tree generated on NT onto my
Win95-
machine expecting to work ( Apache+Perl path names are identical ) ?