Hi, Can someone tell me how I'm supposed to rebuild Pd vanilla in 0.44?
Build 0.43 and before:
Run 0.43 and before without installing: cd src && ./pd
Selectively recompile the source file I'm revising: make
Build 0.44
Run 0.44: ./pd
Selectively recompile 0.44: ??? if I try "make", then "cp src/pd . && cp src/pd-watchdog bin/" my changes aren't reflected even though I watched all the recompilation messages to the console without any errors
the only way I can recompile is "make clean", then "make" which is obviously quite annoying.
Any suggestions? -Jonathan
I'd skip the copy and just do:
./autogen.sh ./configure make ./src/pd -nrt (-nrt so it ignores the watchdog)
That's how it works on Pd-extended at least. I don't know how the Pd-vanilla files have changed since they were included in vanilla.
.hc
On Feb 19, 2013, at 9:55 PM, Jonathan Wilkes wrote:
Hi, Can someone tell me how I'm supposed to rebuild Pd vanilla in 0.44?
Build 0.43 and before:
- cd src
- ./configure
- make
Run 0.43 and before without installing: cd src && ./pd
Selectively recompile the source file I'm revising: make
Build 0.44
- ./autogen.sh
- ./configure
- make
- cp src/pd . && cp src/pd-watchdog bin/
Run 0.44: ./pd
Selectively recompile 0.44: ??? if I try "make", then "cp src/pd . && cp src/pd-watchdog bin/" my changes aren't reflected even though I watched all the recompilation messages to the console without any errors the only way I can recompile is "make clean", then "make" which is obviously quite annoying.
Any suggestions? -Jonathan _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-02-20 18:55, Hans-Christoph Steiner wrote:
I'd skip the copy and just do:
./autogen.sh ./configure make ./src/pd -nrt (-nrt so it ignores the watchdog)
that's not needed with Pd>=0.44: if the watchdog cannot be found, Pd will fallback to non-realtime.
fgjasdr IOhannes
From: IOhannes m zmoelnig zmoelnig@iem.at To: pd-list@iem.at Sent: Wednesday, February 20, 2013 1:45 PM Subject: Re: [PD] pd 0.44 vanilla build process
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-02-20 18:55, Hans-Christoph Steiner wrote:
I'd skip the copy and just do:
./autogen.sh ./configure make ./src/pd -nrt (-nrt so it ignores the watchdog)
that's not needed with Pd>=0.44: if the watchdog cannot be found, Pd will fallback to non-realtime.
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.
-Jonathan
fgjasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlElGdwACgkQkX2Xpv6ydvR0LwCgkys8p87eaOemAOi8kLtFvrAE gEgAoN/3E8WXxJyGau4MTxzbO5c/6Wxj =mdT+ -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Jonathan, if you do ./configure with option --prefix=<absolute path to root dir of that Pd distribution>, you can do a local install without su privileges. This doesn't solve the issue with updating but anyway it's convenient.
Katja
On Wed, Feb 20, 2013 at 11:47 PM, Jonathan Wilkes jancsika@yahoo.comwrote:
From: IOhannes m zmoelnig zmoelnig@iem.at To: pd-list@iem.at Sent: Wednesday, February 20, 2013 1:45 PM Subject: Re: [PD] pd 0.44 vanilla build process
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-02-20 18:55, Hans-Christoph Steiner wrote:
I'd skip the copy and just do:
./autogen.sh ./configure make ./src/pd -nrt (-nrt so it ignores the watchdog)
that's not needed with Pd>=0.44: if the watchdog cannot be found, Pd will fallback to non-realtime.
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.
-Jonathan
fgjasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlElGdwACgkQkX2Xpv6ydvR0LwCgkys8p87eaOemAOi8kLtFvrAE gEgAoN/3E8WXxJyGau4MTxzbO5c/6Wxj =mdT+ -----END PGP SIGNATURE-----
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
-----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