Re: LWP install error

2007-08-29 Thread Marek Stepanek
On 28.08.2007 15:36, Sherm Pendley [EMAIL PROTECTED] wrote:

 On Aug 28, 2007, at 9:08 AM, Marek Stepanek wrote:
 

 
 live/apache.t11  1
 live/jigsaw-md5-get.t21  2
 live/jigsaw-md5.t21  2
 Failed 3/41 test scripts. 3/831 subtests failed.
 
 I recall some talk about server-side problems with some of LWP's
 live tests. If I recall right, when you're configuring the module
 there's a prompt about whether to skip those or run them.
 
 sherm--
 



Thank you Sherm! 

This was it: 

%
You appear to be directly connected to the Internet.  I have some tests
that tries to access some sites on the net to verify that the new HTTP/1.1
support works as it should.

Do you want to enable these tests? [y] n

:-)

One little supplemental question:

%% echo $PATH
/sw/bin:/sw/sbin:/sw/include:/usr/local/bin:/usr/local/mysql/bin:/bin:/sbin:
/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/usr/X11R6/bin

Where is the $PATH-file to push the /sw to the end? The path is not saved in
.tcshrc nor .profile ... If I remember well it was somewhere in /Library?
May I edit this file by hand?


Thank you again


Marek






___ 
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease 
of use. - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html



Re: LWP install error

2007-08-29 Thread Sherm Pendley

One little supplemental question:

%% echo $PATH
/sw/bin:/sw/sbin:/sw/include:/usr/local/bin:/usr/local/mysql/bin:/ 
bin:/sbin:

/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/usr/X11R6/bin

Where is the $PATH-file to push the /sw to the end? The path is not  
saved in
.tcshrc nor .profile ... If I remember well it was somewhere in / 
Library?

May I edit this file by hand?


Fink usually installs a line in your .profile that sources the Fink  
startup script.


You could save $PATH t o $OLD_PATH before sourcing Fink's startup  
script, then after it runs just do $PATH=$OLD_PATH:/sw/ 
sbin:...etc... with the additions at the end.


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: LWP install error

2007-08-28 Thread Sherm Pendley

On Aug 28, 2007, at 9:08 AM, Marek Stepanek wrote:


Have a new MBP, 17 inch :-) I need to install many many things new.

First I installed a new Perl 5.8.8 in /usr/local/ - Apple's OSX is
up-to-date and Xcode installed!

First something, where I am not sure about: I made

% mv /usr/bin/perl /usr/bin/perl_out
% ln /usr/local/bin/perl5.8.8 /usr/bin/perl

Is this right?


Yes, that's normal. In fact, /usr/bin/perl is by default just a link  
to /usr/bin/perl5.8.8.



live/apache.t11  1
live/jigsaw-md5-get.t21  2
live/jigsaw-md5.t21  2
Failed 3/41 test scripts. 3/831 subtests failed.


I recall some talk about server-side problems with some of LWP's  
live tests. If I recall right, when you're configuring the module  
there's a prompt about whether to skip those or run them.


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: LWP install error

2007-08-28 Thread Trey Harris

In a message dated Tue, 28 Aug 2007, Marek Stepanek writes:

First I installed a new Perl 5.8.8 in /usr/local/ - Apple's OSX is
up-to-date and Xcode installed!

First something, where I am not sure about: I made

% mv /usr/bin/perl /usr/bin/perl_out
% ln /usr/local/bin/perl5.8.8 /usr/bin/perl

Is this right?


Right in what sense?  This will have the effect of /usr/bin/perl, or 
just perl in most PATHs, using your install rather than the Apple 
install, if that's what you mean by right.


