Re: Compiling glib on win32



Dieter Verfaillie wrote:

On Wed, 29 Feb 2012 16:29:51 +0100, Manuel Ferrero wrote:
I'm trying to compile glib-2.30.2 on my windows machine because I'd
like to use an external dll compiled against a different version of
msvcrt.dll.
I'd like to compile glib using a mingw environment and so far I was
able to succesfully configure it adding the requested dependencies.
Now I tried to make it and after a while I got the following error:
AttributeError: 'dict' object has no attribute 'has_key'
make[6]: *** [gdbus-example-objectmanager-generated.h] Error 1

Maybe some Python 3.x version is being used to execute gdbus-codegen?

Just an idea, as dict.has_key() has been removed from Python 3, so
ensure Python 2.6 or 2.7 (consult GLib's configure.ac for a definitive
list of supported versions) is picked up and it will probably work.

I can't see python as a prerequisite to compile GLib: http://developer.gnome.org/glib/2.30/glib-building.html

I have python 2.5 and python 3.1 on my pc and in my PATH variable and I set a variable named PYTHON pointing to my python installation: C:\Programmi\Python25
Still no luck.
--
Regards,
Manuel Ferrero
R&D department

Reer SpA	
Tel.  +39 011 2482215
Fax. +39 011 859867

L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe costituire reato.
Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve essere considerato
come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati se, via e-mail,
ce ne comunicasse l'errata ricezione.

The unauthorized use of this e-mail is prohibited and could constitute an offence.
If you are not the intended recipient of this message its contents shall be understood as neither
given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately in that case.



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