Le 21/08/2014 09:53, IOhannes m zmoelnig a écrit :
it will probably still give you an error, as it will try to install some dev-files (headers, pkgconfig) into /usr/local/ and might not have the appropriate permissions. you can either ignore that (add the "-k" flag to make), or use something like $ DEST=/Users/nix/Library/Pd/ $ make install libdir=${DEST} prefix=${DEST}/Gem/stuff
which will put all the additional stuff into /Users/nix/Library/Pd/Gem/stuff.
that's working well
the reason why this is so complicated is, that the so produced binaries are not well distributable anyhow (at least if you want to make sure that the various plugins work for people who don't want to install a large number of packages).
my way (iirc, it's been a long time) to create the "installer" packages for OSX systems is something like: $ [...] $ make install DESTDIR=/tmp/foo $ mkdir /tmp/Gem $ cp -rav /tmp/foo/usr/local/lib/pd/extra/Gem/* /tmp/Gem/ $ cp -rav /tmp/foo/usr/local/include/Gem /tmp/Gem/ $ cp ${ALL_DEPENDENCIES} /tmp/Gem/ $ for i in /tmp/Gem/*.so; do script-to-make-deps-local ${i}; done $ ./build/osx-dmginstaller/buildinstaller.sh /tmp/Gem/
yes I remember making a script like that to install dev gem *inside* pd-extended a few years ago, if you want to have a look: http://www.nimon.org/tmp/install_pdx.sh
thanks n