Apache::MP3 no worky

2004-08-03 Thread Chris Devers
Out of curiosity, does anyone have Apache::MP3 working on Panther?
I have it working just fine on a Debian machine at work, but it doesn't 
work at all on a Mac there, nor does it work on my Mac at home. In both 
cases, it just serves zero-length, null-content pages to all requests.

Nothing shows up in the Apache error log, and the access log shows the 
same sort of activity that the working Linux machine shows.

The Apache config on the Mac appears to be identical in every important 
way to the config on the Linux PC, save for adjusted path names.

I could get into specifics of how I have things configured, and would be 
happy to respond to such questions if you have any, but I really think 
there's just some sort of underlying bug on the Mac side that is short 
circuiting the application such that it does nothing. I've poked around 
on the interweb a bit and have found some people complaining about the 
same symptoms on their Macs, but no one seems to have any explanations.

Basic system info:
$ hostinfo
Mach kernel version:
 Darwin Kernel Version 7.4.0:
Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC
Kernel configured for up to 2 processors.
2 processors are physically available.
Processor type: ppc970 (PowerPC 970)
Processors active: 0 1
Primary memory available: 1024.00 megabytes.
Default processor set: 152 tasks, 303 threads, 2 processors
Load average: 1.32, Mach factor: 0.67
$ sw_vers
ProductName:Mac OS X
ProductVersion: 10.3.4
BuildVersion:   7H63
$ which perl
/usr/bin/perl
$ perl -v|grep 'This is perl'
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
The other machine I'm trying to run it on has the same config for 
everything except the hostinfo command; in that case, it's --

$ hostinfo
Mach kernel version:
 Darwin Kernel Version 7.4.0:
Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 1024.00 megabytes.
Default processor set: 115 tasks, 239 threads, 1 processors
Load average: 2.37, Mach factor: 0.28
As I say, more info is available on requst.
So -- anyone have Apache::MP3 working on Panther?

--
Chris Devers


Re: Apache::MP3 no worky

2004-08-03 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Chris Devers) wrote:

 Out of curiosity, does anyone have Apache::MP3 working on Panther?

I do.

$ hostinfo
Mach kernel version:
 Darwin Kernel Version 7.4.0:
Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc750 (PowerPC 750)
Processor active: 0
Primary memory available: 640.00 megabytes.
Default processor set: 91 tasks, 252 threads, 1 processors
Load average: 0.06, Mach factor: 0.97

$ sw_vers
ProductName:Mac OS X Server
ProductVersion: 10.3.4
BuildVersion:   7H63

$ which perl
/usr/bin/perl

$ perl -v | grep 'This is perl'
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level

Further:

$ pmvers Apache::MP3 MP3::Info
Apache::MP3: 3.03
MP3::Info: 1.02

$ which httpd
/usr/sbin/httpd

$ httpd -v
Server version: Apache/1.3.29 (Darwin)
Server built:   Feb  4 2004 10:31:58

(That is, it's the default Apache, default perl, default mod_perl, etc.  
Everything is default, and Apache::MP3 is the latest.)

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/


pSync/Panther how?

2004-08-03 Thread Ingo Weiss
Hi all,

I would like to use pSync for backups. I used it in Jaguar, but it seems
that it's not compatible with Panther currenlty. The Author recommended
to install a newer Perl which should fix the problem. Here are some
questions:

- What is the latest stable Perl version that runs under Panther?
- Are there a really foolproof instructions anywhere for how to build
and install Perl from source?
- This all seems a bit much for running one small program - is there
another way to make pSync run?
- Or, is there a good alternative to pSync?

Thanks!
Ingo


Re: pSync/Panther how?

2004-08-03 Thread Jerry LeVan
I am running Deju Vu which runs psync under the hood, works fine
for me...
Jerry
On Aug 3, 2004, at 4:06 PM, Ingo Weiss wrote:
Hi all,
I would like to use pSync for backups. I used it in Jaguar, but it 
seems
that it's not compatible with Panther currenlty. The Author recommended
to install a newer Perl which should fix the problem. Here are some
questions:

