Hi all,
I just recently upgraded to Ubuntu and even though the distro comes with pd debs included when I install the package or even if I try to compile from source the following happens regardless of what flags I pass to pd:
ico@64bit-ubuntu:~/Desktop/pd-0.38-4-devel-1$ pd -verbose Pd version 0.38.4 devel compiled 20:48:09 Jun 2 2005 port 5400 TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library" "/usr/local/lib/pd/bin/pd-gui" 5400 Waiting for connection request...
Obviously, if I don't use "verbose" flag I don't get the printout below the call, but whichever way I try to spawn the application (including various flag combinations), the end result is the same: the pd at this point simply waits (hangs) as if there is no connection to be made.
Ctrl+c at this point gives me:
Pd: signal 2
I tried prepackaged deb for ubuntu, as well as 0.37.1 extended and 0.38.4 devel non-extended versions from source and they all behave in the same fashion.
What is interesting is that there are no /usr/local/lib/pd/tcl/library and /usr/local/lib/pd/tk/library folders, but even when I tried sym-linking them to appropriate lib folders, that still failed. Furthermore, from looking into other people's posts, apparently on their machines this worked as I saw, according to their included logs, that their versions of pd also looked into these folders.
To make the matters worse, I am in a quite bit of a time bind and therefore I would greatly appreciate any help I can get in this matter.
Thank you very much!
Best wishes,
Ico
ico@64bit-ubuntu:~/Desktop/pd-0.38-4-devel-1$ pd -verbose Pd version 0.38.4 devel compiled 20:48:09 Jun 2 2005 port 5400 TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library" "/usr/local/lib/pd/bin/pd-gui" 5400 Waiting for connection request...
do you have a firewall blocking port 5400?
cheers ... tim
No, I don't have a firewall on and the port is clearly created (I can trace its creation/deletion through one of the network-admin tools included with Gnome). However, I think I finally figured it out, it seems that Ubuntu loads /etc/hosts with various ipv6 things before stating localhost stuff and with which I am not too familiar with. I don't know if this has anything to do with it but for some reason the port 5400 is created on the IP 0.0.0.0 as opposed to 127.0.0.1 (although this may be simply the way how it is being reported in the network-admin tool I used). Once I deleted those entries in the /etc/hosts, leaving only the localhost one, the app started without a hitch. Go figure...
If anyone understands what has caused this, perhaps this may suggest that there is a bug in Pd regarding how it extracts localhost address (although it is obvious that I don't know what I am talking about here :-).
Best wishes,
Ivica Ico Bukvic, composer & multimedia sculptor http://meowing.ccm.uc.edu/~ico/
-----Original Message----- From: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] On Behalf Of Tim Blechmann Sent: Friday, June 03, 2005 10:49 AM To: ico@fuse.net Cc: pd-list@iem.at Subject: Re: [PD] help needed figuring out why pd on ubuntu hangs
ico@64bit-ubuntu:~/Desktop/pd-0.38-4-devel-1$ pd -verbose Pd version 0.38.4 devel compiled 20:48:09 Jun 2 2005 port 5400 TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library" "/usr/local/lib/pd/bin/pd-gui" 5400 Waiting for connection request...
do you have a firewall blocking port 5400?
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
latest mp3: kMW.mp3 http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
i'm having the same issue as ico, i think. i cannot start pd if i am connected to the internet. i'm using ubuntu.
i don't see anything odd in my /etc/hosts file (not that i really understand what to look for). i put it up at http://osoe.net/hosts if that can be any help. ico, where is it in network-admin that you can see how the ports are configured?
i'm totally new to networkStuff.
hope someone has some insight!
thanks in advance, jake
On 6/4/05, Ivica Ico Bukvic ico@fuse.net wrote:
No, I don't have a firewall on and the port is clearly created (I can trace its creation/deletion through one of the network-admin tools included with Gnome). However, I think I finally figured it out, it seems that Ubuntu loads /etc/hosts with various ipv6 things before stating localhost stuff and with which I am not too familiar with. I don't know if this has anything to do with it but for some reason the port 5400 is created on the IP 0.0.0.0 as opposed to 127.0.0.1 (although this may be simply the way how it is being reported in the network-admin tool I used). Once I deleted those entries in the /etc/hosts, leaving only the localhost one, the app started without a hitch. Go figure...
If anyone understands what has caused this, perhaps this may suggest that there is a bug in Pd regarding how it extracts localhost address (although it is obvious that I don't know what I am talking about here :-).
Best wishes,
Ivica Ico Bukvic, composer & multimedia sculptor http://meowing.ccm.uc.edu/~ico/
-----Original Message----- From: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] On Behalf Of Tim Blechmann Sent: Friday, June 03, 2005 10:49 AM To: ico@fuse.net Cc: pd-list@iem.at Subject: Re: [PD] help needed figuring out why pd on ubuntu hangs
ico@64bit-ubuntu:~/Desktop/pd-0.38-4-devel-1$ pd -verbose Pd version 0.38.4 devel compiled 20:48:09 Jun 2 2005 port 5400 TCL_LIBRARY="/usr/local/lib/pd/tcl/library" TK_LIBRARY="/usr/local/lib/pd/tk/library" "/usr/local/lib/pd/bin/pd-gui" 5400 Waiting for connection request...
do you have a firewall blocking port 5400?
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
latest mp3: kMW.mp3 http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Oboy... I just looked in s_inter.c and saw that, in linux, the IP address is hardwired to 127.0.0.1. So -- just a guess -- maybe the C compiler hasn't defined __linux__ for some reason. That would break a number of other things (in fact I'd be surprised Pd compiled at all in that case...)
cheers Miller
On Wed, Jul 20, 2005 at 02:32:59PM -0700, jake elliott wrote:
i'm having the same issue as ico, i think. i cannot start pd if i am connected to the internet. i'm using ubuntu.
i don't see anything odd in my /etc/hosts file (not that i really understand what to look for). i put it up at http://osoe.net/hosts if that can be any help. ico, where is it in network-admin that you can see how the ports are configured?
i'm totally new to networkStuff.
hope someone has some insight!
thanks in advance, jake
On Wed, 20 Jul 2005, Miller Puckette wrote:
Oboy... I just looked in s_inter.c and saw that, in linux, the IP address is hardwired to 127.0.0.1. So -- just a guess -- maybe the C compiler hasn't defined __linux__ for some reason. That would break a number of other things (in fact I'd be surprised Pd compiled at all in that case...)
I doubt that this is the reason as it seems to work when not connected to the internet, right ? And, if the host is not found pd would print something like: "localhost not found (inet protocol not installed?)"
So, my guess is that gethostbyname on ubuntu somehow fails to set 127.0.0.1 and sets it to 0.0.0.0 as Ico observed... would be really weird though.
What version of pd are you using ?
Strange ...
Guenter
cheers Miller
On Wed, Jul 20, 2005 at 02:32:59PM -0700, jake elliott wrote:
i'm having the same issue as ico, i think. i cannot start pd if i am connected to the internet. i'm using ubuntu.
i don't see anything odd in my /etc/hosts file (not that i really understand what to look for). i put it up at http://osoe.net/hosts if that can be any help. ico, where is it in network-admin that you can see how the ports are configured?
i'm totally new to networkStuff.
hope someone has some insight!
thanks in advance, jake
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Maybe your loopback is not installed?
Does /etc/hosts say:
127.0.0.1 localhost
anywhere?
does ifconfig print something like:
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1017 errors:0 dropped:0 overruns:0 frame:0 TX packets:1017 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:64420 (62.9 Kb) TX bytes:64420 (62.9 Kb)
I had to do something funny on some distro at some point because the loopback was non-existant in the default installation, strange I know..
I'm not on my debian machine there should be something in /etc/ like "networks" or "network/interfaces" that says something like:
loopback 127.0.0.0
clearly it will not work without loopback....
b.
Guenter Geiger wrote:
On Wed, 20 Jul 2005, Miller Puckette wrote:
Oboy... I just looked in s_inter.c and saw that, in linux, the IP address is hardwired to 127.0.0.1. So -- just a guess -- maybe the C compiler hasn't defined __linux__ for some reason. That would break a number of other things (in fact I'd be surprised Pd compiled at all in that case...)
I doubt that this is the reason as it seems to work when not connected to the internet, right ? And, if the host is not found pd would print something like: "localhost not found (inet protocol not installed?)"
So, my guess is that gethostbyname on ubuntu somehow fails to set 127.0.0.1 and sets it to 0.0.0.0 as Ico observed... would be really weird though.
What version of pd are you using ?
Strange ...
Guenter
cheers Miller
On Wed, Jul 20, 2005 at 02:32:59PM -0700, jake elliott wrote:
i'm having the same issue as ico, i think. i cannot start pd if i am connected to the internet. i'm using ubuntu.
i don't see anything odd in my /etc/hosts file (not that i really understand what to look for). i put it up at http://osoe.net/hosts if that can be any help. ico, where is it in network-admin that you can see how the ports are configured?
i'm totally new to networkStuff.
hope someone has some insight!
thanks in advance, jake
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi,
my ifconfig has this info:
lo Link encap:Local Loopback inet6 addr: ::1/128 Scope:Host
there's no "inet addr" just "inet6 addr" - maybe that's causing some problem.
my version # is "0.38.0+amidi-1" (ubuntu package).
also at the top of /etc/hosts it says: 127.0.0.1 localhost.localdomain localhost tudor
does that help?
thanks for your help jake
On 7/21/05, B. Bogart ben@ekran.org wrote:
Maybe your loopback is not installed?
Does /etc/hosts say:
127.0.0.1 localhost
anywhere?
does ifconfig print something like:
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1017 errors:0 dropped:0 overruns:0 frame:0 TX packets:1017 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:64420 (62.9 Kb) TX bytes:64420 (62.9 Kb)
I had to do something funny on some distro at some point because the loopback was non-existant in the default installation, strange I know..
I'm not on my debian machine there should be something in /etc/ like "networks" or "network/interfaces" that says something like:
loopback 127.0.0.0
clearly it will not work without loopback....
b.
Guenter Geiger wrote:
On Wed, 20 Jul 2005, Miller Puckette wrote:
Oboy... I just looked in s_inter.c and saw that, in linux, the IP address is hardwired to 127.0.0.1. So -- just a guess -- maybe the C compiler hasn't defined __linux__ for some reason. That would break a number of other things (in fact I'd be surprised Pd compiled at all in that case...)
I doubt that this is the reason as it seems to work when not connected to the internet, right ? And, if the host is not found pd would print something like: "localhost not found (inet protocol not installed?)"
So, my guess is that gethostbyname on ubuntu somehow fails to set 127.0.0.1 and sets it to 0.0.0.0 as Ico observed... would be really weird though.
What version of pd are you using ?
Strange ...
Guenter
cheers Miller
On Wed, Jul 20, 2005 at 02:32:59PM -0700, jake elliott wrote:
i'm having the same issue as ico, i think. i cannot start pd if i am connected to the internet. i'm using ubuntu.
i don't see anything odd in my /etc/hosts file (not that i really understand what to look for). i put it up at http://osoe.net/hosts if that can be any help. ico, where is it in network-admin that you can see how the ports are configured?
i'm totally new to networkStuff.
hope someone has some insight!
thanks in advance, jake
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list