Hey,

I have the following error when building ecore-evas python binding:

   File "setup.py", line 52, in <module>
     **pkgconfig('"ecore-evas >= 0.9.9.040"'))
TypeError: __init__() keywords must be strings

pkg-config returns this for ecore-evas:

-D_REENTRANT -I/home/torri/local/e17/include -I/usr/include/directfb 
-L/home/torri/local/e17/lib -lecore_evas -levas -lecore_x -lecore_directfb 
-lecore_sdl -ldirectfb -lfusion -ldirect -lpthread -lecore

and the python pkgconfig function (?) is using:

flag_map = { '-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries'}

that is, no -D in it. When I add '-D' : 'prepro_vars', that is:

flag_map = {'-D' : 'prepro_vars', '-I': 'include_dirs', '-L': 'library_dirs', 
'-l': 'libraries'}

it works

I don't know if it's the correct thing to do, but I think that there is 
anyway a problem when pkg-config returns -D flags.

Vincent

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to