-----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