lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GUB on the python-db problem


From: Jan Nieuwenhuizen
Subject: GUB on the python-db problem
Date: Mon, 27 Aug 2012 11:17:00 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (gnu/linux)

Hi John,

It appears that the fix we made in your branch for DB is correct.
Have a look at target/tools/src/python-2.4.5/setup.py:527

        db_setup_debug = False   # verbose debug prints from this script?

and below...

Setup.py looks for /usr/include/*db*3,4*/db.h, which is entirely broken:
it should ask GCC if it can find db.h (and/or look at the include
flags); we are cross compiling and it entirely ignores that option.

This holds for all of the extension modules that are checked here.  It
would be nice if we could add %(system_prefix)s for where it looks for
all extensions; on the other hand: trusting GUB's dependencies and
patching Setup.dist is OK too.

Also, did you see Joe's mail about anydbm?  I misread his mail earlier,
of course he is using /usr/bin/python [that's needed for bootstrapping]
so we probably want what he suggests: in gub/2/db.py only have

     import anydbm as db

Greetings,
Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]