[PD] pure-data on gentoo; how to specify lib path?

Hans-Christoph Steiner hans at at.or.at
Fri Dec 31 19:01:17 CET 2010


I think your best bet is to use either [import] or [declare] to load  
the libraries your patch needs.  Then the settings are embedded in the  
patch and will work on any Pd-extended install, rather than just the  
one you've customized.

.hc

On Dec 27, 2010, at 5:22 PM, Igor 'Lo' (И.L.) wrote:

> Hi all.
> I added pd-overlay from layman, and have installed the following:
>
> [ebuild   R   ] puredata-base/pd-extended-0.42.5  USE="adaptive alsa
> bassemu boids bsaylor creb cxc cyclone earplug ekext ext13 flashserver
> flatspace flib freeverb gem2pdp ggee hcs hid iem16 iem_adaptfilt
> iem_ambi iem_bin_ambi iem_delay iem_matrix iem_roomsim iem_spec2
> iem_tab iemgui iemlib iemmatrix iemxmlrpc jasch_lib loaders mapping
> markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer
> pddp pdogg pdp pdp_opengl pidip pmpd postlude sigpack smlib tof toxy
> unauthorized vanilla vbap windowing zexy -debug -fftw -jack
> -portaudio" 0 kB [1]
>
> With a few tricks, a working alsa/timidity++/puredata chain was set up
> and running, to reference for other newcomers:
> pdextended  -alsa -alsamidi -stderr -verbose -d  (config at pastebin:
> http://pastebin.com/8p0rcd41 )
>
> The following files were installed to my system: (filelist with paths:
> http://pastebin.com/F9yymAPH )
>
> Now, wanted to install Androidome's script,
> http://androidome.googlecode.com/files/AndroidomeRouter.pd
>
> Multiple errors came about missing functions (like mrpeach/udpsend),
> and in the UI they were outlined in red.
> Also the debug log shown that search under multiple paths (none
> included /usr/lib/pdextended/extra/mrpeach)
> was failed for that functions.
> Looks like http://www.mail-archive.com/pd-dev@iem.at/msg04901.html,
> but checks more paths.
>
> udpreceive 8080
> ... couldn't create
> tried /usr/local/lib/pd-externals/sprintf.l_ia64 and failed
> tried /usr/lib/pd-extended/extra/sprintf.l_ia64 and failed
> tried /usr/local/lib/pd-externals/sprintf.pd_linux and failed
> tried /usr/lib/pd-extended/extra/sprintf.pd_linux and failed
> tried /usr/local/lib/pd-externals/sprintf/sprintf.l_ia64 and failed
> tried /usr/lib/pd-extended/extra/sprintf/sprintf.l_ia64 and failed
> tried /usr/local/lib/pd-externals/sprintf/sprintf.pd_linux and failed
> tried /usr/lib/pd-extended/extra/sprintf/sprintf.pd_linux and failed
> tried /usr/local/lib/pd-externals/sprintf.pd and failed
> tried /usr/lib/pd-extended/extra/sprintf.pd and failed
> tried /usr/local/lib/pd-externals/sprintf.pat and failed
> tried /usr/lib/pd-extended/extra/sprintf.pat and failed
> sprintf connect %s 8080
> ... couldn't create
> tried /usr/local/lib/pd-externals/mrpeach.l_ia64 and failed
> tried /usr/lib/pd-extended/extra/mrpeach.l_ia64 and failed
> tried /usr/local/lib/pd-externals/mrpeach.pd_linux and failed
> tried /usr/lib/pd-extended/extra/mrpeach.pd_linux and failed
> tried /usr/local/lib/pd-externals/mrpeach/mrpeach.l_ia64 and failed
> tried /usr/lib/pd-extended/extra/mrpeach/mrpeach.l_ia64 and failed
> tried /usr/local/lib/pd-externals/mrpeach/mrpeach.pd_linux and failed
> tried /usr/lib/pd-extended/extra/mrpeach/mrpeach.pd_linux and failed
> error: [import]: can't load library in 'mrpeach'
> ... you might be able to track this down from the Find menu.
>
> Which declare's should be added to ~/.pdextended to allow search in
> /usr/lib/pdextended/extra/mrpeach and
> other directories?
>
> Also it seems that
> http://docs.monome.org/doku.php?id=dev:pd:simple_mlr uses an old
> version of OSC,
> functions names in code are like dumpOSC -> OSCdump ; how to run the
> script at the link below with
> 0.42.5, can anyone tell here? (will also bug monome's list).
>
> P.S. Why the article at gentoo wiki told me to remove oscx from build?
> Is there a reason for such thing to exist behind that article?
>
> cheers, there.
> don't forget to do awesome stuff next days, it's the last days of the
> year after all.
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

News is what people want to keep hidden and everything else is  
publicity.          - Bill Moyers





More information about the Pd-list mailing list