Author Topic: Pybluez Module  (Read 4832 times)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Pybluez Module
« on: June 17, 2006, 02:57:45 am »
anyone wanna try and compile this, I cant seem to get it....
« Last Edit: July 16, 2006, 09:27:14 pm by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

melee

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Pybluez Module
« Reply #1 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]

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
C860 - with Sharp ROM
1GB SD and 2 GB & 256MB CF
WiFi, Bluetooth and Sharp CF camera cards
Ubuntu 6.06
(WinXP if I really have to)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Pybluez Module
« Reply #2 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
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

melee

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Pybluez Module
« Reply #3 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
C860 - with Sharp ROM
1GB SD and 2 GB & 256MB CF
WiFi, Bluetooth and Sharp CF camera cards
Ubuntu 6.06
(WinXP if I really have to)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Pybluez Module
« Reply #4 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
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Pybluez Module
« Reply #5 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.
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Pybluez Module
« Reply #6 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.
« Last Edit: July 16, 2006, 08:49:18 pm by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder