Re: (beginner) Win32 installation / "Writing Apache Modules in Perl & C"

2001-02-19 Thread Randy Kobes


- Original Message -
From: "David Kaufman" <[EMAIL PROTECTED]>
To: "Randy Kobes" <[EMAIL PROTECTED]>; "Garry Heaton"
<[EMAIL PROTECTED]>
Cc: "mod_Perl" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 1:49 PM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in Perl
& C"


> "Randy Kobes" <[EMAIL PROTECTED]> wrote:
>
> > http://perl.apache.org/distributions.html contains links to how to
> > install mod_perl via ActivePerl's ppm (Perl Package Manager), as
> > well as some other Apache::* modules. For starting out on Win32 this
route
> > is probably the easiest, as everything you need to get started
> > comes with the ppm distribution.
>
> hmmm.  Randy, I'm running your *other* mod_perl binary distribution
(linked
> on the same page)
> ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.6.exe because after
> reading the readmes, it seemed the easiest to get up and runnig with:
>
>   no setup/install program routine
>   just unzip into the directories specified in the readme,
>   edit autoexec.bat for path and variables, as specified
>   edit conf files to taste, and
>   voila!  perl 5.6, apache and ssl!
>
> what could be easier?

Hi,
 Thanks :)
>
> also, besides replacing (and not playing nice with) ActiveState perl, are
> there any other particular advantages or drawbacks between this
distribution
> and the AS-compatible ppm packages available from theoryx5uwinnipeg.ca
site?
> is one or the other more recent, or better maintained? which do you prefer
> personally?
>
> the readme.txt mentions:
> "If you do not intend to run mod_perl, then you should consider
> using ActiveState's perl (http://www.activestate.com/), which is more
> widely used and supported."
>
> i'd guess most here (including the originator of this thread) do intend to
> run mod_perl, so is this statement in the readme.txt no longer relevant?

At the time this series of distributions was started, mod_perl didn't work
with ActivePerl, and so this warning was appropriate, as the
level of support from ActiveState would be so much greater. I had
thought that since a Win32 ActivePerl mod_perl package is now available
that there wouldn't be a need for this alternate distribution, but I guess
there
is - for reasons like you mentioned, and also, like Robert mentioned, some
packages, like Embperl, have problems with the compile-time flags ActivePerl
uses ... So I'll be maintaining both - I expect to have a new (version 0.7)
Win32 perl/mod_perl/mod_ssl binary prepared soon 

> i happily blew away my Activestate perl installation to install your perl
> build with this distribution (AS was really huge and seemed a bit
bloated),
> but recently realized i'll need AS back if i want to play with their
Komodo
> (sp?) perl IDE...
>
> tia for your thoughts on this,
>
> -dave

For the next version of the perl/mod_perl binary package I'll be keeping
the same compile-time flags as before, so as to easily include packages
like Embperl. However, this means it'll be binary incompatable with
ActivePerl.
Eventually, as these problems are worked out, I could see moving towards
the same compile-time flags of ActivePerl - for mod_perl/apache 2.0, this
would be a necessity. This would also have the advantage of being able to
upgrade module packages through ActiveState's ppm. Even so, there may
still be a need for such an "independent" distribution, as some people don't
like ActivePerl's licensing policy 

best regards,
randy





Re: (beginner) Win32 installation / "Writing Apache Modules in Perl& C"

2001-02-19 Thread Sisyphus

Hi Randy,
I had a few attempts again this morning to install it - one of which was
successful. I suspect that the problem was as simple as a misspelled url -
something I'm annoyed at not having picked up ( despite not being able to
view the entire error message ) - and for which I apologise. I don't know
for certain, but it's 'London to a brick' that I was continually misspelling
the location and then inadvertently got it right. An intentionally
misspelled location seems to give the same error message (from what I can
see of it). In amongst the html tags is "400 - HTTP Bad Request" - which is
a bit of a give-away.

Well - it *is* the first time I've seen that response - and I stopped
hunting through it when I realised it was just 'some html' page - and I
*am* stupidly impetuous.

I still can't send the output anywhere other than to screen. I've tried the
method you gave and it makes no difference. My shell is provided by
Command.com - and it has been suggested that I download cmd.exe and try
using that instead. I first created a file called ppm.txt in the current
working directory and tried to have the output sent there by the method you
suggest, but output still goes only to screen.

If indeed that method does work for you ( in a shell provided by
command.com ) could you let me know - and I will investigate further - and
perhaps eliminate one source of potential embarrassment ( though there are
still plenty left ). ( I realise that this is not a matter for discussion on
this group and will post no more about it here.)

Thanks for replying. Sorry to have caused you to spend time over such a
thing.
My commendations  on the job done of providing these packages for ppm
installation.
Perhaps you could move them to a more 'illiterate-friendly' location :)

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Randy Kobes <[EMAIL PROTECTED]>
To: Sisyphus <[EMAIL PROTECTED]>
Cc: mod_Perl <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 12:33 PM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
Perl& C"


