On Thu, 20 Mar 2008, Nathaniel Smith wrote:
> On Thu, Mar 20, 2008 at 02:35:26PM -0700, Tavis Rudd wrote:
>> I managed to get parti to build on Linux once I applied the math.pow
>> patch.  Meanwhile, I'm having no luck building on os x / macports.  I've
>> got all the dependencies installed, but can't figure out how to get
>> distutils/Pyrex to build against the appropriate header files for glib,
>> gtk, etc.
>>
>> Setting the C_INCLUDE_PATH like this:
>>   export 
>> C_INCLUDE_PATH=/opt/local/include/gtk-2.0/include:/opt/local/include:/opt/local/include/pygtk-2.0
>> doesn't help.
>>
>> I also tried hacking setup.py to add the include_dirs option.
>
> Ugh, I don't use OS X (nor, of course, macports), so can't say in
> detail.  It would help if you could provide the output from you build,
> though.
>
> Also, you may have more success by setting PKG_CONFIG_PATH to a
> colon-separated list of directories that contain the ".pc" files like
> "gtk+-2.0.pc" and "pygtk-2.0.pc", rather than trying to tweak
> C_INCLUDE_PATHS directly.

Yeah, I tried that just after posting.  I'm getting there, but there's 
still some headers to track down.  I won't bore you with the individual 
details.

Btw, the pkgconfig function in setup.py should throw an exception if 
pkgconfig encounters an error.  It's failing silently at the moment.

Tavis

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to