Mark,
You should download Adam Lindsay's installer, it seems to the most "Macintosh" friendly installer... The problems that you had with swapping out the binaries is probably due to the second binary being linked to a library that is not on your system. You should rerun the original installer to get the original binary back.
I am not really sure why this is, but every time I run pd as you have, I get similar errors. Basically, the way that I run it is by creating an 'alias' that points to the "absolute" path for the binary. you should be able to do the following:
[host:] user% alias pd /usr/local/pd/bin/pd
[host:] user% alias rtpd sudo /usr/local/pd/bin/pd
These two alias are used to run pd. The second is used to run pd with the -rt option (you need to be running as root for the realtime stuff).
The best place to put these 'alias' is in your '.tcshrc' file. This is a 'hidden' file that resides in your 'home' directory. You should be able to just add both of these lines to that file, and the alias' will be there for you each time you start a shell.
Mike
Mark Ballora wrote:
Sorry to make my first post here so long. I'm new to UNIX/OSX, and am running in circles trying to get pd installed.
After running the installer twice, I get the following at the terminal:
[techboy:~] markballora% which pd /usr/local/pd/bin/pd
and
[techboy:~] markballora% ls /usr/local/pd/bin pd pd-watchdog pd.tk pdreceive pdsend pdtcl
So far so good?
Then I tried: [techboy:~] markballora% pd -listdev reading startup file: /Users/markballora/.pdrc Number of devices = 4 ---------------------------------------------- #1 Name = Built-in audio controller Max Inputs = 2, Max Outputs = 0 Sample Rate Range = 8000.000000 to 96000.000000 Native Sample Formats = paFloat32, ---------------------------------------------- #2 DefaultInput Name = MOTU 828 Max Inputs = 8, Max Outputs = 0 Sample Rate Range = 8000.000000 to 96000.000000 Native Sample Formats = paFloat32, ---------------------------------------------- #3 Name = Built-in audio controller Max Inputs = 0, Max Outputs = 2 Sample Rate Range = 8000.000000 to 96000.000000 Native Sample Formats = paFloat32, ---------------------------------------------- #4 DefaultOutput Name = MOTU 828 Max Inputs = 0, Max Outputs = 8 Sample Rate Range = 8000.000000 to 96000.000000 Native Sample Formats = paFloat32,
0: CoreMIDI, Port B (input) 1: CoreMIDI, Port B (input) 2: CoreMIDI, Port B (output) 3: CoreMIDI, Port B (output) could not open midi output device number 1: Invalid device ID. using default input device number: 1 using default output device number: 3 nchan 2, flags 3, bufs 8, framesperbuf 256 Could not create output format converter: error = 0x666D743F = 'fmt?' Error number -10000 occured opening portaudio stream Error message: Host error. sh: /usr/local/bin/pd-watchdog: No such file or directory Error in startup script: couldn't read file "/usr/local/bin/pd.tk": no such file or directory 1
Seems odd, since the list of the directory showed the pd.tk file. At this point, I can run the program and get it to do simple math patches, but no audio or MIDI test works.
The same thing happened when I tried running the program from the prompt:
[techboy:~] markballora% pd reading startup file: /Users/markballora/.pdrc could not open midi output device number 1: Invalid device ID. using default input device number: 1 using default output device number: 3 nchan 2, flags 3, bufs 8, framesperbuf 256 Could not create output format converter: error = 0x666D743F = 'fmt?' Error number -10000 occured opening portaudio stream Error message: Host error. sh: /usr/local/bin/pd-watchdog: No such file or directory Error in startup script: couldn't read file "/usr/local/bin/pd.tk": no such file or directory
I tried replacing /usr/local/pd/bin/pd file with the file from: http://homepage.mac.com/atl/.cv/atl/Public/pd-pa-new-binary.tar.gz-link.gz which is supposed to make it more compatible with the MOTU 828.
Now, when I try running it from the prompt, I get:
[techboy:~] markballora% pd dyld: pd can't open library: /usr/X11R6/lib/libX11.6.dylib (No such file or directory, errno = 2) Trace/BPT trap
Similarly, trying to run it from Pd.command gives:
[techboy:~] markballora% /Applications/Pd.command; exit dyld: /usr/local/pd/bin/pd can't open library: /usr/X11R6/lib/libX11.6.dylib (No such file or directory, errno = 2) /Applications/Pd.command: line 2: 793 Trace/BPT trap /usr/local/pd/bin/pd -rt logout [Process completed]
Can anyone give me any guidance on how to get this thing working?
thanks --
Mark Ballora
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list