Re: Apache::Scoreboard trouble

2003-10-19 Thread David Dierauer
On Fri, 17 Oct 2003, Ray Zimmerman wrote:

 I have perl-5.8.0 installed in /usr/local with no problems.

 Today I installed Apache::Scoreboard but when I try running ...

 #!/usr/bin/perl -w
^
 use strict;
 use Apache::Scoreboard;
* snip *

Could the solution be as simple as changing the line I highlighted above
to /usr/local/bin/perl -w

-- 
David Dierauer
Software Engineer
[EMAIL PROTECTED]




Re: BBEdit-Perl confusion

2003-10-19 Thread drieux
On Thursday, Oct 16, 2003, at 06:56 US/Pacific, Vic Norton wrote:

I have recently installed Perl 5.8.0 on my iMac via PortsManager from
DarwinPorts http://www.opendarwin.org/projects/darwinports/. Perl  
5.8.0
resides in the /opt/local/bin directory, and this directory is at the
beginning of $PATH. Everything works well except that BBEdit seems  
rather
confused. Any suggestions as to how to rectify this confusion would be
appreciated.
p0: have you set up a

	$HOME/.MaxOSX/environment.plist

that would contain say:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist SYSTEM  
file://localhost/System/Library/DTDs/PropertyList.dtd
plist version=0.9
dict
keyPATH/key
string  
/opt/local/bin:/home/drieux/bin:/usr/local/bin:/usr/bin:/bin:/usr/ 
local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin/string
keyMANPATH/key
 
string/home/drieux/man:/usr/local/share/man:/usr/share/man/string
/dict
/plist

This way the Aqua GUI would be launched knowing about your alternative
directory structure. bbedit is probably picking up a 'default' path
from the GUI when you launch it, hence would most likely be running
the 'default' perl from /usr/bin/perl.
p1: it is interesting that the 'run in terminal' option would
be invoking an alternative version of perl... DUH! hold on, IF
bbedit started with what it thought was the definition, then it
would have invoked perl on the file
	perl your_file_here

hence it would have been the /usr/bin/perl (???) version vice
the 'first in the path found' version of perl.


ciao
drieux
---



Problems installing libwww-perl-5.69 on OSX

2003-10-19 Thread Mike Edwards
From: Mike Edwards [EMAIL PROTECTED]
Date: Tue Oct 14, 2003  1:34:03  pm Europe/London
To: [EMAIL PROTECTED]
Subject: Problems installing libwww-perl-5.69 on OSX
 Hi,

 I'm trying to install libwww-perl-5.69 on my OSX machine to run under  
Perl 5.8.0.

 The build appears to have gone okay but when I run 'make test' I get  
the following output:

 /usr/bin/perl t/TEST 0
 base/common-req...ok
 base/cookies..ok
 base/date.ok
 base/headers-auth.ok
 base/headers-etag.ok
 base/headers-util.ok
 base/headers..ok
 base/http.ok
 base/listing..ok
 base/mediatypes...ok
 base/message..ok
 base/negotiateok
 base/response.ok
 base/status...ok
 base/ua...ok
 html/form.ok
 robot/rules-dbm...ok
 robot/rules...ok
 robot/ua-get..NOK 7HTTP Server terminated
 robot/ua-get..FAILED tests 1-3, 5, 7
 Failed 5/7 tests, 28.57% okay
 robot/ua..NOK 7HTTP Server terminated
 robot/ua..FAILED tests 1-3, 5, 7
 Failed 5/7 tests, 28.57% okay
 local/autoload-getok
 local/autoloadok
 local/get.ok
 local/http-getNOK 8Can't call method is_redirect on an
 undefined value at local/http-get.t line 214, DAEMON line 1.
 HTTP Server terminated
 local/http-getdubious
 Test returned status 22 (wstat 5632, 0x1600)
 DIED. FAILED tests 1-19
 Failed 19/19 tests, 0.00% okay
 local/httpNOK 8Can't call method is_redirect on an
 undefined value at local/http.t line 188, DAEMON line 1.
 HTTP Server terminated
 local/httpdubious
 Test returned status 22 (wstat 5632, 0x1600)
 DIED. FAILED tests 1-18
 Failed 18/18 tests, 0.00% okay
 local/protosubok
 Failed Test  Stat Wstat Total Fail  Failed  List of Failed
 
---
 local/http-get.t   22  563219   19 100.00%  1-19
 local/http.t   22  563218   18 100.00%  1-18
 robot/ua-get.t  75  71.43%  1-3 5 7
 robot/ua.t  75  71.43%  1-3 5 7
 Failed 4/26 test scripts, 84.62% okay. 47/343 subtests failed, 86.30%
 okay.
 make: *** [test] Error 2

 The errors seem to refer to this line in ./t/local/http-get.t and   
./t/local http.t although I don't understand it enough to work out what  
the problem is.

 print ok 8\n;
 print not  unless $res-previous-is_redirect
 and $res-previous-code == 301;
 Can anyone suggest why things are going wrong and how I can fix it  
please?

 Thanks,

 Mike



Re: Problems installing libwww-perl-5.69 on OSX

2003-10-19 Thread Paul McCann
Hi Mike,
you wrote...

  I'm trying to install libwww-perl-5.69 on my OSX machine to run under  
 Perl 5.8.0.

Try using 5.72 (which is on CPAN now). I installed it this morning and
all tests passed without problem. (This is with perl 5.8.1, but I'd bet
you'll get similar results with 5.8.0.)

Cheers,
Paul


Re: Problems installing libwww-perl-5.69 on OSX

2003-10-19 Thread Andy Lester
 Try using 5.72 (which is on CPAN now). I installed it this morning and

5.73 is out, as well.

xoa

-- 
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance