hey hans,
...trying to get back to some pd stuff, but I have a few questions on building the app packages...on this page [ http://puredata.org/docs/ developer/build ], there's some talk about a 'template' section for "How to add your library", but I can't find any such thing in the makefiles...this is really just a documentation oversight, I'd guess, because it's simple enough to go along and ape similar targets...
...so I've added a pd-devel target, and it's doing the scons building just fine, but when it comes to packaging, I run into the following:
cd "/Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/Scripts" && \ ln -s ../bin/pd.tk AppMain.tcl cd "/Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents" && ln -s Resources/extra Plugins cd /Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/doc && \ /Users/tigital/puredataDev/packages/darwin_app/../../scripts/ convert-help-to-standard.sh install -p /Users/tigital/puredataDev/packages/darwin_app/mac.r / Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/bin cd /Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/bin && /Developer/tools/Rez -t APPL mac.r -o pd /bin/sh: line 1: cd: /Users/tigital/puredataDev/packages/darwin_app/ build/Pd-0.39..app/Contents/Resources/bin: No such file or directory make: *** [rez_install] Error 1
...it seems like it's making a file called 'bin' instead of a directory: how do I get around that?
thnx, jamie
On Jun 25, 2006, at 12:49 AM, james tittle wrote:
...so I've added a pd-devel target, and it's doing the scons building just fine, but when it comes to packaging, I run into the following:
install -p /Users/tigital/puredataDev/packages/darwin_app/mac.r / Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/bin cd /Users/tigital/puredataDev/packages/darwin_app/build/ Pd-0.39..app/Contents/Resources/bin && /Developer/tools/Rez -t APPL mac.r -o pd /bin/sh: line 1: cd: /Users/tigital/puredataDev/packages/darwin_app/ build/Pd-0.39..app/Contents/Resources/bin: No such file or directory make: *** [rez_install] Error 1
...it seems like it's making a file called 'bin' instead of a directory: how do I get around that?
...nevermind: I was forgetting to add "install" to the scons script (and a "prefix=..."), so now this is behaving a bit more like I'd expect...still need to make some changes to the SConstruct/SConscript to account for Pd.app's bundle structure...
l8r, jamie
On Jun 25, 2006, at 10:22 AM, james tittle wrote:
On Jun 25, 2006, at 12:49 AM, james tittle wrote:
...so I've added a pd-devel target, and it's doing the scons building just fine, but when it comes to packaging, I run into the following:
install -p /Users/tigital/puredataDev/packages/darwin_app/mac.r / Users/tigital/puredataDev/packages/darwin_app/build/Pd-0.39..app/ Contents/Resources/bin cd /Users/tigital/puredataDev/packages/darwin_app/build/ Pd-0.39..app/Contents/Resources/bin && /Developer/tools/Rez -t APPL mac.r -o pd /bin/sh: line 1: cd: /Users/tigital/puredataDev/packages/ darwin_app/build/Pd-0.39..app/Contents/Resources/bin: No such file or directory make: *** [rez_install] Error 1
...it seems like it's making a file called 'bin' instead of a directory: how do I get around that?
...nevermind: I was forgetting to add "install" to the scons script (and a "prefix=..."), so now this is behaving a bit more like I'd expect...still need to make some changes to the SConstruct/ SConscript to account for Pd.app's bundle structure...
I guess its too late to resurrect the autoconf build system for pd- devel... it seems like a waste to maintain two totally distinct build systems. But I am glad to see that you are getting this going.
.hc
------------------------------------------------------------------------
If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it. - Thomas Jefferson