Re: apache wont start on osX (needed to run perl-cgi scrips)

2001-04-17 Thread Paul McCann
Replying to Alan, Scott wrote... you need to be root to start it. use sudo sudo apachectl start Which nicely explains the message that Alan saw: httpd: could not open error log file /private/var/log/httpd/error_log httpd starts up with root privileges, opens the log files, which are

Re: Make is where it should but where is 'wich' ?

2001-06-20 Thread Paul McCann
Hi Ronald, To find make Martin suggested %wich make or %where make. On my machine make gnumake are where they should be, thougth bash can not find wich or where? Are this to tools part of the developer tools? They are not on /usr/bin, where else can they be? Otherwise where can I get

Re: making a file executable

2001-07-19 Thread Paul McCann
Hi Robin, On Friday, 20 July 2001 at 3:45AM you wrote: I've included the script below for perusal, it basically kills any apps which are open at the time of invokation - I got fed up doing it manually and didn't want to write an Applescript to do it. It works as expected when run

Re: Creating groups was (RE: OT: mySQL installation)

2001-07-20 Thread Paul McCann
Maybe this will stop the OT stuff: maybe it'll only make it worse! Well that still doesn't explain how to create a group I've inserted a chunk of a nervous nelly step-by-step set of instructions I wrote a while ago on a macfixit_forum thread below this message. niutil is probably

Re: XML::LibXML on Mac OS X 10.1.1

2001-12-13 Thread Paul McCann
I'm trying to build XML::LibXML and XML::LibXSLT on OS X 10.1.1 and I have no luck doing it. I already installed libxml2 Version 2.3.14-1 with Fink. Not good enough I'm afraid: that fink package must be fairly old. From the Makefile.PL for XML::LibXML die XML::LibXML needs libxml2

Re: Perl REs as System Service

2002-10-11 Thread Paul McCann
On Fri, Oct 11, 2002 at 09:43:27AM -0400, Alexandre Enkerli wrote: Did anyone try building a System Service (in the Services submenu) to apply Perl regular expressions on selected text? Kevin van Vechten has a Perl Service for Mac OS X that works fine with Jaguar (unlike his SSHAgentServices

Re: Installation of LWP fails

2002-10-12 Thread Paul McCann
On Fri, Oct 11, 2002 at 09:55:18AM -0700, David Wheeler wrote: On Friday, October 11, 2002, at 08:36 AM, Phil Dobbin wrote: Is this indicative of the Developer Tools not being installed? I don't know about that, but if the developer tools weren't installed, there'd be no compiler --

Re: PDFLib

2002-12-03 Thread Paul McCann
On Tue, Dec 03, 2002 at 10:13:48PM +0100, jonasbn wrote: I am currently working on a bingo game in Perl (its a long story). The next step in the development is to be able to produce bingo plates and I have been given some code dependent on PDFLib from a kind soul. I have downloaded the

Re: Process table information

2002-12-03 Thread Paul McCann
Chris Nandor wrote: [EMAIL PROTECTED] (Ken Williams) wrote: Yeah, that looks like exactly what I want. Now if I can just get Mac::Carbon working under 10.1.5! =) Still haven't had any luck with that, it looks like a gcc 2/3 issue to me. Yeah, I dunno. :/ I've not had any

Re: trouble with DBD::SQLite 0.23

2003-01-28 Thread Paul McCann
Puneet Kishor wrote: I am able to build SQLite 2.7.6 from source without any problem. But, DBD::SQLite 0.23 (which comes with its own SQLite) croaks. Interestingly, it seems to build and install ok, many tests are passed, then 'make test' (regression testing) fails. Running dbish shows

Re: trouble with DBD::SQLite 0.23

2003-01-28 Thread Paul McCann
Hi again, h... if you (I too) can't see it on search.cpan.org, how do you know 0.24 exists? I searched on the minimalist seargent.org, and on Google too... nothing about 0.24. Is there a secret place? ;-) Hmm, not very sEcReT; Matt Sergeant has a use.perl.org journal

Re: CamelBones example code?

