Hi
I've just installed pd and when I run it I get the following line on the console, and no gui is started:
Error in startup script: couldn't read file "/usr/tcl//pd-gui.tcl": no such file or directory
One of my collegues has the 32bit version, which he tells me works fine.
I have looked around for 64bit build instructions/patches but didn't find anything. I didn't find anything relevant in the source code.
Locate reports:
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
Any help greatly appreciated. Thanks.
-Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-04-09 09:18, David Woodfall wrote:
Hi
I've just installed pd and when I run it I get the following line on the console, and no gui is started:
hi. it would be great if you could provide some more information.
which version of Pd are you talking about?
where did you get Pd? how did you install Pd? (compiled from source? package manager? other pre-built binary?)
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
Any help greatly appreciated. Thanks.
with a recent Pd you might have success by simply running: /usr/bin/pd-gui.tcl (instead of just "pd"). the foremost reason why Pd does not start, is that it cannot find it's own GUI component. you should be able to start the GUI by itself, which will in turn start the "core" pd - maybe with more success.
fmasdr IOhannes
Hi
I've just installed pd and when I run it I get the following line on the console, and no gui is started:
hi. it would be great if you could provide some more information.
which version of Pd are you talking about?
0.45-3
where did you get Pd? how did you install Pd? (compiled from source? package manager? other pre-built binary?)
Compiled from source obtained from the pd project page, using this method to package it:
./autogen.sh
CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
./configure
--prefix=/usr
--libdir=/usr/lib${LIBDIRSUFFIX}
--sysconfdir=/etc
--datadir=/usr/share/pd
--localstatedir=/var
--enable-alsa
--enable-setuid
--enable-jack
--enable-portaudio
--disable-portmidi
make make install DESTDIR=$PKG
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
Slackware linux 14.1 64bit
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
I though most 64bit OS's used /usr/lib64?
Any help greatly appreciated. Thanks.
with a recent Pd you might have success by simply running: /usr/bin/pd-gui.tcl (instead of just "pd"). the foremost reason why Pd does not start, is that it cannot find it's own GUI component. you should be able to start the GUI by itself, which will in turn start the "core" pd - maybe with more success.
I did try, but:
% pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
Thanks
-Dave
Hi
I've just installed pd and when I run it I get the following line on the console, and no gui is started:
hi. it would be great if you could provide some more information.
which version of Pd are you talking about?
0.45-3
Typo sorry: 0.45-4
where did you get Pd? how did you install Pd? (compiled from source? package manager? other pre-built binary?)
Compiled from source obtained from the pd project page, using this method to package it:
./autogen.sh
CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
./configure
--prefix=/usr
--libdir=/usr/lib${LIBDIRSUFFIX}
--sysconfdir=/etc
--datadir=/usr/share/pd
--localstatedir=/var
--enable-alsa
--enable-setuid
--enable-jack
--enable-portaudio
--disable-portmidimake make install DESTDIR=$PKG
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
Slackware linux 14.1 64bit
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
I though most 64bit OS's used /usr/lib64?
Any help greatly appreciated. Thanks.
with a recent Pd you might have success by simply running: /usr/bin/pd-gui.tcl (instead of just "pd"). the foremost reason why Pd does not start, is that it cannot find it's own GUI component. you should be able to start the GUI by itself, which will in turn start the "core" pd - maybe with more success.
I did try, but:
% pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
Thanks
-Dave
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-04-09 10:01, David Woodfall wrote:
Compiled from source obtained from the pd project page, using this method to package it:
i can think of three different "project pages":
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --datadir=/usr/share/pd \ --localstatedir=/var \
i guess these are standard configure flags for slackware builds, as most of them are not used in Pd.
--enable-alsa \ --enable-setuid \ --enable-jack \ --enable-portaudio \ --disable-portmidi
make make install DESTDIR=$PKG
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
Slackware linux 14.1 64bit
aha. i don't have any experience with slackware, however...
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
I though most 64bit OS's used /usr/lib64?
dunno. i'm mainly using Debian, which has switched to a more extendible scheme a while ago (using /usr/lib/x86_64-linux-gnu/ and the like) it also allow to put "native" libraries (e.g. 64bit libs on a 64bit system) directly into /usr/lib/.
anyhow, Pd currently hardcodes it's system path to (afaict) @prefix@/lib/pd/ (to be precise, it tries some more, but it definitely does *not* use @prefix@/lib64/pd/ nor the more sensible "@libdir@/pd" or even "@pkglibdir@".
so i guess you currently have to patch your Pd in order to make it work on 64bit slackware. something like the following:
sed -i -e "517s|lib/pd|lib${LIBDIRSUFFIX}/pd|" src/s_main.c
fgasdmr IOhannes
PS: pd-dev@lists.iem.at might be slightly more appropriate (but only if more issues arise)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-04-09 10:01, David Woodfall wrote:
Compiled from source obtained from the pd project page, using this method to package it:
i can think of three different "project pages":
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure
--prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX}
--sysconfdir=/etc \ --datadir=/usr/share/pd \ --localstatedir=/var \i guess these are standard configure flags for slackware builds, as most of them are not used in Pd.
--enable-alsa \ --enable-setuid \ --enable-jack
--enable-portaudio \ --disable-portmidimake make install DESTDIR=$PKG
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
Slackware linux 14.1 64bit
aha. i don't have any experience with slackware, however...
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
I though most 64bit OS's used /usr/lib64?
dunno. i'm mainly using Debian, which has switched to a more extendible scheme a while ago (using /usr/lib/x86_64-linux-gnu/ and the like) it also allow to put "native" libraries (e.g. 64bit libs on a 64bit system) directly into /usr/lib/.
anyhow, Pd currently hardcodes it's system path to (afaict) @prefix@/lib/pd/ (to be precise, it tries some more, but it definitely does *not* use @prefix@/lib64/pd/ nor the more sensible "@libdir@/pd" or even "@pkglibdir@".
so i guess you currently have to patch your Pd in order to make it work on 64bit slackware. something like the following:
sed -i -e "517s|lib/pd|lib${LIBDIRSUFFIX}/pd|" src/s_main.c
fgasdmr IOhannes
The configure/Makfile do correctly put the libs in place. Package contents:
http://www.r0t.co.uk/paste/p/hbPMoC73.html
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
-Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-04-09 10:01, David Woodfall wrote:
Compiled from source obtained from the pd project page, using this method to package it:
i can think of three different "project pages":
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure
--prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX}
--sysconfdir=/etc \ --datadir=/usr/share/pd \ --localstatedir=/var \i guess these are standard configure flags for slackware builds, as most of them are not used in Pd.
--enable-alsa \ --enable-setuid \ --enable-jack
--enable-portaudio \ --disable-portmidimake make install DESTDIR=$PKG
which OS are you using? your path only indicate that it is a un*x like system, but it might help to know whether you are using some obscure linux distro or plain irix :-)
Slackware linux 14.1 64bit
aha. i don't have any experience with slackware, however...
% locate pd-gui.tcl /usr/bin/pd-gui.tcl /usr/lib64/pd/tcl/pd-gui.tcl
/usr/lib64/? is this path still used on some (linux) systems? openSuSE?
I though most 64bit OS's used /usr/lib64?
dunno. i'm mainly using Debian, which has switched to a more extendible scheme a while ago (using /usr/lib/x86_64-linux-gnu/ and the like) it also allow to put "native" libraries (e.g. 64bit libs on a 64bit system) directly into /usr/lib/.
anyhow, Pd currently hardcodes it's system path to (afaict) @prefix@/lib/pd/ (to be precise, it tries some more, but it definitely does *not* use @prefix@/lib64/pd/ nor the more sensible "@libdir@/pd" or even "@pkglibdir@".
so i guess you currently have to patch your Pd in order to make it work on 64bit slackware. something like the following:
sed -i -e "517s|lib/pd|lib${LIBDIRSUFFIX}/pd|" src/s_main.c
fgasdmr IOhannes
The configure/Makfile do correctly put the libs in place. Package contents:
http://www.r0t.co.uk/paste/p/hbPMoC73.html
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
Aha! If I 'ln -s /usr/lib64/pd /usr/lib/pd' then it works. Gui starts up just fine. So it seems those paths may be hard-coded somewhere.
-Dave
On 04/09/2014 11:57 AM, David Woodfall wrote:
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
no this won't work, as it tries to circumvent tcl's pkg-index.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
Aha! If I 'ln -s /usr/lib64/pd /usr/lib/pd' then it works. Gui starts up just fine. So it seems those paths may be hard-coded somewhere.
well yes, that's why i gave you the patch in my other mail: replace lib/pd by lib64/pd in s_main.c
fmdrsa IOhannes
On 04/09/2014 11:57 AM, David Woodfall wrote:
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
no this won't work, as it tries to circumvent tcl's pkg-index.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
Aha! If I 'ln -s /usr/lib64/pd /usr/lib/pd' then it works. Gui starts up just fine. So it seems those paths may be hard-coded somewhere.
well yes, that's why i gave you the patch in my other mail: replace lib/pd by lib64/pd in s_main.c
fmdrsa IOhannes
Works fine, thanks.
-Dave
Is there a standard way to get automake to define a proper path for Pd to use? It sounds as if I should use a C preprocessor variable to set the directory - I'd be happy to update teh source to make this kind of thing easier to set from external build systems.
cheers M
On Wed, Apr 09, 2014 at 11:16:07PM +0100, David Woodfall wrote:
On 04/09/2014 11:57 AM, David Woodfall wrote:
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
no this won't work, as it tries to circumvent tcl's pkg-index.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
Aha! If I 'ln -s /usr/lib64/pd /usr/lib/pd' then it works. Gui starts up just fine. So it seems those paths may be hard-coded somewhere.
well yes, that's why i gave you the patch in my other mail: replace lib/pd by lib64/pd in s_main.c
fmdrsa IOhannes
Works fine, thanks.
-Dave
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I had no problems compiling from /Downloads/pd-045xxxxx/src then looking for all the symbolic links and launchers that point to the default installed 'puredata' package that comes with ubuntustudio 12.10 except that I installed some of the guiplugins and now pd will not close from menu or window x button. I have looked and looked for that script that sets that and can not find it. running 'pd' from terminal and ctrl-c works to close. I'm getting a stack overflow on loading of xensynth in pd-extended , actually a couple of them but it still works. I did notice the other day that I'm still getting crackles when I play the version with the string emulator. I'm thinking it's something to do with wish and the mouse, about has to be because it happened in windows when I last checked october 2012, the same crackles. the common denominator would about have to be wish
On Thu, Apr 10, 2014 at 2:36 PM, Miller Puckette msp@ucsd.edu wrote:
Is there a standard way to get automake to define a proper path for Pd to use? It sounds as if I should use a C preprocessor variable to set the directory - I'd be happy to update teh source to make this kind of thing easier to set from external build systems.
cheers M
On Wed, Apr 09, 2014 at 11:16:07PM +0100, David Woodfall wrote:
On 04/09/2014 11:57 AM, David Woodfall wrote:
But that doesn't mean that pd will look there for modules.
I tried symlinking /usr/lib64/pd/tcl/pd_connect.tcl to /usr/bin/. but it still doesn't find it.
no this won't work, as it tries to circumvent tcl's pkg-index.
pd-gui.tcl Error in startup script: can't find package pd_connect while executing "package require pd_connect" (file "/usr/bin/pd-gui.tcl" line 26)
I'm not quite sure where it is define where to look.
Aha! If I 'ln -s /usr/lib64/pd /usr/lib/pd' then it works. Gui starts up just fine. So it seems those paths may be hard-coded somewhere.
well yes, that's why i gave you the patch in my other mail: replace lib/pd by lib64/pd in s_main.c
fmdrsa IOhannes
Works fine, thanks.
-Dave
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