hi all, i'm new to this list (and pd) so i thought i'd introduce myself & throw out some general (and more specific) questions i've got... i've been working with max/msp for the past few years, and i've always been curious to check out pd, but haven't had the occasion (or else i'm just lazy ;) basically what has motivated me to take the plunge is an interest in creating a series of patches that will stream audio from a linux server based on user interactivity on a website like i said i'm new to this game, so any hints you all can give me would be great i'm thinking basically i'd use the xml socket library in flash with osc as the glue between flash & pd i've downloaded pd for os x & started going through the documentation, so hopefully i'll be up & running fairly quickly on that end of things in the meantime i'm trying to figure out how to get some sort of a testing environment up on the server as well i got this far in the pd installation process & hit a wall:
checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for dlopen in -ldl... yes checking for sin in -lffm... no checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for X... no checking for XCreateWindow in -lX11... no no X11 found checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking tcl8.7/tcl.h usability... no checking tcl8.7/tcl.h presence... no checking for tcl8.7/tcl.h... no checking tcl8.6/tcl.h usability... no checking tcl8.6/tcl.h presence... no checking for tcl8.6/tcl.h... no checking tcl8.5/tcl.h usability... no checking tcl8.5/tcl.h presence... no checking for tcl8.5/tcl.h... no checking tcl8.4/tcl.h usability... no checking tcl8.4/tcl.h presence... no checking for tcl8.4/tcl.h... no checking tcl8.3/tcl.h usability... no checking tcl8.3/tcl.h presence... no checking for tcl8.3/tcl.h... no checking tcl8.2/tcl.h usability... no checking tcl8.2/tcl.h presence... no checking for tcl8.2/tcl.h... no no tcl header found
so, from what i can tell, it looks like i need to install x86 as mentioned in the pd documentation unfortunately i'm using a virtual private server, so i don't have root
the Xinstall.sh file told me: Checking which OS you're running... uname reports 'Linux' version '2.4.9-e.40', architecture 'i686'. libc version is '6.2.4' (6.2).
Binary distribution name is 'Linux-ix86-glibc22'
so i downloaded everything i needed according to the info at http://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/Install then when i ran it again, i got: sh: ./Xinstall.sh: bad interpreter: Permission denied
i then tried chmod'ing & chown'ing everything to my account, but keep getting the same error message so i'm not sure where that leaves me...
i see that there are compiled versions of pd for mac, irix & windows... but is there one for linux anywhere?
i'm also curious as how i would connect the audio output from a pd patch to a streaming mechanism and whether this is something that is even feasible in a shared environment, or if i would need to have a dedicated machine co-located somewhere any help or guidance anyone out there could give me would be great...
thanks, -mark
Hi, I just built pd from cvs for the first time today, and gladly found it was very straight forward (congratulations developers!). What you are missing is not Xfree86, but tcl (and probably tk). I use planet ccrma so it as very easy to get tcl-devel and tk-devel. Since you don't have root password, I'm not sure if things will work, and will surely be a bit more complicated. You will probably have to instruct pd's configure where to find the tcl/tk installation. You will also need at least alsa support if you're doing audio streaming, so check if that's installed. (I think it probably is since it's a recent kernel) You can find tcl/tk here: http://sourceforge.net/project/showfiles.php?group_id=10894
Good luck, Andrés
On Thu, 2005-03-17 at 16:37, cera wrote:
hi all, i'm new to this list (and pd) so i thought i'd introduce myself &throw out some general (and more specific) questions i've got... i've been working with max/msp for the past few years, and i've alwaysbeen curious to check out pd, but haven't had the occasion (or elsei'm just lazy ;) basically what has motivated me to take the plunge is an interest increating a series of patches that will stream audio from a linuxserver based on user interactivity on a website like i said i'm new to this game, so any hints you all can give mewould be great i'm thinking basically i'd use the xml socket library in flash withosc as the glue between flash & pd i've downloaded pd for os x & started going through the documentation,so hopefully i'll be up & running fairly quickly on that end of things in the meantime i'm trying to figure out how to get some sort of atesting environment up on the server as well i got this far in the pd installation process & hit a wall:
checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for dlopen in -ldl... yes checking for sin in -lffm... no checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for X... no checking for XCreateWindow in -lX11... no no X11 found checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking tcl8.7/tcl.h usability... no checking tcl8.7/tcl.h presence... no checking for tcl8.7/tcl.h... no checking tcl8.6/tcl.h usability... no checking tcl8.6/tcl.h presence... no checking for tcl8.6/tcl.h... no checking tcl8.5/tcl.h usability... no checking tcl8.5/tcl.h presence... no checking for tcl8.5/tcl.h... no checking tcl8.4/tcl.h usability... no checking tcl8.4/tcl.h presence... no checking for tcl8.4/tcl.h... no checking tcl8.3/tcl.h usability... no checking tcl8.3/tcl.h presence... no checking for tcl8.3/tcl.h... no checking tcl8.2/tcl.h usability... no checking tcl8.2/tcl.h presence... no checking for tcl8.2/tcl.h... no no tcl header found
so, from what i can tell, it looks like i need to install x86 asmentioned in the pd documentation unfortunately i'm using a virtual private server, so i don't have root
the Xinstall.sh file told me: Checking which OS you're running... uname reports 'Linux' version '2.4.9-e.40', architecture 'i686'. libc version is '6.2.4' (6.2).
Binary distribution name is 'Linux-ix86-glibc22'
so i downloaded everything i needed according to the info athttp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/Install then when i ran it again, i got: sh: ./Xinstall.sh: bad interpreter: Permission denied
i then tried chmod'ing & chown'ing everything to my account,but keep getting the same error message so i'm not sure where that leaves me...
i see that there are compiled versions of pd for mac, irix & windows... but is there one for linux anywhere?
i'm also curious as how i would connect the audio output from a pdpatch to a streaming mechanism and whether this is something that is even feasible in a sharedenvironment, or if i would need to have a dedicated machine co-located somewhere any help or guidance anyone out there could give me would be great...
thanks, -mark
I read:
You will also need at least alsa support if you're doing audio streaming, so check if that's installed. (I think it probably is since
no if you only want to stream on the network you need no audio hardware and no audio drivers. (actually if you plan to run -nogui and are willing to roll up your sleeves I guess one can get rid of the tcl/tk dependency aswell)
regards,
x
nice one, thanks all for the tips... -nogui sounds fine by me, long as i can build the patches with the gui then upload... if somebody could help point me to documentation (or kick down some knowledge) on how to install without the tcl/tk dependency that would be great... but are there any cross-platform compatibility issues (os x to linux) i should be aware of before going this route? oh yeah & would you recommend shoutcast~ or mp3cast~ ...or something else?
thx, mk
On Mar 17, 2005, at 5:15 PM, CK wrote:
I read:
You will also need at least alsa support if you're doing audio streaming, so check if that's installed. (I think it probably is since
no if you only want to stream on the network you need no audio hardware and no audio drivers. (actually if you plan to run -nogui and are willing to roll up your sleeves I guess one can get rid of the tcl/tk dependency aswell)
regards,
x
-- chris@lo-res.org Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via ctheory.com)
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
hm ok, i tried installing the ActiveTcl8.4.9.0.121397-linux-ix86 package in /usr/lib/ gave symbolic links to libtcl8.4.so -> libtcl.so & libtk8.4.so -> libtk.so extended PATH="/ftp/usr/lib/bin:$PATH" & export[ed] PATH configured pd --without-x (--without-tcl doesn't seem to do any good) but still no go... anything i'm missing?
$ ./configure --without-X --without-tcl checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for dlopen in -ldl... yes checking for sin in -lffm... no checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for X... disabled checking for XCreateWindow in -lX11... no no X11 found checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking tcl8.7/tcl.h usability... no checking tcl8.7/tcl.h presence... no checking for tcl8.7/tcl.h... no checking tcl8.6/tcl.h usability... no checking tcl8.6/tcl.h presence... no checking for tcl8.6/tcl.h... no checking tcl8.5/tcl.h usability... no checking tcl8.5/tcl.h presence... no checking for tcl8.5/tcl.h... no checking tcl8.4/tcl.h usability... no checking tcl8.4/tcl.h presence... no checking for tcl8.4/tcl.h... no checking tcl8.3/tcl.h usability... no checking tcl8.3/tcl.h presence... no checking for tcl8.3/tcl.h... no checking tcl8.2/tcl.h usability... no checking tcl8.2/tcl.h presence... no checking for tcl8.2/tcl.h... no no tcl header found
best, mark
On Mar 17, 2005, at 7:05 PM, cera wrote:
nice one, thanks all for the tips... -nogui sounds fine by me, long as i can build the patches with the gui then upload... if somebody could help point me to documentation (or kick down some knowledge) on how to install without the tcl/tk dependency that would be great... but are there any cross-platform compatibility issues (os x to linux) i should be aware of before going this route? oh yeah & would you recommend shoutcast~ or mp3cast~ ...or something else?
thx, mk
On Mar 17, 2005, at 5:15 PM, CK wrote:
I read:
You will also need at least alsa support if you're doing audio streaming, so check if that's installed. (I think it probably is since
no if you only want to stream on the network you need no audio hardware and no audio drivers. (actually if you plan to run -nogui and are willing to roll up your sleeves I guess one can get rid of the tcl/tk dependency aswell)
regards,
x
-- chris@lo-res.org Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via ctheory.com)
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
I read:
hm ok, i tried installing the ActiveTcl8.4.9.0.121397-linux-ix86 package in /usr/lib/ gave symbolic links to libtcl8.4.so -> libtcl.so & libtk8.4.so -> libtk.so extended PATH="/ftp/usr/lib/bin:$PATH" & export[ed] PATH configured pd --without-x (--without-tcl doesn't seem to do any good) but still no go... anything i'm missing?
most probably the development package[s], that contain the tcl/tk include files.
HTH
x
Hi Cera,
please note the remote X11 forwarding post I just sent out. I think it might be useful for you to administrate PD running on a server.
However, if you compile PD thusly:
cera wrote:
$ ./configure --without-X --without-tcl
you will not be able to use the remote X11 over SSH because it relies on the X display of the Remote machine (i.e. the server). Of course, there are other ways of doing it (stop PD, make a new patch and SCP that to the running server and then start PD with "-nogui" and "-open $FILENAME" flags, for example).
So, it might be a good idea to approach the administator of your server and ask if it's possible to install TCL, TK and X for your use.
best, derek