2003-01-28 Thread Paul McCann
Rich Morin wrote: FWIW, I managed to get the data source part working, though somebody is making FAR too many calls to numberOfRowsInTableView (:-). My current issue is setting a fixed-width font for the table's data cells. This: $acell = $col-dataCell();

Re: dmg of perl 5.8.0 on Mac OS X

2003-02-05 Thread Paul McCann
On Wed, Feb 05, 2003 at 06:03:32PM -0700, Nathan Torkington wrote: Please download and test the perl 5.8.0 distribution available from: http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg Done, and much appreciated. (The machine on which I have just installed your dmg was giving all sorts of

Re: Announcement: PerlPad 0.1

2003-02-09 Thread Paul McCann
On Mon, Feb 10, 2003 at 09:51:34AM +0900, Thilo Planz wrote: I have been playing around with Camelbones a little and placed my results on SourceForge: http://perl-pad.sourceforge.net/ I would like some feedback, basically to see if the thing installs on other computers than my own and

Re: Announcement: PerlPad 0.1

2003-02-09 Thread Paul McCann
Thanks for the info Thilo: just in case someone else wants to do the remapping. Find PerlPad, control click and select Show Package Contents. Open up Info.plist file inside the Contents directory (double clicking will probably crank open Property List Editor, which is a pretty good tool for

Re: hi and axpoint

2003-02-21 Thread Paul McCann
Hi Marco, In particular, I followed the suggestions regarding the Makefile of Text::Iconv that I found in the message http://archive.develooper.com/[EMAIL PROTECTED]/msg04392.html, but that didn't help (it didn't even help wrt to Text::Iconv, which still cannot find the libiconv, despite

Re: hi and axpoint

2003-02-22 Thread Paul McCann
Marco Baroni wrote: However... Most of the rest of the dependencies are pretty much sorted these days: at least once you've got libxml2 and libxslt and have their perl wrappers installed (watch the version of XML::LibXML, as per earlier messages. It broke some time soon after 1.51 for

Re: [OT] More Terminal/Finder cooperation

2003-02-26 Thread Paul McCann
On Wed, Feb 26, 2003 at 10:46:05AM -0600, Ken Williams wrote: Awesome - I'm now adding a little perl script around it to get the absolute path and to activate the Finder: Nice script: I think you can probably save some execution time by incorporating both finder calls in the same osascript

Re: copy files with everything?

2003-03-30 Thread Paul McCann
Hi Berndt, you wrote... simple question, how can I copy file type, creator and icon along with a file. #!/usr/bin/perl use File::Copy; copy(/private/var/root/Desktop/xxx/test1.doc, /private/var/root/Desktop/yyy/test2.doc); copies just the file, but the resulting

Re: Panther, Perl 5.8.*, threads, etc.

2003-07-15 Thread Paul McCann
Sounds like you might be heading in the POE direction: http://poe.perl.org/ Worth a look if you haven't already considered this option. Cheers, Paul

Re: installing expat

2003-09-10 Thread Paul McCann
Hi Chad, you wrote... http://sourceforge.net/projects/expat/ Unfortunately, I don't seem to be able to figure out how to install expat. I downloaded it from ftp://ftp.jclark.com/pub/xml , where it includes a makefile. However, my degree in music composition didn't involve much

Re: File write/read problem

2003-09-24 Thread Paul McCann
Hi Mark, you wrote... Permission denied at /Library/WebServer/CGI-Executables/write.cgi All the permissions for each of these directories are 755. Something is a miss. So what can I do?! I'm very confused. There's your problem. 755 will not allow the www user (or whatever you've

Re: psync Warnings

2003-09-29 Thread Paul McCann
Hi David, you wrote... While running a psync backup, I get lots of warnings such as these: [[warnings deleted]] Should I worry about these? The command I'm running is While I don't recognise all the warnings that you showed at least some of them can be removed by replacing Dan's

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

Re: Perl version of GetFileInfo?

2003-10-31 Thread Paul McCann
Hi Conrad, you wrote... I jumped too soon. I tested the MacOSX::File install under Panther and it failed with these errors: I tried using gcc 2.95 instead of 3.3 and got further but still errored... I don't have time right now to try and debug it but maybe later. If you check the

Re: Newcomer with a few questions

2003-11-07 Thread Paul McCann
John wrote... The trouble is that it takes an age for the libraries to be loaded, the events to be compiled and for the dialog to appear: #!/usr/bin/perl use MacPerl; $phone = MacPerl::Ask(Enter your phone number:); Hmm, must depend crucially on the machine: on this dual 1G thing I'm

Re: xterm color support

2004-01-18 Thread Paul McCann
Hi Gohaku, you wrote... I have a question about the following script: use Term::ANSIColor; print color(red on_white), Danger, Will Robinson!\n; print color(red on_white), Danger, Will Robinson!\n; print color(red on_white), Danger, Will Robinson!\n; print color(reset); Has

Re: /tmp v. /tmp/501/TemporaryItems

2004-01-18 Thread Paul McCann
Hi John, you wrote... Can someone please tell me if there's any reason not to write files in /private/tmp rather than in /tmp/501/TemporaryItems ? drwxrwxrwt 29 root wheel 986 18 Jan 21:49 tmp drwxr-xr-x 13 jdwheel 442 18 Jan 21:30 TemporaryItems So far as jd and

Re: Preview.app opening multiple files

2004-03-29 Thread Paul McCann
On Mon, 29 Mar 2004, Chris Devers wrote: Unfortunately, I get the same error you do when I try to run it: $ ./osatest.sh ## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt) This is some sort of issue with Toast; googling for the

Re: Preview.app opening multiple files

2004-03-29 Thread Paul McCann
Hi Joseph, you wrote... It's easy to replicate from the Finder. You highlight the files and double click holding shift down. Also, you can highlight, then control click getting the menu and then select open. Thanks for the explanation, but my machine seems to be on a rather

Re: Preview.app opening multiple files

2004-03-29 Thread Paul McCann
Ned Day asked, how on earth do i unsubscribe from this? Try reading the mail headers of any message to the list: List-Unsubscribe: mailto:[EMAIL PROTECTED] Cheers, Paul

Re: [OT?] Shebang question

2004-07-22 Thread Paul McCann
Hi ~wren, you wrote... Sorry if this is off-topic, but I seem to recall sometime fairly recently (less than a year, more than a few weeks) someone mentioned a way to autofind the path to perl on the shebang line so you don't need to hardcode the path. I can't seem to find the post in

Re: installing scripts using expat/libxml on 10.1.5

2004-11-02 Thread Paul McCann
Hi Richard, you asked... I'm about to write a number of fairly simple perl scripts. They'll be reading xml files. Unfortunately they've got to be installed on a client machine that uses 10.1.5, owned by a fairly untechnical user. I've always had control of the environment before,

Re: A Net::Config problem

2004-11-22 Thread Paul McCann
Hi Vic, you wrote... I've got a .libnetrc file in my home directory. It reads { 'nntp_hosts' = [ news.dacor.net ], 'smtp_hosts' = [ mail.dacor.net ], 'pop3_hosts' = [ mail.dacor.net, mailstore.bgsu.edu ], } I've thrown that file into my home directory as

Re: HTML::Tidy Filter for BBEdit?

2005-01-17 Thread Paul McCann
Hi John, you wrote... my question is, how can I create the same sort of script which will use HTML::Tidy? Both the module and the library are installed and running OK on my Mac, but I can't seem to get it to work, in fact I can't even figure out from the documentation how to get

Re: psync backup problems: suggestions?

2005-07-14 Thread Paul McCann
Joe asked, As an aside, does anyone know how to turn spotlight off of a volume? It immediately starts creating an index and it is causing my comnputer to run hot and make everything else run slow. System Preferences = Spotlight = Privacy Just drag in what you don't want indexed. Cheers,

Re: backup strategy questions

2005-08-10 Thread Paul McCann
Hi Joe, ... I wrote a little program that creates a new directory each time (ie, 2005-08-09) and does a full backup using psync to the directory. My question: In the event of a hard disk failure, will I be able to boot from a full copy in a directory? How would I be able to recover?

Re: backup strategy questions

2005-08-14 Thread Paul McCann
Hi Joe, I've used the Disk Utility and created a copy that boots. Thank you it was fun. I haven't done the cron thing yet or the psync over it. One question, it appears like everything on the restore copy is exactly the same, however the total file size and the total number of files

Re: Control-D Bug?

2006-02-01 Thread Paul McCann
Jonathan Levi wrote: #!/usr/bin/env perl # [comments omitted] print reverse ; drj2:learningperl4 jonathan$ p052e1.pl 1 2 3 3D 2 1 I'm pretty sure that you're just seeing an artefact of executing in the terminal (ie it's a display problem, rather than a problem

Re: Mac::Carbon for Intel ... Done?

2006-06-19 Thread Paul McCann
Hi Chris, Go play with it, if you have an Intel Mac. Let me know if you find anything wrong, and let me know soon, since I have less than a week left with this Intel Mac. The module (Mac-Carbon-0.75) was fine through make on my intel Mac (modulo all the deprecated warnings of course,

Re: Mac::Carbon for Intel ... Done?

2006-06-20 Thread Paul McCann
Hi again, Yes, AppleEvents/t/event and AppleEvents/t/desc were both failing with the same error message: === AppleEvents/t/eventNOK 2# Failed test 'require '$Bin/ helper.pl';' # in AppleEvents/t/event.t at

Re: Mac-Carbon-0.76

2006-06-22 Thread Paul McCann
Hi Chris, Thanks for all the input, I got a lot of small bugs fixed, in tests and docs mostly, and a small one in code. No major code changes, no Intel-specific code changes. Smooth as silk here, both with and without MAC_CARBON_GUI set. Cheers, Paul

Re: convert string to number?

2006-07-07 Thread Paul McCann
Hi Adam, sounds like the symptoms you'd get if the value you're sending to R has a newline character hanging on the end. Perl will do the conversion to an integer when required [1], but if you're passing such a thing to R it'll probably get grumpy. Just chomp the line before doing the

Re: Mac Perl bug?

2006-07-18 Thread Paul McCann
Ende asked... Why? $a = 1 2 3; 1 2 3 split / /, $a; [1, , 2, 3] split , $a; [1, 2, 3] Using a single space as the string on which to split triggers a special case: from perldoc -f split specifying a PATTERN of space (' ') will

Re: Mac Perl bug?

2006-07-19 Thread Paul McCann
Hi again, Ugh: please ignore my previous example, which split on the empty string by mistake (it's even evident in the script you quoted). Thwack... Let me try and pull this together: splitting on a string containing a single space is special in a do what you probably mean way: it's

Re: Math::GMP and Net::SSH::Perl

2006-08-05 Thread Paul McCann
Hi Michael, I think the problem here is that Math::GMP doesn't look in /usr/local/ lib to find the libgmp* libraries, so you need to give it a helping hand. Just modifying the Makefile.PL file so that instead of 'LIBS' = ['-lgmp'], # e.g., '-lm' you have 'LIBS' =

Re: Perl Module Installation

2006-08-23 Thread Paul McCann
Michael Barto wrote: If you have downloaded the module instead of using CPAN, look at the file INSTALL in the module. If should tell you what to do: #./configuration #make #make check = VERY IMPORTANT!! #make install Hmm, doesn't look very typical!! Most perl modules don't have an

Re: perltidy and -w flag

2006-10-05 Thread Paul McCann
Jay Savage wrote: I can't for the life of me figure how to get it to stop putting the '-w' flag on the shebang line. It also seems to occasionally eat my 'use warnings;' when it does it. I've just tried to replicate this in TextMate (selecting Tidy via the Perl bundle with a use warnings;

Re: Code Examples for NewAlias

2006-11-04 Thread Paul McCann
Laurence Haynes wrote: I'm trying to understand how to use the Mac::Files NewAlias function. I have not found any code examples and I'm struggling. The NewAlias function creates a filehandle. How do I create an alias file from the alias filehandle? I'm not surprised: Chris Nandor

Re: need a Little help please

2007-10-02 Thread Paul McCann
Hi Noah, I am not able to get CPAN to reload an index. I cant seem to figure out why I cant reload the CPAN index? Even after updating the CPAN URL list - I am still unable to fetch things from servers. The output you showed (in all its glory!) might result from not having FTP_PASSIVE