Help - Search - Members - Calendar
Full Version: Trying to get puredata installed on 5500
OESF Forums > General Forums > General Support and Discussion > General Discussion
projekt
Hi, this is sort of an ongoing learning process for me. I posted before here, http://www.oesf.org/forums/inde...=ST&f=91&t=6599 .. I figured I would just start a new post since that one was so old and try and get things back up and running. Okay, so I needed to do two things according to Lardman..

( a ) link libc2.3.2 off my sd card
( b ) get x windows on my zaurus

well, I sorta am at a loss for both. I downloaded libc6_2.3.2-1_armv4l-strongarm.ipk off the openzaurus experimental feed. i did two things, not sure which way i am supposed to go with this.... I at first tried (just to see if it would work) using ar -x on the file and using gzip on it to make it compatible with my rom. I tried this and got the same message (next line) that i've been getting (so I uninstalled)

pd: /lib/libc.so.6: version `GLIBC_2.3' not found (required by pd)
pd: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by pd)

then i look /lib out of the data.tar.gz of the ipk and put that into /mnt/card/lib, so the libraries are there, I just don't understand lardman's instructions as to how you create a link to them, or how one would override the older libc_2.2.2 which comes default on the sharprom...

I have a feeling there is more to getting PD running then just the above. For example, on the site ( http://gige.xdv.org/pd/PDa ) it says it needs the tcl/tk library or framework or whatever it is to run. Lardman said to install x/qt . I grabbed the following off sourceforge...

blackbox_0.65.0.1_arm
xbase-clients 4.3.0.2_arm
xbase-etc_4.3.0-2_arm
xlibs_4.3.0-2_arm
xqt-startup-scripts_0.0.2_arm
xqt-server_0.0.8_arm
xqt-fonts-misc_1.0.0_all

I installed 'em, and got a few new application icons. Start X and X/Qt Server... yeah!
If I run the first, nothing happens that I can see, maybe its a process ( i don't know how to view my processes yet, still learning!) . when I run x/qt I get a graphical interface and can move the cursor around quite easily, which is fun and all. I hit the menu button and can shutdown out of it.. . hrm, well that seems to be working at least, is it???
(now, I also heard of another method, something involving x11zaurus_0.8_arm.ipk, qtopia-x_0.1-arm.ipk, and keypebble.... I have no idea how to really run either, so as a n00b, I am asking help. )

I run xinit and get : (sorry if this seems stupid, I feel stupid posting this)

# xinit

xinit: No such file or directory (errno 2): no server "X" in PATH

Use the -- option, or make sure that /opt/QtPalmtop/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:

giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

It should be noted that I have no idea what xwindows to any degree, at any level.
So really I have two questions here that I am hoping to get answered...

1.) How can I glibc2.3.2 onto my zaurus through linking to the library off my sd card? ( I realize I could just install oz 3.3.6 pre1 BUT, I do not have a CF card right now, just a wlan card which isn't a combo card so I would like to try this method first before dishing out for another card, even though they aren't expensive)

2.) Can I get a quick xwindows tutorial. How does it work? How do I start it up? How would PD work in conjunction with xwindows (I only know how to run pd by typing it in the console, but even with the glibc libraries there, I don't see how running it in the console would send it to xwindows and bring up the graphical interface for the application....)

3.).. oh and 3, is tcl/tk on my zaurus now? did i miss something when i installed xwindows?

Thank you so much for your time, I am sorry to be such a pester. If I get this running it'll be loads of fun for me so I'm very motivated to learn. I hope you will help me get there!

oh and one last question 4.) how do i view (in the console) what process are running, and how do I kill them off? Thanks..
James
[B]
lardman
Good lad! It's good to see people having a go (and learning). :-)

QUOTE
4.) how do i view (in the console) what process are running, and how do I kill them off?


'ps'; then 'kill -9 <PID>' where <PID> is the process ID shown in the first column (?) by ps.

QUOTE
3.).. oh and 3, is tcl/tk on my zaurus now?


This is not part of X11 so you'll have to install it from somewhere if you want it (you may have done this already, I'm reading in reverse).

QUOTE
2.) Can I get a quick xwindows tutorial. How does it work? How do I start it up? How would PD work in conjunction with xwindows (I only know how to run pd by typing it in the console, but even with the glibc libraries there, I don't see how running it in the console would send it to xwindows and bring up the graphical interface for the application....)


Google for X11 or XFree, there are lots of decent explanations - far better than I'd be able to do anyway. The last point though - do you have WinXP/2k? If so open a command prompt (start menu>run: cmd.exe) and run something like 'explorer.exe'.

QUOTE
now, I also heard of another method, something involving x11zaurus_0.8_arm.ipk, qtopia-x_0.1-arm.ipk, and keypebble.... I have no idea how to really run either, so as a n00b, I am asking help.


This is the old method, steer clear, it's a pain and XQt is far better, newer and generally nicer.

QUOTE
when I run x/qt I get a graphical interface and can move the cursor around quite easily, which is fun and all. I hit the menu button and can shutdown out of it.. . hrm, well that seems to be working at least, is it???


You should have a window manager there somewhere (you installed blackbox) - this appears as a 'taskbar'. I presume you don't have one of these?

Are you running OZ or Sharp ROM 2.xx? If so there's a story ;-): XQt tries to install the Xinit file (name?) in /home/zaurus, but this doesn't exist for us OZ (and Sharp ROM 2.xx) users so you either need to create /home/zaurus for the installation or extract the relevant files manually, then (whichever you did) place these files in /root so that they get run. This should start your window manager.

That should sort you out for X11.

New post for libc (lest my computer dies and I lose this one!).


Si
lardman
QUOTE
then i look /lib out of the data.tar.gz of the ipk and put that into /mnt/card/lib, so the libraries are there, I just don't understand lardman's instructions as to how you create a link to them, or how one would override the older libc_2.2.2 which comes default on the sharprom...


I had a dig in the ipk and the following three executables are included:

/usr/bin/pd
/usr/bin/pdreceive
/usr/bin/pdsend

I'd do this: move them to:

/usr/bin/pd.bin
/usr/bin/pdreceive.bin
/usr/bin/pdsend.bin

Create 3 scripts with the original file names (pd, pdreceive, pdsend) like so (alter the last line as appropriate):

#!/bin/bash
LD_LIBRARY_PATH=/mnt/card/lib/:$LD_LIBRARY_PATH
./pd.bin

Now hopefully (as I've never tried this), it'll alter the lib search path so that it finds your later versions first, then it will run pd (or whatever), but the alteration won't leave the script so everything else should still work okay.

Have a go and let me know if it works.


Si
lardman
James (projekt), How are you doing?

I'm about to have a go at this, assuming I can find the required libs...


Si
projekt
Well, I ordered a CF card today off ebay, so its sorta put on hold for the moment. I think it will be easier to do this under GPE then trying to do it on the sharprom.... ? agreed?
lardman
QUOTE
agreed?


Agreed.

Well I had an initial stab at it.

Installed pd to ext2 formatted CF card, installed tk and tcl from ipkgfind.handhelds.org:

http://ipkgfind.handhelds.org/details.phtm...ficial=&format=
http://ipkgfind.handhelds.org/details.phtm...ficial=&format=

Now one of these packages complained that it needs a higher version of xlibs, I duly ignored it.

When I finally got round to running it ('cos it took bloody ages to work out how to get the files onto the machine - dropbear is crap imho), it came up with the following:

root@collie:~# pd
couldn't open MIDI input device -1
couldn't open MIDI output device -1
opened 0 MIDI input device(s) and 0 MIDI output device(s).
error: OSS: SNDCTL_DSP_GETCAPS failed /dev/dsp
Illegal instruction

I've no idea about the MIDI devices, this is not my field of expertise; nor do I know about the /dev/dsp problem.

Thye Illegal instruction is not a good one though; it probably means that one of the libs or the pd app itself has been compiled using ARM5 (rather than ARM4 which the 5500 uses). If it's pd then it'll need to be recompiled, if it's the libs then I'd recommend going for the oldest versions available on the pages I linked above (I used the newest versions).


Si
lardman
Re-read the pd page and the author shows a pic of it running an a SA device (so he says), so I presume it's the libs. Will give it another go this evening with the oldest libs I could download.

Si
lardman
pd looks like it's ARM4, the libs were the problem.

I've got further now, but it requires tcl/tk >=8.4, and I downloaded 8.3.3.

I'm getting an undefined symbol error for XOpenIM

I presume the old libs are causing this.

Time to try again...


Si
lardman
Nope, back to the illegal instruction business again.

I'll give it a go on my C750 (XQt) and see whether it goes any further.

Si
projekt
cool.

PD is a mixture of midi/sound synthesis. You can control your external synthesizers with it or create oscillators to play tones then send them through different routes and mess things up in fun ways. The midi aspect can also be used with an internal midi soundset. on windows you have the Microsoft GS Synth. All the old nintendo games and games like Doom and such of that time used midi to playback files because entire midi songs could be well under 30k. I think on the nintendo it was even less because they just looped a few bars over and over. There isa library called libSDL that you could install to get midi to work to play your scummVM games or that port of doom they have for the Z. I think if the lib was insalled it might clear up at least half of that midi error message, since you know would have a midi output.

Anyways here a link to the two libraries on our beloved software index

http://www.killefiz.de/zaurus/showdetail.php?app=448
http://www.killefiz.de/zaurus/showdetail.php?app=1347

Now what about the dev/dsp problem. Hrm, it looks to me like pd is having troubles opening up the soundcard, and determining what to set the sample rate at and things like that. I dunno the work around. It might be a recompile thing, I don't know. y CF card will be hear I think by next monday so I will be able to do this with you. Thanks for all your time so far smile.gif

this is all so exiting.

j.
lardman
Curiously enough, I still get the illegal instruction error running on my C750.

This is rather odd. Any ideas?

I somehow think tk & tcl will have to be re-compiled.


Si
projekt
sounds like a real pain in the rear blink.gif

are you saying you got the libSDL up and working as well?
lardman
No I didn't try SDL, I just tried the same (pd & tk & tcl) as I'd tried on my 5500, and I get the same error which is odd.

There may be other tk/tcl ipks out there (it may be in oe for all I know!)


Si
terrorphile
i didnt think i would find a pd thread on here
i guess everyone is past using trackers now tongue.gif
this looks very interesting too
so did you guys get it working?
i would really like to be able to get pd working on my 5500 too
ive been trying to get a tracker in it for the past week
so i could make some oldskool jungle -but every route seemed to lead to a dead end so far.
anyway i would like to see if you did get this working because i also think it would be really nice to be able to use the zaurus live smile.gif
lardman
No, it looks like tk/tcl will need to be re-compiled for the Z.

I'm not sure whether these are in OE yet, this is the best bet imo.


Si
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.