![]() |
1) You might want to clean out your existing CPAN setup (the .cpan directory) and start again since CPAN is assuming that you have the dev tools installed, so maybe some artifact from your previous attempt is causing problems.
2) Don't forget that another option is to get the modules via Fink. |
That did it! Now I can set about getting the script to function.
Thanks! Anthony |
Thanks for all the help. The script ran almost without edit once I figured out to run it from X11 instead of terminal. The only problem I'm having with it now is that it won't download files over about 400mb, but I don't think that's a perl problem.
Thanks again! Anthony |
I got the script functioning properly - thanks for all the help. I have one more question: I want to be able to launch the script from an icon. I know that means that I have to wrap it in AppleScript or Platypus. The problem is that I can't figure out the syntax to first launch x11 and then execute the script. I can get the X11 terminal window to launch from a script, but I can't then send a command to it. Any help would be appreciated.
Thanks, Anthony |
AppleScript can launch apps ('tell "YourBigApp" to activate').
And you can invoke AppleScript from a shell script or Perl script via 'osascript'. See examples in the Unix FAQ I have referred to above. |
Yeah, I had read all the stuff in the FAQ. Unfortunately in order to do what I want I have to start from the beginning and learn a whole lot of stuff that I'm not going to need again. I've been trying to get this script working on OS X and create an instruction set to help others do it. I thought simplifying the start process would help, but I've spent way more time on this than it's worth.
I was thinking about a MacBook Pro as my next computer, but so much of what I find myself doing is so much more difficult on a Mac that I'm back to looking at the ThinkPad. Thanks for all your help - I do appreciate it. Regards, Anthony |
| All times are GMT -5. The time now is 10:13 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.