Re: unix tip of the week

2002-12-16 Thread Riccardo Perotti
On 12/15/2002 11:21 PM, Puneet Kishor wrote: well, this is really very simple... geeks, please don't laugh. this is for newbies only. 1. I have a directory called unixtips. 2. I have the following files -- index.html, toc.pl, tipdetail.pl, unixtips.txt (files shown below) 3. index.html

Re: unix tip of the week

2002-12-16 Thread Riccardo Perotti
I had written: Too bad I only have one tip to test it on. Can't wait for next week's tip. I just went back to www.ugu.com and discovered that one gets a Hot Unix Tip *everyday*! Great! There'll be plenty to test on (and hopefully learn some Unix!!) Riccardo -- mailto:[EMAIL PROTECTED]

Re: How to build Axpoint?

2002-12-16 Thread David Donovan
hello jking, I too am having difficulty getting AxPoint to build... I did get libiconv linked however... the problem is in the Text::Iconv perl module.. you need to hack the Makefile.Pl file like so (assuming you have your fink stuff in /sw): use ExtUtils::MakeMaker; # See

Re: How to build Axpoint?

2002-12-16 Thread David Donovan
hello again, so i got pdflib to build with the perl bindings... it seems that fink sets CFLAGS and LDFLAGS to /sw/lib or something and this causes the package to look for external zlibs... so just do an unsetenv on them, and it should compile (with the exception of tcl, which we know is broken

Upgrade Mac::Carbon problems

2002-12-16 Thread Jon Boehm
Hi, I had a problem upgrading to Mac::Carbon-0.02 tonight. A) CPAN would not build and install b) AND THE BIGGEST PROBLEM After installing the binary from the MacPerl web I got the following error. dyld: perl Undefined symbols: _Perl_sv_2pv _perl_get_sv Trace/BPT trap Then misterhouse, a

Speach and Volume

2002-12-16 Thread Jon Boehm
Hi, I'm using Mac::Carbon0.01. See my previous post as to why I have not upgraded. So the volume settings in this code snippet are not working correctly: my $volume_reset = GetDefaultOutputVolume(); SetDefaultOutputVolume(2**100); SpeakText($Mac_Channel, $mac_text);

DYLD_ALLOW_MULTISYMS

2002-12-16 Thread Kevin Michael Vail
OK, I know I had this working once before. Trying to install Tk. I've got the DYLD_ALLOW_MULTISYMS environment variable set but I'm still getting the note about duplicate definitions of _LangExit in Tk.bundle and the other one (Event, I think). This is under 10.2.2. Am I correct that you

No output (Newbie question)

2002-12-16 Thread San Tunstall
Hi folks, I've searched the archives but can't find an answer to this question. I've run perl scripts from DOS and cygwin but cannot get a basic hello world script to work on my Mac. #! line, permissions on the script, location of perl, etc. seem to be ok. But when I try to run a script I get

Re: DYLD_ALLOW_MULTISYMS

2002-12-16 Thread Jerry LeVan
OK, I know I had this working once before. Trying to install Tk. I've got the DYLD_ALLOW_MULTISYMS environment variable set but I'm still getting the note about duplicate definitions of _LangExit in Tk.bundle and the other one (Event, I think). This is under 10.2.2. Am I correct that you

RE: No output (Newbie question)

2002-12-16 Thread Deshazer, Earl (GEAE)
Well, I have had that problem several times and I figured out there could be one of two problems. 1) Hidden Mac endings in your script (\r) when it should be unix (\n) 2) Executing in Mac is ./script_name With regards to the first problem, if you edit the file in vi or emacs, then you

Re: No output (Newbie question)

2002-12-16 Thread Peter N Lewis
#! line, permissions on the script, location of perl, etc. seem to be ok. But when I try to run a script I get no result. No error message, no hello world printed to the terminal. Tried redirecting output to a file, but file was empty. Check the line endings on the file, this is a classic

Ruby advantages and shortcomings over Perl

