[PD] 64bit runtime error 'couldn't read file "/usr/tcl//pd-gui.tcl"'

IOhannes m zmoelnig zmoelnig at iem.at
Wed Apr 9 10:39:29 CEST 2014


-----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":
- - http://msp.ucsd.edu/software.html
- - http://puredata.info/
- - http://sourceforge.net/projects/pure-data

> 
> ./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 at lists.iem.at might be slightly more appropriate (but only
if more issues arise)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJTRQc9AAoJELZQGcR/ejb4KFsP/0Cloth7E7/m+lFvZSdoQJGz
mJAdv0mqtsXhLgE77Fc+kfcGr59B94oBjWFkcqMZt7w+p9CqSdRNRd6SsnHvS7Wh
/EeB2WsyzB327+6qRVi9px+1ywX25lCKcRuWEz+HWvOGdH9+kgmhK1hc6mvrbnJJ
/APMZG9pekhK4BRpe61EIMLsPlyPQufZ2xQGizryO8RNdKhNxOytssRu9OWg6ZsR
n1g1h7QgnilthOxVPmC6IVhPm6KmHgj9zuzg74rxMahMDzTMIzs24lXqFEFQbS4A
iIPhZuJJZ7fB5tRk4IXB8elDgpQG3NiPCP7kQUJR396js973q1Rqj5lfaP/Cj7Qq
l0coUNm93UCwUd9Btm/NPNJNUrcg3s92Q6XDcEJGv844bXlLTef2zkT8Ztlq0jQE
BfMyD5J6VSKBD1RX1lkeOOs2QL6QoaMc+IFOxszManRI5aVroyW4ApAvwb28piRf
RUUAuePG703mP742HHgoy4/3dMc0Esxsm0cmI84L2zqguCmOO1B/AfNHSMiZxCZq
0AdJf0vH8G/53e95himBPOXEPnFsAVoCZuaD39V/7aDlS95OVi/ylW1v/va0QndU
uBC52QxcjGKkA+sqKAZOmnxD0OqKUOMynyIGUvfVHHTGVEnQjWXjj5afNbZC4WEq
rA2fiWd1fd7jWFXohSmo
=EdRX
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list