However, you now have Apple code running against a Perl it wasn't tested 
with, and you are keeping around all of a Perl version that is no longer 
usable, just wasting disk space (since, to my knowledge, no programs start 
with #!/usr/bin/perl_out).


I personally would undo your last two steps, and just write your programs 
to use #!/usr/local/bin/perl, and adjust your PATH so that /usr/local/bin 
comes before /usr/bin.  That way, code written for Macs that expects 
#!/usr/bin/perl to be the Apple-supplied Perl will continue to work as 
expected.


Trey


Re: LWP install

2002-10-31 Thread Charles Jacobson

After a couple of hours I found my way thru CPAN getting one missing 
module at a time. It appears that the warning messages just point out 
things you can install afterwards though. The URI and HeadParser aka 
the HTML module are pretty much required. Base64 and FTP seem not to 
be used for LWP::simple.

My understanding (possibly wrong) is that if there is a budle available 
(i.e. Bundle::LWP) that will install any needed prereqs too. Is this 
correct? I just installed Bundle::Slash and it seemed to download all 
the necessary modules.

BTW, if anyone has Slash going on their system please email me. I have 
it installed and would like some advice on how to set it up. Thanks!

Apologies to Doug for him getting this twice.
-
Chuck Jacobson, Technical Systems Specialist
North Central Baptist Church, Gainesville, FL
http://www.northcentralbaptist.org/
-
I've written a commercial for Apple Computer. It goes like this: 
Macintosh . . . we might not get everything right, but at least we knew 
the century was going to end. - Douglas Adams


Re: LWP install

2002-10-30 Thread Charles Albrecht
At 10:50 AM +0100 10/30/2002, Tom Holland wrote:
Please pardon my newbie foolishness

Have a 10.2 Server system and am trying to install the LWP module via CPAN.

This worked fine under a 10.1.5 system on a different machine (once I su'ed to root).

(You get this message, because MakeMaker could not find 
/System/Library/Perl/darwin/CORE/perl.h)


Does this mean Perl needs to be re-installed? Or is it merely a configuration problem?

Have you installed the Development tools on this system?

-Charles
 Euonymic Solutions
 [EMAIL PROTECTED]



Re: LWP install

2002-10-30 Thread Doug McNutt
I had the same problems. The readme talks about other required modules and then those 
talk about others. It's a recursive exercise apparently done for us in the MacPerl 
world. (Thanks Chris)

After a couple of hours I found my way thru CPAN getting one missing module at a time. 
It appears that the warning messages just point out things you can install afterwards 
though. The URI and HeadParser aka the HTML module are pretty much required. Base64 
and FTP seem not to be used for LWP::simple.

At 10:50 +0100 10/30/02, Tom Holland wrote:
Warning: prerequisite HTML::HeadParser failed to load:.
Warning: prerequisite MIME::Base64 failed to load:3.
Warning: prerequisite Net::FTP failed to load:
Warning: prerequisite URI failed to load:


-- 

Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.



Re: LWP install

2002-10-30 Thread Doug McNutt
Actually Chuck sent this to me. This is one of those lists that has a hangup about 
changing the reply to: header so that it defaults to the list.

Someday I'll learn about bundles but as of now it's up to someone else to answer.

And - while were at it? Is there a document somewhere that talks about just where 
modules ought to be installed. I can find no evidence of /site-perl/ on my system and 
there are at least three /Library/ folders buried in the perl zoo. The make-install 
procedures seem to have a mind of their own and I have no idea where things are going.


At 16:38 -0500 10/30/02, Chuck Jacobson wrote:

My understanding (possibly wrong) is that if there is a budle available (i.e. 
Bundle::LWP) that will install any needed prereqs too. Is this correct? I just 
installed Bundle::Slash and it seemed to download all the necessary modules.

BTW, if anyone has Slash going on their system please email me. I have it installed 
and would like some advice on how to set it up. Thanks!
-
Chuck Jacobson, Technical Systems Specialist
North Central Baptist Church, Gainesville, FL
http://www.northcentralbaptist.org/
-


-- 
-- As a citizen of the USA if you see a federal outlay expressed in $billion then 
multiply it by 4 to get your share in dollars. --



Re: LWP install

2002-10-30 Thread Sherm Pendley
On Wednesday, October 30, 2002, at 01:08 PM, Doug McNutt wrote:


The readme talks about other required modules and then those talk about 
others. It's a recursive exercise

Only if you're determined to do it the hard way. If you use the CPAN 
shell, it follows dependencies for you, installing everything that's 
needed. Just enter 'install Bundle::LWP' and you're done.

 It appears that the warning messages just point out things you can 
install afterwards though.

Umm - no. The warning messages that started this thread, specifically 
the one that reads (You get this message, because MakeMaker could not 
find /System/Library/Perl/darwin/CORE/perl.h), point out that the 
developer tools are not installed. If the developer tools were 
installed, prerequisite Perl modules are a non-issue and would have been 
installed automatically.

sherm--

If you listen to a UNIX shell, can you hear the C?