chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] PyFFI


From: Ivan Raikov
Subject: Re: [Chicken-users] PyFFI
Date: Tue, 01 Jan 2008 18:04:22 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

  So does the egg work without modification with the standard Apple
Python? I will look into how to compile it with the MacPorts Python,
but I want to make sure it works with the standard
installation. Thanks for your patience with testing.

  -Ivan

Ozzi <address@hidden> writes:

> That fixed it for 2.3.4.
>
> When I changed pyflags to:
>
> (define pyflags
>   (map cons (list
> "-I/opt/local/Library/Frameworks/Python.framework/Headers
> -F/opt/local/Library/Frameworks/") (list  "-framework Python")))
>
> it wouldn't compile until I removed the #if directives around the
> definition of DecRef and IntRef in pyffi-support.scm.
>
> Now it compiles, but running
>
> (use pyffi) (py-start) (py-import "sys") (py-eval "sys.version")
>
> still gives me 2.3.5.
>
> Do you know how to get it to compile and run against my MacPorts version of 
> Python?
>
> Thanks for the help. Hopefully this will benefit others besides myself as 
> well.
>
> Oz




reply via email to

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