> - Original Message -
> From: "Sisyphus" <[EMAIL PROTECTED]>
> To: "Randy Kobes" <[EMAIL PROTECTED]>
> Cc: "mod_Perl" <[EMAIL PROTECTED]>
> Sent: Monday, February 19, 2001 2:39 AM
> Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
> Perl& C"
>
>
> > I recently sucessfully (and easily) installed mod_perl on Win 98 by
using
> > ppm.
> > Buoyed by my success I tried to do the same with Apache::ASP (from the
> same
> > location), but this failed. I've so far been unable to catch the full
> output
> > of this attempt as it takes up more than one DOS screen - '| more'
doesn't
> > work for ppm and I can't find any option for having the output printed
to
> a
> > file.
> > All I get to view is the end of a html page which, I suspect, emanates
> from
> > Microsoft.
> > Any words of enlightenment ?
> > How can I catch the full output of the ppm command ? ( This is a
question
> I
> > am about to put to the Active State mailing list. I probably should wait
> for
> > a reply from that list before posting here - but  I decided to raise
this
> > now while the topic is current.)
> >
> > Cheers,
> > Rob
>
> Hi,
>  I just tried installing Apache-ASP on a fresh installation, and it
> seemed to go OK  Try installing it as (all on one line)
>
> ppm install
> http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-ASP.ppd > log.txt
>
> which should redirect the output to the file log.txt. Does this
> indicate why it failed?
>
> best regards,
> randy kobes
>
>




Re: (beginner) Win32 installation / "Writing Apache Modules in Perl& C"

2001-02-19 Thread Randy Kobes

- Original Message -
From: "Sisyphus" <[EMAIL PROTECTED]>
To: "Randy Kobes" <[EMAIL PROTECTED]>
Cc: "mod_Perl" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 2:39 AM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
Perl& C"


> I recently sucessfully (and easily) installed mod_perl on Win 98 by  using
> ppm.
> Buoyed by my success I tried to do the same with Apache::ASP (from the
same
> location), but this failed. I've so far been unable to catch the full
output
> of this attempt as it takes up more than one DOS screen - '| more' doesn't
> work for ppm and I can't find any option for having the output printed to
a
> file.
> All I get to view is the end of a html page which, I suspect, emanates
from
> Microsoft.
> Any words of enlightenment ?
> How can I catch the full output of the ppm command ? ( This is a question
I
> am about to put to the Active State mailing list. I probably should wait
for
> a reply from that list before posting here - but  I decided to raise this
> now while the topic is current.)
>
> Cheers,
> Rob

Hi,
 I just tried installing Apache-ASP on a fresh installation, and it
seemed to go OK  Try installing it as (all on one line)

ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-ASP.ppd > log.txt

which should redirect the output to the file log.txt. Does this
indicate why it failed?

best regards,
randy kobes





Re: (beginner) Win32 installation / "Writing Apache Modules in Perl & C"

2001-02-19 Thread Robert

Randy's distro is extremely convenient as it packs everything one
probably needs and more... And as a simple zip it's easy to
install/uninstall/upgrade. Also, I hear quite popular Embperl doesn't
work with AS Perl yet, so as 90% of my work is done in Embperl, my
choice is quite simple. Moreover, AS & modperl is quite recent affair,
while Randy's distro has been working great for me for at perhaps two
years... (thanks Randy)

- R.

David Kaufman wrote:
> 
> "Randy Kobes" <[EMAIL PROTECTED]> wrote:
> 
> > http://perl.apache.org/distributions.html contains links to how to
> > install mod_perl via ActivePerl's ppm (Perl Package Manager), as
> > well as some other Apache::* modules. For starting out on Win32 this route
> > is probably the easiest, as everything you need to get started
> > comes with the ppm distribution.
> 
> hmmm.  Randy, I'm running your *other* mod_perl binary distribution (linked
> on the same page)
> ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.6.exe because after
> reading the readmes, it seemed the easiest to get up and runnig with:
> 
>   no setup/install program routine
>   just unzip into the directories specified in the readme,
>   edit autoexec.bat for path and variables, as specified
>   edit conf files to taste, and
>   voila!  perl 5.6, apache and ssl!
> 
> what could be easier?
> 
> also, besides replacing (and not playing nice with) ActiveState perl, are
> there any other particular advantages or drawbacks between this distribution
> and the AS-compatible ppm packages available from theoryx5uwinnipeg.ca site?
> is one or the other more recent, or better maintained? which do you prefer
> personally?
> 
> the readme.txt mentions:
> "If you do not intend to run mod_perl, then you should consider
> using ActiveState's perl (http://www.activestate.com/), which is more
> widely used and supported."
> 
> i'd guess most here (including the originator of this thread) do intend to
> run mod_perl, so is this statement in the readme.txt no longer relevant?
> 
> i happily blew away my Activestate perl installation to install your perl
> build with this distribution (AS was really huge and seemed a bit bloated),
> but recently realized i'll need AS back if i want to play with their Komodo
> (sp?) perl IDE...
> 
> tia for your thoughts on this,
> 
> -dave



