[PD] install libraries with apt-get with Pd compiled from source?

Cyrille Henry ch at chnry.net
Sat Jan 24 11:22:30 CET 2015


when there is some problem with sudo make install, i use sudo make install -k, so that the problem is skiped, but everything else is still installed...
cheers
c


Le 24/01/2015 11:16, Alexandros Drymonitis a écrit :
>
>
> On Fri, Jan 23, 2015 at 2:30 PM, Cyrille Henry <ch at chnry.net <mailto:ch at chnry.net>> 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> <mailto: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)
>
> Did that and got this at the end:
> /usr/bin/install: omitting directory `./doc/7.stuff/soundfile-tools'
> /usr/bin/install: omitting directory `./doc/7.stuff/synth'
> /usr/bin/install: omitting directory `./doc/7.stuff/tools'
> Makefile:795: recipe for target 'install-nobase_dist_libpdDATA' failed
> make[3]: *** [install-nobase_dist_libpdDATA] Error 1
> make[3]: Leaving directory '/home/pi/applications/pd-0.46-4'
> Makefile:1178: recipe for target 'install-am' failed
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory '/home/pi/applications/pd-0.46-4'
> Makefile:847: recipe for target 'install-recursive' failed
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory '/home/pi/applications/pd-0.46-4'
> Makefile:1172: recipe for target 'install' failed
> make: *** [install] Error 2
>
> /usr/local/bin/pd now exists, as well as  /usr/local/lib/pd, but there were some stuff missing from the latter. doc/7.stuff/ had only the synth/ directory (I copied all the missing stuff from /home/pi/applications/pd-0.46-4/doc/7/stuff) and 4.data.structures/ was missing altogether. Also bin/ had only pd and pd-watchdog, but no pdsend and pdreceive (also copied from /home/pi/applications/pd-0.46-4/bin).
>
> Pd launches, but doesn't really work. I get this message in Pd's console when it starts :API 1 not supported, reverting to 2 (OSS)
> and opening testtone.pd, results in these messages:
> /dev/dsp (read/write): No such file or directory
> (now will try write-only...)
> /dev/dsp (writeonly): No such file or directory
> /dev/dsp (readonly): No such file or directory
> audio I/O stuck... closing audio
>
> and the audio won't work...
>
> Still, if I launch Pd from /home/pi/applications/pd-0.46-4/bin/pd everything works fine, except that it crashes with some externals I tried to use..
>
>
>     cheers
>     c
>
>         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> <mailto: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 <http://lists.puredata.info/listinfo/pd-list>
>
>
>
>
>         _________________________________________________
>         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 <http://lists.puredata.info/listinfo/pd-list>
>
>



More information about the Pd-list mailing list