SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-07 19:03:58

pipein
Member
Registered: 2012-05-30
Posts: 46

missing build-dependecy in python package receipt - (gdbm-dev)

The python package receipt is missing gdbm-dev from the BUILD-DEPENDS line.

Including gdbm-dev allows the _bsddb and dbm modules to be built.

The remaining modules which fail to build automatically in the Cook log are:

- sunaudiodev - specific to the SunOS

- bsddb185 - legacy module for BerkeleyDB lib 1.85 (superceded by the _bsddb module since about python 2.3)

Offline

#2 2012-06-07 19:11:16

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: missing build-dependecy in python package receipt - (gdbm-dev)

should have said its for python 2.7.2 package receipts in SliTaz 4.0 and Cooking.

Offline

#3 2012-06-07 21:22:37

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: missing build-dependecy in python package receipt - (gdbm-dev)

Yeah, I already have that compiled. Seems I forgot to mention it tongue

And I have 2.7.3 compiled, so I'm a little ahead of everybody >.>

Offline

#4 2012-06-07 21:33:07

pipein
Member
Registered: 2012-05-30
Posts: 46

Re: missing build-dependecy in python package receipt - (gdbm-dev)

I remember you mentioned db/db-dev (which has been added to the receipt).

Just thought it was worth mentioning here in case any one bumps into the need of it (because people __always__ search before they post)... or if any felt like updating the receipt.

Found any hiccups with 2.7.3 compared to 2.7.2?

Offline

#5 2012-06-07 21:37:45

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: missing build-dependecy in python package receipt - (gdbm-dev)

Incidentally, I think gdm and db should be added to suggested packages like tk and tcl have been.

So far I haven't had any problems with it yet. I have noted a problem with certain python functions and cross compiled systems. For example, on a 64bit Ubuntu, the hash() function returns a different value compared to a 32bit system. This doesn't matter much unless you use hash() to generate identification numbers for data. A quick hack around it is to import ctypes and use ctypes.int32().value to force it to display 32bit values.

Offline

#6 2013-02-03 06:21:01

zelaya15
Member
Registered: 2013-02-02
Posts: 3

Re: missing build-dependecy in python package receipt - (gdbm-dev)

Hi all, i am looking a way to update my python version to 2.7.3 on my Slitaz 3 for install Calibre Ebook, i got this message:

python build finished but the necessary bits to build these modules were not found

_bsddb

_ssl

_tkinter

bsddb185

dbm

sunaudiodev

Failed to build these modules:

gdbm

readline

I beleve is something like you guys have before, i will appreciate very much any help

Offline

#7 2013-02-03 06:29:54

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: missing build-dependecy in python package receipt - (gdbm-dev)

You don't need 2.7.3, you need > 2.6.0, so you could try python from 4.o or rolling, but it could be messy.

i think you better try an older version of calibre without screwing up your system.

i'm packing calibre for rolling, so you will find it in 5.0 or in rolling, i think it will takes me some days.

Offline

#8 2013-02-03 09:21:24

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: missing build-dependecy in python package receipt - (gdbm-dev)

or maybe just try the py3k package

Offline

#9 2013-02-03 11:57:06

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: missing build-dependecy in python package receipt - (gdbm-dev)

calibre wants python2

Offline

#10 2013-02-03 15:02:03

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: missing build-dependecy in python package receipt - (gdbm-dev)

In the error @ http://forum.slitaz.org/topic/calibre-ebook-slitaz-3-4 it shows Calibre has Python 3 support in it's code. It's the easiest route.

Offline

#11 2013-02-03 18:04:15

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: missing build-dependecy in python package receipt - (gdbm-dev)

in the site they says:

"

If you're still determined to install from source, read on:

    Make sure your system has python ≥ 2.7.1 not 3.x

    Install the various dependencies listed below

    Run the following commands in a terminal:

"

maybe only the installer works with python3?

the installer download calibre and all what it requires to run, so it probably install python 2 too in /opt

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]