You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Bill Moseley <mo...@hank.org> on 2002/08/01 17:03:21 UTC

Link from download to install?

How about adding two convenience links to the installation instructions on
the download page? 

Current releases:

    * mod_perl 1.0: 1.27 (June 1, 2002)   [install]
    * mod_perl 2.0 (in development): 1.99_04 (June 22, 2002)  [install]

Or add some text at the end that says to read the INSTALL* docs in the
distribution once unpacked, with a link to getwet.html or install.html.

It's something like four or five links to get from the download to the
getwet installation section.

Please read the README, SUPPORT and INSTALL files bundled wth the
distribution after <a
href="/docs/1.0/guide/getwet.html#Installing_mod_perl_in_Three_Steps">downlo
ading and unpacking</a> the distribution.  See <a
href="/help/index.html">Getting Help</a> for support information.

Minor comment, but another thing that I often find useful on download pages
such as http://perl.apache.org/dist/ is the README and Changes file
unpacked.  It's nice to be able to read those without having to download
and unpack the distribution.  Or perhaps just a link to a directory with
the current version unpacked.


-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Stas Bekman <st...@stason.org>.
> I'd go with the short 'Browse' then.

See the updated version:
http://perl.apache.org/download/index.html

OK?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: [OT] Link from download to install?

Posted by Stas Bekman <st...@stason.org>.
B
>>The 5.8 issue on CPAN should be resolved at some point, it's being 
>>discussed on p5p.
> 
> 
> The issue of CPAN trying to install 5.8?
> 
> This ISP has removed read perms from the account's parent directory.  This
> cause FindBin to fail and thus prevents perl (5.6.1 or 5.8.1) from
> installing in that account.  I'm not sure how I feel about that -- seems
> like I should be able to install locally.  What do you think?

I suppose yes, see below.

>>>Another thing that bugs me is that when installing modules it seems to
>>>ignore PERL5LIB environment setting.  I just tried to install something
>>>that required a never version of HTML::Parser.  So I installed HTML::Parser
>>>locally, but it still kept finding the old version, and not the one in my
>>>PERL5LIB path.....
>>></rant>
>>
>>what's "it"? CPAN.pm? works fine on apache.org where I've the same setup 
>>5.005_03 with local modules.
> 
> 
> I've seen this before.  Perhaps I'm missing a setting in CPAN's
> MyConfig.pl.
> 
> $ $echo $PERL5LIB
> /home/moseley/perl_lib

That's invalid. You haven't paid attention to what I've said:

Are you sure that PERL5LIB is properly set? e.g. that's the one I use at 
apache.org:
setenv PERL5LIB 
/home/stas/lib/perl5/5.00503:/home/stas/lib/perl5/site_perl/5.005:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/

Notice that you've to make it look like @INC and not just tell the base dir.

> Another thing that is odd is when I run perl Makefile.PL
> PREFIX=$HOME/perl_lib the generated Makefile doesn't have the prefix in
> all the needed places, so install fails.
> 
> All in a day's wasted time... ;)

that's a known kludge with 5.005_03, see:
http://perl.apache.org/docs/1.0/guide/install.html#Installation_Without_Superuser_Privileges

   % perl Makefile.PL PREFIX=/home/stas \
     INSTALLPRIVLIB=/home/stas/lib/perl5 \
     INSTALLSCRIPT=/home/stas/bin \
     INSTALLSITELIB=/home/stas/lib/perl5/site_perl \
     INSTALLBIN=/home/stas/bin \
     INSTALLMAN1DIR=/home/stas/lib/perl5/man  \
     INSTALLMAN3DIR=/home/stas/lib/perl5/man3

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: [OT] Link from download to install?

Posted by Bill Moseley <mo...@hank.org>.
On Fri, 2 Aug 2002, Stas Bekman wrote:

