Hi,
I've looked at the archives but can't seen to find any mention of the osx experiment that's available.. So...
Could anyone who's successfully built pd on osx possibly extend a hand to me (on or offlist whichever is preferred) as I am having strangeties regarding CoreAudio not being found where it actually exists and also am not sure which tcl/tk install is needed - I used fink to install tcltk but I don't have any of these dirs which are listed in configure.in
-I/Library/Frameworks/Tk.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders
Could this be a problem as well? ./configure says
checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no
I have /System/Library/Tcl/8.3 which seems bad... Or different at least.
Damn! .. Now all us gui addicts get our hands on a command line and everything has to be explained again ;)
tia
Get Miller's osx experimental version from:
http://crca.ucsd.edu/~msp/software.html
This is the OS X alpha implementation of Tcl/Tk I was able to get working with pd:
http://sourceforge.net/project/showfiles.php?group_id=10894&release_id=5...
Be sure you drag the "Wish Shell" app directly into the "Applications" folder; the pd source has that path hard-coded.
As Miller mentioned, there's still some latency issues and GUI issues (and no MIDI), but other than that, it's been working great, even with my M-Audio Delta card.
Good luck!
--Jason
on 11/15/01 10:38 PM, ~~~~~~ wrote:
Hi,
I've looked at the archives but can't seen to find any mention of the osx experiment that's available.. So...
Could anyone who's successfully built pd on osx possibly extend a hand to me (on or offlist whichever is preferred) as I am having strangeties regarding CoreAudio not being found where it actually exists and also am not sure which tcl/tk install is needed - I used fink to install tcltk but I don't have any of these dirs which are listed in configure.in
-I/Library/Frameworks/Tk.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders
Could this be a problem as well? ./configure says
checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no
I have /System/Library/Tcl/8.3 which seems bad... Or different at least.
Damn! .. Now all us gui addicts get our hands on a command line and everything has to be explained again ;)
tia
on 17/11/01 12:29 AM, Jason Freeman at jason_freeman34@hotmail.com said something like:
This is the OS X alpha implementation of Tcl/Tk I was able to get working with pd:
http://sourceforge.net/project/showfiles.php?group_id=10894&release_id=5...
Thanks for that link - seems to be the trick - for that part anyway ;)
I am supposing that the Library dir that's included in the tarball is meant for the /System/Library and not /Library as there is no Frameworks dir in the latter but there is in the former.
I am still having a problem finding the CoreAudio framework though - any ideas on this?
Here's an attempt to make the thing - I've looked at /System/Library/Frameworks/CoreAudio.framework/Versions/A/ And CoreAudio is at that address. (confused)
Osx 10.1.1 TiBook...
[localhost:~/Documents/pd/src] % make clean
makefile:113: target
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio' doesn't match the target pattern rm -f
find ../extra/ -name "*.pd_*"usage: rm [-dfiPRrW] file ... make: [extra-clean] Error 1 (ignored) rm -f ../obj/* ../bin/pd ../bin/pd-gui ../bin/pdsend \ ../bin/pdreceive ../bin/pd-watchdog m_stamp.c rm -f *~ rm -f ../bin/pdsend ../bin/pdreceive (cd ../doc/6.externs; rm -f *.pd_linux) cd: no such file or directory: ../doc/6.externs rm -f tags rm -f makefile.dependencies touch makefile.dependencies chmod 666 makefile.dependencies [localhost:~/Documents/pd/src] % autoconf [localhost:~/Documents/pd/src] % ./configure loading cache ./config.cache checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... (cached) cc -E -traditional-cpp checking for main in -lX11... (cached) no checking for main in -ldl... (cached) no dynamic link support required checking for main in -lffm... (cached) no checking for main in -lm... (cached) yes checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no checking for main in -lpthread... (cached) yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) no checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for bstring.h... (cached) no checking for tk.h... (cached) no checking for tkstep.h... (cached) no checking for working const... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether cc needs -traditional... (cached) no checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strerror... (cached) yes creating ./config.status creating makefile [localhost:~/Documents/pd/src] % sudo make install Password: Sorry, try again. ;) Password: makefile:113: target
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio'
doesn't match the target pattern
install -d //usr/local/lib/pd/bin
install ../bin/pd-gui //usr/local/lib/pd/bin/pd-gui
install: ../bin/pd-gui: No such file or directory
make: *** [install-bin] Error 1
[localhost:~/Documents/pd/src] %
Yes, you're right about the Library dir belonging in /System/Library.
I just used the precompiled binaries that were included in Miller's tarball, and they worked fine on my 10.1.1 machine, so I didn't try to compile myself. So not sure about the Coreaudio error.
--Jason
on 11/16/01 8:07 PM, ~~~~~~ wrote:
on 17/11/01 12:29 AM, Jason Freeman at jason_freeman34@hotmail.com said something like:
This is the OS X alpha implementation of Tcl/Tk I was able to get working with pd:
http://sourceforge.net/project/showfiles.php?group_id=10894&release_id=5...
Thanks for that link - seems to be the trick - for that part anyway ;)
I am supposing that the Library dir that's included in the tarball is meant for the /System/Library and not /Library as there is no Frameworks dir in the latter but there is in the former.
I am still having a problem finding the CoreAudio framework though - any ideas on this?
Here's an attempt to make the thing - I've looked at /System/Library/Frameworks/CoreAudio.framework/Versions/A/ And CoreAudio is at that address. (confused)
Osx 10.1.1 TiBook...
[localhost:~/Documents/pd/src] % make clean makefile:113: target
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio' doesn't match the target pattern rm -f
find ../extra/ -name "*.pd_*"usage: rm [-dfiPRrW] file ... make: [extra-clean] Error 1 (ignored) rm -f ../obj/* ../bin/pd ../bin/pd-gui ../bin/pdsend \ ../bin/pdreceive ../bin/pd-watchdog m_stamp.c rm -f *~ rm -f ../bin/pdsend ../bin/pdreceive (cd ../doc/6.externs; rm -f *.pd_linux) cd: no such file or directory: ../doc/6.externs rm -f tags rm -f makefile.dependencies touch makefile.dependencies chmod 666 makefile.dependencies [localhost:~/Documents/pd/src] % autoconf [localhost:~/Documents/pd/src] % ./configure loading cache ./config.cache checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... (cached) cc -E -traditional-cpp checking for main in -lX11... (cached) no checking for main in -ldl... (cached) no dynamic link support required checking for main in -lffm... (cached) no checking for main in -lm... (cached) yes checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no checking for main in -lpthread... (cached) yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) no checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for bstring.h... (cached) no checking for tk.h... (cached) no checking for tkstep.h... (cached) no checking for working const... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether cc needs -traditional... (cached) no checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strerror... (cached) yes creating ./config.status creating makefile [localhost:~/Documents/pd/src] % sudo make install Password: Sorry, try again. ;) Password: makefile:113: target
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio' doesn't match the target pattern install -d //usr/local/lib/pd/bin install ../bin/pd-gui //usr/local/lib/pd/bin/pd-gui install: ../bin/pd-gui: No such file or directory make: *** [install-bin] Error 1 [localhost:~/Documents/pd/src] %
Oh right -
That's cool - I downloaded it again and the binary was there - maybe I screwed it by trying to compile Last time
Looks funny, with all the aqua menus but seems to work fine
Thanks!
on 17/11/01 1:47 PM, Jason Freeman at jason_freeman34@hotmail.com said something like:
Yes, you're right about the Library dir belonging in /System/Library.
I just used the precompiled binaries that were included in Miller's tarball, and they worked fine on my 10.1.1 machine, so I didn't try to compile myself. So not sure about the Coreaudio error.
--Jason
Have you been able to type anything into a patch?
Eg make new objects, type comments etc? I just get blank (and what looks like new line) characters for every key when typing
on 17/11/01 2:24 PM, ~~~~~~ at overt@overlobe.com said something like:
Have you been able to type anything into a patch?
Eg make new objects, type comments etc? I just get blank (and what looks like new line) characters for every key when typing
Now it seems fine after restart - sorry.. I'll shut up now and tinker. :)
Just some feedback on the osx version for whoever's interested.
Yes latency is big, and there are some problems with keystrokes (backspace)
doesn't seem to be rhyme or reason to this - sometimes takes a couple of restarts. Sometimes opening a patch will 'break' the keyboard input.
Loading some properties patches will crash pd sometimes - but it's not reliable.. Ie happens 'sometimes' and not others
As with clicking in the window in locked or ctrl-clicking in edit mode - it seems to work on messages and atoms sometimes and not others - is this some thing to do with the latency? (happens with dsp on & off)
The biggest problem for me at the moment is that saving doesn't seem to work.
I can save an opened .pd patch - say I'm looking at and edit acoustics~.pd
So ctrl-s = saved to: /Users/myhome/Documents/pd/doc/5.reference/acoustics~.pd
But save as.. From the file menu =
HandleInitialDir bad directory "/Users/myhome/Documents/pd/doc/5.reference"
Likewise save or crtl-s or save as.. For any new document give the same response
HandleInitialDir bad directory "/Users/myhome"
Not that I'm complaining mind you .. It is very cool to have it running at all. :)
Hi,
In TK on OSX, the "-initialdir" setting to the open and save panels is broken. You can search in u_main.tk and bin/pd.tk and patch these by replacing the two remaining such lines:
-initialdir $help_directory]
by: ]
and:
set filename [tk_getSaveFile -initialfile $initfile -initialdir $initdir \
by:
set filename [tk_getSaveFile -initialfile $initfile \
(i'll do this in my copy too but I'm not going to get it turned around real fast.. Anyway, I think TK will fix this real soon and we can go back to the "right" version.)
cheers Miller
On Sun, Nov 18, 2001 at 05:53:28PM +1100, ~~~~~~ wrote:
Just some feedback on the osx version for whoever's interested.
Yes latency is big, and there are some problems with keystrokes (backspace)
- sometimes I cannot use the keyboard at all (even ctrl-O/W/X/V etc) -
doesn't seem to be rhyme or reason to this - sometimes takes a couple of restarts. Sometimes opening a patch will 'break' the keyboard input.
Loading some properties patches will crash pd sometimes - but it's not reliable.. Ie happens 'sometimes' and not others
As with clicking in the window in locked or ctrl-clicking in edit mode - it seems to work on messages and atoms sometimes and not others - is this some thing to do with the latency? (happens with dsp on & off)
The biggest problem for me at the moment is that saving doesn't seem to work.
I can save an opened .pd patch - say I'm looking at and edit acoustics~.pd
So ctrl-s = saved to: /Users/myhome/Documents/pd/doc/5.reference/acoustics~.pd
But save as.. From the file menu =
HandleInitialDir bad directory "/Users/myhome/Documents/pd/doc/5.reference"
Likewise save or crtl-s or save as.. For any new document give the same response
HandleInitialDir bad directory "/Users/myhome"
Not that I'm complaining mind you .. It is very cool to have it running at all. :)
Yes, it's been fine for me. The only key that doesn't work is delete/backspace, but everything else is fine. Don't have any clue what could be the cause of your problem, sorry.
on 11/16/01 10:24 PM, ~~~~~~ wrote:
Have you been able to type anything into a patch?
Eg make new objects, type comments etc? I just get blank (and what looks like new line) characters for every key when typing
Strange;
Why aren't you linking with -framework Tcl -framework Tk instead of using -I?
On Thursday, November 15, 2001, at 10:38 PM, ~~~~~~ wrote:
Hi,
I've looked at the archives but can't seen to find any mention of the osx experiment that's available.. So...
Could anyone who's successfully built pd on osx possibly extend a hand to me (on or offlist whichever is preferred) as I am having strangeties regarding CoreAudio not being found where it actually exists and also am not sure which tcl/tk install is needed - I used fink to install tcltk but I don't have any of these dirs which are listed in configure.in
-I/Library/Frameworks/Tk.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders
Could this be a problem as well? ./configure says
checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no
I have /System/Library/Tcl/8.3 which seems bad... Or different at least.
Damn! .. Now all us gui addicts get our hands on a command line and everything has to be explained again ;)
tia
'cause I don't know how to do that... Does that take care of include file searching too? (i.e., cc -framework Tcl)?
cheers Miller
On Fri, Nov 16, 2001 at 09:39:06AM -0500, lawter@codefab.com wrote:
Strange;
Why aren't you linking with -framework Tcl -framework Tk instead of using -I?
On Thursday, November 15, 2001, at 10:38 PM, ~~~~~~ wrote:
Hi,
I've looked at the archives but can't seen to find any mention of the osx experiment that's available.. So...
Could anyone who's successfully built pd on osx possibly extend a hand to me (on or offlist whichever is preferred) as I am having strangeties regarding CoreAudio not being found where it actually exists and also am not sure which tcl/tk install is needed - I used fink to install tcltk but I don't have any of these dirs which are listed in configure.in
-I/Library/Frameworks/Tk.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/Headers -I/Library/Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders
Could this be a problem as well? ./configure says
checking for main in -ltk8.3... (cached) no checking for main in -ltk8.2... (cached) no checking for main in -ltk8.0... (cached) no
I have /System/Library/Tcl/8.3 which seems bad... Or different at least.
Damn! .. Now all us gui addicts get our hands on a command line and everything has to be explained again ;)
tia