2002-12-16 Thread Emmanuel. M. Decarie
Hello, I have read very good things about Ruby and I was wondering if anyone with experience with this language could provide an insight on what are its advantages and shortcomings over Perl. http://www.ruby-lang.org/en/index.html http://www.linux-mag.com/2002-04/ruby_01.html

Re: Upgrade Mac::Carbon problems

2002-12-16 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jon Boehm) wrote: I had a problem upgrading to Mac::Carbon-0.02 tonight. A) CPAN would not build and install b) AND THE BIGGEST PROBLEM After installing the binary from the MacPerl web I got the following error. dyld: perl Undefined

Re: DYLD_ALLOW_MULTISYMS

2002-12-16 Thread rick
Quoting Kevin Michael Vail [EMAIL PROTECTED]: OK, I know I had this working once before. Trying to install Tk. I've got the DYLD_ALLOW_MULTISYMS environment variable set but I'm still getting the note about duplicate definitions of _LangExit in Tk.bundle and the other one (Event, I

Re: Test Mac::Carbon build for me?

2002-12-16 Thread Emmanuel. M. Decarie
À (At) 18:07 -0500 14/12/02, Chris Nandor écrivait (wrote) : In article p05200f0dba2013320b77@[192.168.0.2], [EMAIL PROTECTED] (Emmanuel. M. Decarie) wrote: Mac-Carbon-0.02 01 doesn't compile on my machine. I get this error: /usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty

Re: Test Mac::Carbon build for me?

2002-12-16 Thread Chris Nandor
In article p05200f0bba23a385de61@[192.168.0.2], [EMAIL PROTECTED] (Emmanuel. M. Decarie) wrote: À (At) 18:07 -0500 14/12/02, Chris Nandor écrivait (wrote) : Could you search your system headers for keyReplyPortAttr? Hmm, not sure what you are saying here. I just know basic C and I'm not

Re: unix tip of the week

2002-12-16 Thread Puneet Kishor
Riccardo Perotti wrote: On 12/15/2002 11:21 PM, Puneet Kishor wrote: well, this is really very simple... geeks, please don't laugh. this is for newbies only. .. (1) My AppleScript takes the contents of the opened message window and passes that to BBedit, which Cleans the mail's headers and

do compilers make a difference OR why is my perl slow

2002-12-16 Thread Puneet Kishor
Folks, I recently read that gcc is a dog. (I am heavily paraphrasing for the sake of brevity). The same program compiled with a different compiler ran significantly faster. That specific article itself is irrelevant. But what inquiring (and clueless) minds want to know, is my OS X perl slower

Re: do compilers make a difference OR why is my perl slow

2002-12-16 Thread Chris Devers
On Mon, 16 Dec 2002, Puneet Kishor wrote: Yes, the iBook CPU is 200 Mhz slower, and god only knows how we can compare a P3 to G3, but 2.5 times the time taken is a bit much. Coming back to my initial assertion -- Could some of this be attributed to the way the perl binary is compiled?

RE: No output (Newbie question)

2002-12-16 Thread San Tunstall
You are right. That was exactly the problem. Needed to tell BBedit waht kind of end-of-line to use. Thanks! On Mon, 16 Dec 2002 09:02:08 -0500, Deshazer, Earl (GEAE) [EMAIL PROTECTED] said: I have had that problem several times and I figured out there could be one of two problems. 1)

Re: Test Mac::Carbon build for me?

2002-12-16 Thread John R. Fraser Jr.
Successful build on my Mac iBook running 10.2.2. A very cool package, thanks. John On Thursday, December 12, 2002, at 05:18 PM, Chris Nandor wrote: http://dev.macperl.org/tmp/Mac-Carbon-0.02_01.tar.gz If you have the time, please try this build out, compiling and testing. It's been tested

Re: No output (Newbie question)

2002-12-16 Thread Rich Michaela
Deshazer, Earl (GEAE) wrote: With regard to command execution. Unlike the flavors of Unix that I am familiar with, Unix requires a specification on where the command is thus ./ This has nothing to do with what flavor of UNIX you're running. and everything to do with your PATH environment