> Bill Moseley wrote:
> > <rant day="too long">
> > [1]  I'm into old right now.  I'm tying to move a client to a new ISP
> > that's running 5.00503, soon to be 5.6.1.  For now I need a few updated
> > modules, but when I try to use CPAN to install them it tries to install
> > perl 5.8.  Typical story.  The client home directory is on an nfs share
> > where the parent directory does not have read access so I can't install
> > perl 5.6.1 or 5.8.0 locally (FindBin fails with permission error.  5.6.1
> > fails make test and won't install, and 5.8 fails Configure.
> 
> I can't see what it has to do with mod_perl's "old"?

Not much.  I was ranting...(because things that day didn't go as smoothly
as I would have liked).  I needed a newer version of a module, but loading
it from CPAN.pm loaded a version dependent on a newer perl (used "our"
keyword, for one thing).  So what I needed was the most current version
that would work with 5.00503.

So, sometime it's handy to be able to get an "old" version.  Not sure if
that would ever apply to mod_perl, but someone might have a reason for not
being able to install the latest version.  Someone might have a policy
that they don't use any package until it's six months old or some such
thing, for example.


> 
> The 5.8 issue on CPAN should be resolved at some point, it's being 
> discussed on p5p.

The issue of CPAN trying to install 5.8?

This ISP has removed read perms from the account's parent directory.  This
cause FindBin to fail and thus prevents perl (5.6.1 or 5.8.1) from
installing in that account.  I'm not sure how I feel about that -- seems
like I should be able to install locally.  What do you think?


> > Another thing that bugs me is that when installing modules it seems to
> > ignore PERL5LIB environment setting.  I just tried to install something
> > that required a never version of HTML::Parser.  So I installed HTML::Parser
> > locally, but it still kept finding the old version, and not the one in my
> > PERL5LIB path.....
> > </rant>
> 
> what's "it"? CPAN.pm? works fine on apache.org where I've the same setup 
> 5.005_03 with local modules.

I've seen this before.  Perhaps I'm missing a setting in CPAN's
MyConfig.pl.

$ $echo $PERL5LIB
/home/moseley/perl_lib

$ perl -MHTML::Parser -le 'print $HTML::Parser::VERSION'
3.26

$ perl -MCPAN -e 'install HTML::FillInForm'
Going to read /home/moseley/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
...
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.005/i386-linux -I/usr/lib/perl5/5.005 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00_base...........HTML::Parser version 3.08 required--this is only
version 3.02 at blib/lib/HTML/FillInForm.pm line 8.

$ unset PERL5LIB
$ perl -MHTML::Parser -le 'print $HTML::Parser::VERSION'
3.02

Another thing that is odd is when I run perl Makefile.PL
PREFIX=$HOME/perl_lib the generated Makefile doesn't have the prefix in
all the needed places, so install fails.

All in a day's wasted time... ;)


-- 
Bill Moseley moseley@hank.org



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Stas Bekman <st...@stason.org>.
Bill Moseley wrote:
> At 01:06 PM 08/02/02 +0800, Stas Bekman wrote:
> 
>>I agree, yours looks good. Though I suggest to keep only:
>>
>>Download | Changes | Installation
>>
>>the "old" thingy is really old.
> 
> 
> Hey Stas,
> 
> Sound fine. [1]
> 
> 
>>Any idea how to name the link to the 
>>unpacked version? if you want to browse the source online?
> 
> 
> "package contents", "browse contents" or as on the debian site "list of
> files"?

I'd go with the short 'Browse' then.

> <rant day="too long">
> [1]  I'm into old right now.  I'm tying to move a client to a new ISP
> that's running 5.00503, soon to be 5.6.1.  For now I need a few updated
> modules, but when I try to use CPAN to install them it tries to install
> perl 5.8.  Typical story.  The client home directory is on an nfs share
> where the parent directory does not have read access so I can't install
> perl 5.6.1 or 5.8.0 locally (FindBin fails with permission error.  5.6.1
> fails make test and won't install, and 5.8 fails Configure.

I can't see what it has to do with mod_perl's "old"?

The 5.8 issue on CPAN should be resolved at some point, it's being 
discussed on p5p.

> Another thing that bugs me is that when installing modules it seems to
> ignore PERL5LIB environment setting.  I just tried to install something
> that required a never version of HTML::Parser.  So I installed HTML::Parser
> locally, but it still kept finding the old version, and not the one in my
> PERL5LIB path.....
> </rant>

what's "it"? CPAN.pm? works fine on apache.org where I've the same setup 
5.005_03 with local modules.

Are you sure that PERL5LIB is properly set? e.g. that's the one I use at 
apache.org:
setenv PERL5LIB 
/home/stas/lib/perl5/5.00503:/home/stas/lib/perl5/site_perl/5.005:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/site_perl/:/home/stas/lib/perl5/


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Bill Moseley <mo...@hank.org>.
At 01:06 PM 08/02/02 +0800, Stas Bekman wrote:
>I agree, yours looks good. Though I suggest to keep only:
>
>Download | Changes | Installation
>
>the "old" thingy is really old.

Hey Stas,

Sound fine. [1]

>Any idea how to name the link to the 
>unpacked version? if you want to browse the source online?

"package contents", "browse contents" or as on the debian site "list of
files"?

<rant day="too long">
[1]  I'm into old right now.  I'm tying to move a client to a new ISP
that's running 5.00503, soon to be 5.6.1.  For now I need a few updated
modules, but when I try to use CPAN to install them it tries to install
perl 5.8.  Typical story.  The client home directory is on an nfs share
where the parent directory does not have read access so I can't install
perl 5.6.1 or 5.8.0 locally (FindBin fails with permission error.  5.6.1
fails make test and won't install, and 5.8 fails Configure.

Another thing that bugs me is that when installing modules it seems to
ignore PERL5LIB environment setting.  I just tried to install something
that required a never version of HTML::Parser.  So I installed HTML::Parser
locally, but it still kept finding the old version, and not the one in my
PERL5LIB path.....
</rant>

-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Stas Bekman <st...@stason.org>.
Bill Moseley wrote:
> At 10:10 AM 08/02/02 +0800, Stas Bekman wrote:
> 
>>Bill Moseley wrote:
>>
>>>How about adding two convenience links to the installation instructions on
>>>the download page? 
>>
> 
>>Good idea, Bill. Done. Please check if you like it.
> 
> 
> Ok. Take a look at the links at 
> 
>     http://hank.org:5000/download/index.html
> 
> Do you like that layout for 1.0?  Seems like the [Changes][Install]
> overpowers the link on the version number on 2.0.

I agree, yours looks good. Though I suggest to keep only:

Download | Changes | Installation

the "old" thingy is really old. Any idea how to name the link to the 
unpacked version? if you want to browse the source online?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Bill Moseley <mo...@hank.org>.
At 10:10 AM 08/02/02 +0800, Stas Bekman wrote:
>Bill Moseley wrote:
>> How about adding two convenience links to the installation instructions on
>> the download page? 

>Good idea, Bill. Done. Please check if you like it.

Ok. Take a look at the links at 

    http://hank.org:5000/download/index.html

Do you like that layout for 1.0?  Seems like the [Changes][Install]
overpowers the link on the version number on 2.0.




-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: Link from download to install?

Posted by Stas Bekman <st...@stason.org>.
Bill Moseley wrote:
> How about adding two convenience links to the installation instructions on
> the download page? 
> 
> Current releases:
> 
>     * mod_perl 1.0: 1.27 (June 1, 2002)   [install]
>     * mod_perl 2.0 (in development): 1.99_04 (June 22, 2002)  [install]
> 
> Or add some text at the end that says to read the INSTALL* docs in the
> distribution once unpacked, with a link to getwet.html or install.html.
> 
> It's something like four or five links to get from the download to the
> getwet installation section.
> 
> Please read the README, SUPPORT and INSTALL files bundled wth the
> distribution after <a
> href="/docs/1.0/guide/getwet.html#Installing_mod_perl_in_Three_Steps">downlo
> ading and unpacking</a> the distribution.  See <a
> href="/help/index.html">Getting Help</a> for support information.

Good idea, Bill. Done. Please check if you like it.

> Minor comment, but another thing that I often find useful on download pages
> such as http://perl.apache.org/dist/ is the README and Changes file
> unpacked.  It's nice to be able to read those without having to download
> and unpack the distribution.  Or perhaps just a link to a directory with
> the current version unpacked.

Done too for the Changes files. README is useless if you have the whole 
site at your hand. It's only useful when you are offline.



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org