- What is the latest stable Perl version that runs under Panther?
- Are there a really foolproof instructions anywhere for how to build
and install Perl from source?
- This all seems a bit much for running one small program - is there
another way to make pSync run?
- Or, is there a good alternative to pSync?
Thanks!
Ingo



Re: Apache::MP3 no worky

2004-08-03 Thread Chris Nandor
At 18:23 -0400 2004.08.03, Chris Devers wrote:
 $ pmvers Apache::MP3 MP3::Info
 Apache::MP3: 3.03
 MP3::Info: 1.02

Strange, I don't have a `pmvers` on my computer. But I do have...

It's a part of pmtools, an old set of small perl module tools (like pmpath,
pmls, etc.).


Any idea how I could coax Apache / A:M into producing more diagnostics?
I tried adjusting Apache's loglevel setting but it didn't appear to
change anything in this context -- I still just get no output, normal
access logs, and no recorded activity in the error log.

No ideas offhand.  I'd start adding print STDERR statements to Apache::MP3
and watch the error log, find out where it is going wrong.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/


Re: NSOpenPanel and CamelBones

2004-08-03 Thread Thilo Planz

 my $types = NSMutableArray-alloc-init;
$types-addObject('pod');
$types-addObject('pm');
$types-addObject('pl');
my $panel = NSOpenPanel-openPanel;
if ($panel-runModalForTypes($types)) {

How do I get the open and/or save dialog to open at a specific 
directory?  What I have tried has not worked.
That is pretty straightforward (it is explained in the Cocoa API 
documents for Objective C )

my $types = NSMutableArray-alloc-init;
$types-addObject('pod');
$types-addObject('pm');
$types-addObject('pl');
my $panel = NSOpenPanel-openPanel;
my $result = $panel-runModalForDirectory_file_types('/Applications/', 
undef,$types);
Shameless plug:
You can try out this kind of code very quickly using PerlPad.
http://perl-pad.sourceforge.net/
Just copy  paste the above lines into PerlPad and see your NSOpenPanel 
in action.
Much faster than a full compile cycle in ProjectBuilder.

Thilo


Re: pSync/Panther how?

2004-08-03 Thread Joseph Alotta
Hi Ingo,
I am using psync on Panther and I like it very much.  No trouble, it 
just works.
Here is my version info.

Joe.
[Abba:~] josephal% perl -v
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2003, Larry Wall
Perl may be copied only under the terms of either the Artistic License 
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to 
the
Internet, point your browser at http://www.perl.com/, the Perl Home 
Page.

[Abba:~] josephal% /usr/local/bin/psync -v
psync   [-d][-n][-q|-v] source_items ... target_directory
psync -r[-d][-n][-q|-v] source_directory target_directory
[Abba:~] josephal% head /usr/local/bin/psync
#!/usr/bin/perl
#
# $Id: psync,v 0.65 2003/04/09 08:25:26 dankogai Exp $
# $Id: psync,v 0.65.5 2003/09/5 jacek_s Exp jacek_s $
#
eval 'exec /usr/bin/perl  -S $0 ${1+$@}'
if 0; # not running under some shell
use strict;
[Abba:~] josephal%
On Aug 3, 2004, at 3:06 PM, Ingo Weiss wrote:
Hi all,
I would like to use pSync for backups. I used it in Jaguar, but it 
seems
that it's not compatible with Panther currenlty. The Author recommended
to install a newer Perl which should fix the problem. Here are some
questions:

- What is the latest stable Perl version that runs under Panther?
- Are there a really foolproof instructions anywhere for how to build
and install Perl from source?
- This all seems a bit much for running one small program - is there
another way to make pSync run?
- Or, is there a good alternative to pSync?
Thanks!
Ingo