OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => User Request for Applications => Topic started by: bam on June 17, 2006, 02:57:45 am

Title: Pybluez Module
Post by: bam on June 17, 2006, 02:57:45 am
anyone wanna try and compile this, I cant seem to get it....
Title: Pybluez Module
Post by: melee on June 18, 2006, 12:30:06 pm
Quote
anyone wanna try and compile this, I cant seem to get it....
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=131453\")

Hi

There are a couple of .ipks
[a href=\"http://org.csail.mit.edu/pybluez/download.html]HERE[/url]

Are those any good?

regards

Melee
Title: Pybluez Module
Post by: bam on June 18, 2006, 05:12:06 pm
nope, not even in any kind of known format that I know of, tar or tar.gz
Title: Pybluez Module
Post by: melee on June 19, 2006, 12:36:45 pm
Quote
nope, not even in any kind of known format that I know of, tar or tar.gz
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131715\"][{POST_SNAPBACK}][/a][/div]

Hi

They are just .deb files renamed as .ipk

Change the extension to .deb and run dpkg-deb -c [filename.deb]
to view the contents.

The file python-bluez_0.6.1_arm(.ipk)
contains the directory structure /usr/lib/python2.4/site-packages/
and within are the files _bluetooth.so and bluetooth.py

I dont have python installed on my Z.

If you tell me what the appropriate directory structure for your Z and OS is, I can repackage in a tar gzipped .ipk for you

Alternately just copy the individual files over to the relevant directory on your Z, having extracted them with dpkg.

To do this use:-
dpkg-deb -X [filename.deb] /tmp
which will extract the directory tree into your /tmp directory and give you access to the individual files within it

regards

Melee
Title: Pybluez Module
Post by: bam on July 16, 2006, 06:53:30 pm
seems that it doesnt wanna extract too well, can you tar up the two files for me, please
Title: Pybluez Module
Post by: bam on July 16, 2006, 08:17:01 pm
think I found the minor issue
symlink /user/local/python2.4/ ---> /home/QtPalmtop/include/python2.4/

and then you can build v0.3, 0.7 fails, not sure why as of yet.

btw this is with meanies zgcc package and kopsis python image.
Title: Pybluez Module
Post by: bam on July 16, 2006, 08:40:31 pm
YES! 0.5 compiles fine and runs! Place em in the site-packages dir of your python install.

guess I am getting better at this compiling stuff, actually if I just read the frikkin output I would save some headaches for "other" things.