[PD] install libraries with apt-get with Pd compiled from source?
msp at ucsd.edu
Fri Jan 23 17:43:26 CET 2015
Personally, I never use root to install - instead, I configure with, say,
--prefix=/tmp/pd-test/ (after making the directory /tmp/pd-test) and then
make and make install as a plain user. (If you want that version to stay
around put it in your home directory somewhere, e.g., /home/msp/pdinstall
or something like that).
Installing as root will do fine until you compile some other version of Pd
and can't figure out how to keep them apart. - then you will end up badly
confused, as I have :)
On Fri, Jan 23, 2015 at 01:30:21PM +0100, Cyrille Henry wrote:
> Le 23/01/2015 13:18, Alexandros Drymonitis a écrit :
> >On Fri, Jan 23, 2015 at 1:46 PM, IOhannes m zmölnig <zmoelnig at iem.at <mailto:zmoelnig at iem.at>> wrote:
> > On 01/23/2015 10:06 AM, Alexandros Drymonitis wrote:
> > > I've compiled Pd-0.46-4 from source, but I'd like to install some
> > > libraries. Will apt-get work, or do I have to compile them as well?
> > Pd goes to some length to stay binary compatible, so you can use the
> > "pd-*" packages without a problem.
> > the main obstacle will be the search path: your self-compiled Pd will
> > most likely search the libraries in /usr/local/lib/pd/extra whereas the
> > pd-* packages install to /usr/lib/pd/extra/
> >I had something like that in mind, but the Pd compiled from source didn't create a /usr/local/lib/pd directory. Everything is lying in it's own directory (in this case /home/pi/applications/pd-0.46-4/ ).
> make is only compiling pd.
> if you want to install pd, use make install (this require root privilege, so "sudo make install" will create the dir etc)
> >Should I create the /usr/local/lib directory?
> >Forgot to mention that I haven't installed Pd with apt-get, so there's no /usr/lib/pd either..
> > simply adding /usr/lib/pd/extra to your search path should fix that.
> > gfmrdsa
> > IOhannes
> > _______________________________________________
> > Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> >Pd-list at lists.iem.at mailing list
> >UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list