[Top][All Lists]

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

Re: [Swftools-common] Compiling pyswf on OS X

From: Ksenia Marasanova
Subject: Re: [Swftools-common] Compiling pyswf on OS X
Date: Tue, 12 Oct 2004 14:30:38 +0200

Sorry for the late reaction,

configure:11492: checking for Python.h and PIL
configure:11545: result: nope

I have Python.h in
python2.3/ and PIL in /Library/Python/2.3/.

Try running ./configure as

PYTHON_LIB="/System/Library/Frameworks/Python.framework/Versions/2.3/ include/python2.3" \
    PYTHON_INCLUDES="/Library/Python/2.3/" \

I did... there are still problems:
configure:11492: checking for Python.h and PIL
configure:11514: result: unknown
configure:11525: checking whether we can compile the python test program
python.m4: gcc -I/usr/local/include/freetype2 -I/usr/local/include -Ilame -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer -fno-rtti /Library/Python/2.3/ conftest.c -L/usr/local/lib /System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3 -lt1 -ljpeg -lz -lm -L/usr/local/lib -lfreetype -lz -o conftest
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
conftest.c: In function `main':
conftest.c:7: warning: passing arg 2 of `Py_Main' from incompatible pointer type
configure: failed program was:
#include <Python.h>
#include <Imaging.h>

int main(int argn, char*argv)
    int ret;
    ret = Py_Main(argn, argv);
    int x; // check also for gcc 2.95.x incompatibilities
    return ret;

Are the directories you sent the standard locations for a python
installation? If yes, I'll add them to the list of directories that
are checked.

At least they are standard for OS X 10.3 with pre-installed Python... I see you've added darwin support to configure script, cool!

reply via email to

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