On Mar 31, 2006, at 4:52 AM, Rich E wrote:

I tried Hans' .pdsettings and Pd tells me:

em: can't load library

Is the Gem with the Gem cut off?

/usr/lib/pd/extra/pdp.pd_linux: libgslcblas.so.0: cannot open shared object file: No such file or directory
pdp: can't load library

You'll need to install libgslcblas.so.0:

apt-get install libgsl0

gridflow: can't load library

GridFlow is not in Pd-extended (yet?).  GridFlow is not in the .pdsettings file that i generated.  Perhaps you need to delete a ~/.pdrc?

ascii: can't load library

Neither is this, I don't know what that is.  Its not in the .pdsettings I generated either.


So, I took Tom's advice and added paths for all the subfolders in /usr/lib/pd/extra.  Many more things work now, but about 1/4 of everything is missing still.  There are all some object errors.  Here are some of the most recent that I ran into in my day's exploration:
 

ext13 - [cdplayer]
load_object: Symbol "cdplayer_setup" not found
 cdplayer
... couldn't create

Donno if anyone is maintaining that...

vasp library missing, but help files are there
[pool] and [OSC] not there. [Gem] too... but I think you have mentioned this isn't possible yet.

On GNU/Linux, those aren't included yet.  But I am working on finding people to help me get it included.  I need help with getting flext and Gem building with Pd-extended.   Any volunteers?

On the positive side,  the Pd Documentation Browser is really nice in 39.2.  References and manuals are easy to find.  On the negative side, right-click helps don't work, I probably have to add a -helppath flag for every subfolder in the pd/doc/5.reference folder.  I'd like to help do what I can, but I think most of my problems are because I cannot load the 'libdirs' as your .pdsettings file does. 

The libdir thing will handle the helppaths.


I hate to always ask questions about why things aren't working... but dernit, this program has a steap learning curve and I'm working on it.  You guys do amazing work and I'm determined to get up to speed at the risk of being annoying.

It does indeed, but I don't think anyone thinks this is a good thing.  Its just a matter of doing the work to make things run smoothly.  One thing you could do is document your process of trying to get things working.  You can get a free site on puredata.org and make a wiki page there, or whatever.

.hc


Richie

---------- Forwarded message ----------
From: Hans-Christoph Steiner <hans@eds.org>
Date: Mar 30, 2006 9:51 PM
Subject: Re: [PD] can't use Pd-extended externals
To: tom@danslchamp.org
Cc: pd-list <pd-list@iem.at>


On Mar 31, 2006, at 12:24 AM, Thomas Ouellet Fredericks wrote:

At the end of this mail is an example of my .pdsettings
My pd rests at /usr/lib/pd
I use a Debian package of PD, and compile some stuff, but I pick in  your compiled pd-extended externals often. Congratulations on the great job.

Thanks, its actually the collected effort of many, many people.  I guess I am the most visible since I most recently put a big chunk of work in.

I do not understand your loading of folders as libs (like toxy, cyclone, hid, etc..). Is this a kind of hack so that Pd searches those folders for the external?

Yeah, is a hack I call libdirs that I plan on developing further into a generic library format for objects written in any language, C, C++, Pd, C#, python, whatever.  This would be in conjunction with Thomas' loader extension and things like the Common Language Runtime API for Pd that was recently announced.

Here is some documentation about the idea and what's actually implemented:

http://puredata.org/docs/developer/Libdir

Once Pd goes up a version I will switch to you pd-extended and try to help.

Excellent!  The more, the merrier :)


Tom

.pdsettings contents follows:

Cool, just what I needed to fix up the script.  Try this .pdsettings file:




.hc


audioapi: 2
noaudioin: False
audioindev1: 0 2
noaudioout: False
audiooutdev1: 0 2
audiobuf: 50
rate: 44100
nomidiin: True
nomidiout: True
path1: /usr/lib/pd/extra
path2: /usr/lib/pd/extra/gridflow/pd_abstractions
npath: 2
standardpath: 1
verbose: 0
loadlib1: Gem
loadlib2: pdp
loadlib3: zexy
loadlib4: gridflow
loadlib5: ascii
nloadlib: 5
defeatrt: 0
flags:


On 3/30/06, Hans-Christoph Steiner < hans@eds.org> wrote:

Or even better you could write a .pdsettings file that loads each lib/
libdir in Pd-extended and send it to me to include in future
packages.  I already have such a file for Mac OS X and Windows, but I
haven't had a chance to make one for GNU/Linux.

Here's the list of libs included in Pd-extended:

Gem cyclone zexy cxc ext13 fftease hid iemabs iemmatrix liblist list-
abs mapping mar
kex maxlib memento mjlib motex oscx pddp pdogg pdp pidip pixeltango
pmpd rradical sigpack smlib toxy unauthorized vasp vbap xsample

This script automatically generates the Mac OS X and Windows one:

http://cvs.sourceforge.net/viewcvs.py/pure-data/scripts/generate-pd-
settings-files.sh?rev=1.2&view=log

Probably the best solution would be to add the code to make this
script also generate a .pd-settings file for GNU/Linux.

.hc

On Mar 30, 2006, at 11:16 AM, Thomas Ouellet Fredericks wrote:

> You could dump all the externals that are in the subdirectories back
> into the extra directory or you could add all the subdirectory paths
> to your Path... submenu in PD.
>
> Tom
>
> On 3/30/06, Rich E <reakinator@gmail.com > wrote:
>> Could anyone help me get the linux Pd-extended examples working?
>> I have
>> both 38.4-RC8 and 39.2-test1 running, but with the same problem:
>> none of
>> the externals in the example patches are found.  I can use the
>> externals in
>> pd/extra/ but most of the externals that are in subdirectories are
>> not
>> locatable within Pd.
>>
>>  Everything installs smoothly...and there doesn't seem to be any
>> libraries
>> that need to be loaded.. I'm stuck.
>>
>>  Thanks for any help,
>>  Richie
>>
>> _______________________________________________
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>
> _______________________________________________
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> listinfo/pd-list


________________________________________________________________________
____

  As we enjoy great advantages from inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously.
                                                   - Benjamin Franklin


_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



____________________________________________________________________________

 As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.
                                                  - Benjamin Franklin


_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



<.pdsettings>


____________________________________________________________________________


"Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies."

                                                    - Amy Smith