Re: (beginner) Win32 installation / "Writing Apache Modules in Perl & C"

2001-02-19 Thread David Kaufman

"Randy Kobes" <[EMAIL PROTECTED]> wrote:

> http://perl.apache.org/distributions.html contains links to how to
> install mod_perl via ActivePerl's ppm (Perl Package Manager), as
> well as some other Apache::* modules. For starting out on Win32 this route
> is probably the easiest, as everything you need to get started
> comes with the ppm distribution.

hmmm.  Randy, I'm running your *other* mod_perl binary distribution (linked
on the same page)
ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.6.exe because after
reading the readmes, it seemed the easiest to get up and runnig with:

  no setup/install program routine
  just unzip into the directories specified in the readme,
  edit autoexec.bat for path and variables, as specified
  edit conf files to taste, and
  voila!  perl 5.6, apache and ssl!

what could be easier?

also, besides replacing (and not playing nice with) ActiveState perl, are
there any other particular advantages or drawbacks between this distribution
and the AS-compatible ppm packages available from theoryx5uwinnipeg.ca site?
is one or the other more recent, or better maintained? which do you prefer
personally?

the readme.txt mentions:
"If you do not intend to run mod_perl, then you should consider
using ActiveState's perl (http://www.activestate.com/), which is more
widely used and supported."

i'd guess most here (including the originator of this thread) do intend to
run mod_perl, so is this statement in the readme.txt no longer relevant?

i happily blew away my Activestate perl installation to install your perl
build with this distribution (AS was really huge and seemed a bit bloated),
but recently realized i'll need AS back if i want to play with their Komodo
(sp?) perl IDE...

tia for your thoughts on this,

-dave




Re: (beginner) Win32 installation / "Writing Apache Modules in Perl& C"

2001-02-19 Thread Sisyphus


--- Original Message -
From: Randy Kobes <[EMAIL PROTECTED]>
To: Garry Heaton <[EMAIL PROTECTED]>
Cc: mod_Perl <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 6:48 PM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
Perl& C"



>
> http://perl.apache.org/distributions.html contains links to how to
> install mod_perl via ActivePerl's ppm (Perl Package Manager), as
> well as some other Apache::* modules. For starting out on Win32 this route
> is probably the easiest, as everything you need to get started
> comes with the ppm distribution. After that, the docs at
> http://perl.apache.org/, especially the guide, and http://take23.org/
> contain lots of resources to get you going.
>
> best regards,
> randy kobes
>

I recently sucessfully (and easily) installed mod_perl on Win 98 by  using
ppm.
Buoyed by my success I tried to do the same with Apache::ASP (from the same
location), but this failed. I've so far been unable to catch the full output
of this attempt as it takes up more than one DOS screen - '| more' doesn't
work for ppm and I can't find any option for having the output printed to a
file.
All I get to view is the end of a html page which, I suspect, emanates from
Microsoft.
Any words of enlightenment ?
How can I catch the full output of the ppm command ? ( This is a question I
am about to put to the Active State mailing list. I probably should wait for
a reply from that list before posting here - but  I decided to raise this
now while the topic is current.)

Cheers,
Rob




Re: (beginner) Win32 installation / "Writing Apache Modules in Perl& C"

2001-02-18 Thread Randy Kobes

On Mon, 19 Feb 2001, Garry Heaton wrote:

> Ref: using Win 98 / Apache 1.3.14 on c:\program files\apache group\apache  /
> Perl 5.6 on c:\perl
> 
> I'm trying to get a working Win32 installation of mod_perl using "Writing
> Apache Modules with Perl and C" but, as with most O'Reilly Perl books, it's
> written for a Unix audience. Apache site doesn't seem to have  any Win32
> installation notes either. I have ApacheModulePerl.dll located in
> Apache/modules but the book refers to other modules (Apache::Registry) which
> come with "the mod_perl distribution". I only found the .dll with the Win32
> distribution so do I have to locate these other parts of the distribution
> elsewhere?
[ ... ]

http://perl.apache.org/distributions.html contains links to how to
install mod_perl via ActivePerl's ppm (Perl Package Manager), as
well as some other Apache::* modules. For starting out on Win32 this route
is probably the easiest, as everything you need to get started
comes with the ppm distribution. After that, the docs at
http://perl.apache.org/, especially the guide, and http://take23.org/
contain lots of resources to get you going.

best regards,
randy kobes