-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-02-20 23:47, Jonathan Wilkes wrote: >> Thanks for the help. Actually it's not such a big deal to do the >> cp command. The main problem is that when I make a src code >> change and do "make" again, it obviously recompiles the changed >> files but when I run pd I end up with the old behavior, so it's >> obviously not updating everything correctly. > >> The src/pd file is a bash script, not an executable, and it seems >> I have to do "make install" with su privileges if I want to make >> an executable. I don't want to go to that trouble, nor do "make >> clean && make" every time I make changes and test them out.
it's not entirely clear to me where your problem lies. running ./src/pd works fine for me. when changing code and recompiling e.g. using "make -C src", i get an updated Pd-binary which i can call with ./src/pd. (or if you prefer to work from ./src: $ make && ./pd ) i don't see a reason to copy anything to bin/, _unless_ you need rt priorities. in this case it might be easier to just do $ cd src/ $ ln -s . bin so you get a symlink /path/to/pdsrc/src/bin -> /path/to/pdsrc/src/ for convenience (and compat with older workflows) you might want to do an additional symlink /path/to/pdsrc/bin -> /path/to/pdsrc/src/ the reason why src/pd is a script rather than a binary, is that Pd dynamically links to portaudio; in order to use the correct libportaudio.so (the one that lives in .../pdsrc/portaudio rather than the one that lives in /usr/lib/), some LD_LIBRARY_PATH magic is needed, which is done in the script version of src/pd (which reminds me that we should add a flag to configure, that disables the use of the built-in portaudio, and rather uses the version installed on the system) fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEl384ACgkQkX2Xpv6ydvRpowCgiCSdwj512iwiRgzRQ772LHEC ntcAoMuwtEZUA7PLTnH/71fNytKv/P8h =XybK -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
