>> $ make install libdir=/Users/nix/Library/Pd/ is there a reason this is not automatic when osx is detected as os with ./configure?
On Thu, Aug 21, 2014 at 3:53 AM, IOhannes m zmoelnig <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2014-08-20 23:31, Nicolas Montgermont wrote: > > how can I do that? running make install > > DESTDIR=/Users/nix/Library/Pd/ creates me: > > /Users/nix/Library/Pd/usr/local/lib[...] > > > yes, that's right, use "libdir" (i know it's nowhere documented). > > the following should install into /Users/nix/Library/Pd/Gem (and > /Users/nix/Library/Pd/pix_mano,....): > > $ make install libdir=/Users/nix/Library/Pd/ > > 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. > > > 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/ > > > fgmsdar > IOhannes > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIbBAEBCAAGBQJT9aV/AAoJELZQGcR/ejb4fdMP93UBO4ZCrD4SLUmRuc4vKxb/ > MKe0wtdCa1ZNj+Xsk6xLV5/o2CIyOMZX+kAhQLGI7MfhJMAN6NlBkEeOKhQc1IKT > ojsAIm0AneCt4wi/CywHr6bcapJjAuiSQ/rFOtwFJ0I/1X/7OOXcBoZLU+bzErR1 > TVheKtoNYTPiR2DZ/qcKbXdzP25O5zMvOXGozpkDVvS3V9OvlXV+qxgpR3OxdrNm > OCiVNbijpSAmIpJY2WI0ZqFmIDl3uddUeaIkI0WboCAwjEjOhYL+qcyXc+0Zjz/S > jZ+lLa1PuQhIblW5AtY1QjjbEDKMjVfFu9wDIVJf2Jr7LMolceCGIq/j6hbpEpSX > hUvGHJlMT8F9GWWZ+1VDdnILmrng1LCWJcJ0WjtjH16w0PUWEwHzgYNCBOtkNskO > S6ORYbPi11f2+i1Py5ZbWsda5/Nmn2vhE9f5zNWjy8eLXeAuCpkbjmrLNGikw9hf > ILb+eEIRhdZ933C4fh90brkEKJ7dAa889aWLHg4WQBL4tcBSYP942nCUUIS4s3Wp > BaDnMbj9Y+DvxYs7XM8EaLzAWAN7sq3WXaV0JOx8aqIp1AC8FppbXXtjZAz9brmQ > vbhh6L5yJM9axh9cUK7WQ/qVkXnYd6XiVspYJQkHb8O6TASIBuR5url8izM9WahL > wf1Vl+uB/GPQyWMdKks= > =VfYl > -----END PGP SIGNATURE----- > > _______________________________________________ > GEM-dev mailing list > [email protected] > http://lists.puredata.info/listinfo/gem-dev > -- ____________________ m.e.grimm | m.f.a | ed.m. [email protected] _________________________________
_______________________________________________ GEM-dev mailing list [email protected] http://lists.puredata.info/listinfo/gem-dev
