Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-06 Thread Raphaël Ilias
Hi !

just to give some news about this...
(...still trying to set up pd and some libs on a OlinuXino-A20 board from
Olimex)



 i'm trying to get iem library.
 i managed to get it from source but some objects don't work
 i'd like to try to get it with apt-get install
 i could get ggee and zexy this way and both work properly.
 but as said earlier with
 $ sudo apt-get install pd-iemlib
 i get :
 E: Unable to locate package pd-iemlib

 so I'm wondering what repository i should add to the source.list
 wheezy ? stretch ?



So i added jessie main to /etc/apt/source.list
and apt now locates pd-iemlib and installs it !

but all the same : abstractions work (like [once]) and also most of the
filters~, but other objects do not. As example, pd can't create [prepend]
nor [any]

(also tried to install first iemlib dependencies, like puredata-core and
libc6)

I then retried to compile from source provided on
https://puredata.info/downloads/iemlib (R1.17)
but, when I do :
$ make
i get the following messages :

make -C iemlib1/src
make[1]: Entering directory `/home/olimex/setup/iemlib_R1.17/iemlib1/src'
touch FIR~.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o FIR~.o FIR~.c
touch biquad_freq_resp.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o biquad_freq_resp.o
biquad_freq_resp.c
touch db2v.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o db2v.o db2v.c
touch f2note.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o f2note.o f2note.c
touch filter~.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o filter~.o filter~.c
touch forpp.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-I. -I/usr/local/src/pd-0.39-2/src -c -o forpp.o forpp.c
touch gate.c

etc etc...

So obviously, i miss something in /usr/local/src/pd-0.39-2/src
and, in fact, /usr/local/src is empty

Any ideas ?

all the best,

Raphaël
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-05 Thread Julian Brooks
Hmmm - wheezy possibly not good.

You did say you built it from source anyway right?
If so shouldn't matter.

Does seem like you're going to have to build the necessary externals.

How's it going with that? My memory is Cyclone could be a pain.

On 5 June 2015 at 16:14, Raphaël Ilias phae.il...@gmail.com wrote:

 To answer Katja  Julian, i don't know which debian version is
 distributed, Olimex call it : A20-OLinuXino-Lime Debian with kernel 3.4.90+
 release 3

 and here is my etc/apt/source.list :

 deb http://ftp.debian.org/debian/ wheezy main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free

 deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
 non-free

 deb http://security.debian.org/ wheezy/updates main contrib non-free
 deb-src http://security.debian.org/ wheezy/updates main contrib non-free

 deb http://apt.puredata.info/releases stable main


 also, about that :


 found a working solution in this thread :
 http://lists.puredata.info/pipermail/pd-list/2015-01/109000.html
 so i made
 $ apt-get build-dep puredata


 apparently you also need to do  ./autogen again
 maybe obvious for many but...


 and then
 $ ./configure --enable-alsa
 $ make
 $ sudo make install



 thanks everyone for help !

 Raphaël

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-05 Thread Raphaël Ilias

 and here is my etc/apt/source.list :

 deb http://ftp.debian.org/debian/ wheezy main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free

 deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
 non-free

 deb http://security.debian.org/ wheezy/updates main contrib non-free
 deb-src http://security.debian.org/ wheezy/updates main contrib non-free

 deb http://apt.puredata.info/releases stable main



i'm trying to get iem library.
i managed to get it from source but some objects don't work
i'd like to try to get it with apt-get install
i could get ggee and zexy this way and both work properly.
but as said earlier with
$ sudo apt-get install pd-iemlib
i get :
E: Unable to locate package pd-iemlib

so I'm wondering what repository i should add to the source.list
wheezy ? stretch ?
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-05 Thread Raphaël Ilias

 You did say you built it from source anyway right?
 If so shouldn't matter.


yes I compiled pd vanilla 0.46-6 from Miller's website


 Does seem like you're going to have to build the necessary externals.


well, i could get ggee working by getting it through apt-get and then
moving it from /usr/lib to /usr/local/lib where is set up my pd.



 How's it going with that? My memory is Cyclone could be a pain.


yes, getting Cyclone working was a pain ! But not it works.
I also got iemlib from repository but half of the objects do no work (like
[any] or [prepend], but I could replace them with [list] in most cases).





 On 5 June 2015 at 16:14, Raphaël Ilias phae.il...@gmail.com wrote:

 To answer Katja  Julian, i don't know which debian version is
 distributed, Olimex call it : A20-OLinuXino-Lime Debian with kernel 3.4.90+
 release 3

 and here is my etc/apt/source.list :

 deb http://ftp.debian.org/debian/ wheezy main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free

 deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
 deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
 non-free

 deb http://security.debian.org/ wheezy/updates main contrib non-free
 deb-src http://security.debian.org/ wheezy/updates main contrib non-free

 deb http://apt.puredata.info/releases stable main


 also, about that :


 found a working solution in this thread :
 http://lists.puredata.info/pipermail/pd-list/2015-01/109000.html
 so i made
 $ apt-get build-dep puredata


 apparently you also need to do  ./autogen again
 maybe obvious for many but...


 and then
 $ ./configure --enable-alsa
 $ make
 $ sudo make install



 thanks everyone for help !

 Raphaël



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-04 Thread Raphaël Ilias
2015-06-04 17:35 GMT+02:00 Raphaël Ilias phae.il...@gmail.com:

 now I'm trying to install pd on two other boards I have with same
 distribution.
 i manage to install pd, but ALSA doesn't show in the menu. Only OSS and
 portaudio. And OSS can't see any audio device.
 Aarrgh !



i'm answering to myself ;)
found a working solution in this thread :
http://lists.puredata.info/pipermail/pd-list/2015-01/109000.html
so i made
$ apt-get build-dep puredata

and then
$ ./configure --enable-alsa
$ make
$ sudo make install

...and now it works, I have ALSA in the media menu just like it did with
pd-extended. And audio works pretty well !
(as I said earlier, i got audio processing stuck sometimes and the gui was
way slower with pd-extended)

still don't know why, but seems like my distribution was missing something
that I might have installed by chance on the first board.
will try on the third board to be sure that build-dep was the missing step

hope i'm not spamming the list for nothing and that it might help someone
one day :)

cheers,

Raphaël
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-04 Thread Raphaël Ilias

 now I'm trying to install pd on two other boards I have with same
 distribution.
 i manage to install pd, but ALSA doesn't show in the menu. Only OSS and
 portaudio. And OSS can't see any audio device.
 Aarrgh !


still can't figure how to get ALSA while building pd (0.46-6 from Miller's
website) on debian
tried :
$ apt-get install libasound-dev
$ ./configure --enable-alsa

apart from that, I follow the procedure in the archive directory
$ ./autogen
$ ./ configure  (or with --enable-alsa)
$ make
$ sudo make install

don't what to try next...
(that's silly, it worked fine on the first board. must have typed a magic
shell command)

if anyone has a suggestion... ?

(i feel like doing my first steps outside pd-extended, even if I have been
using pd for 10 years... some us might prefer ready-to-use
environnements... but if it's the price of opensource/community developped
software, I want to try to learn...)

nice day,

Raphaël
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] installing pd libs on debian / OlinuXino board (wa: solimex board)

2015-06-04 Thread Raphaël Ilias


 JUst double-checked to be sure and
 sudo apt-get install pd-iemlib
 definitely working here.


double-checked too,
it can't find pd-iemlib


 Presume olimex must have it's own repo's?


don't know that... i just got their distribution as they indicate on their
website

now I'm trying to install pd on two other boards I have with same
distribution.
i manage to install pd, but ALSA doesn't show in the menu. Only OSS and
portaudio. And OSS can't see any audio device.
Aarrgh !

any suggestion

thank you very much !

Raphaël
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list