[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
/System/Library/Frameworks/Python.framework/Versions/2.3/include/
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/" \
./configure
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!
- Re: [Swftools-common] Compiling pyswf on OS X,
Ksenia Marasanova <=
- Re: [Swftools-common] Compiling pyswf on OS X, Matthias Kramm, 2004/10/13
- Re: [Swftools-common] Compiling pyswf on OS X, Ksenia Marasanova, 2004/10/26
- Re: [Swftools-common] Compiling pyswf on OS X, Matthias Kramm, 2004/10/26
- Re: [Swftools-common] Compiling pyswf on OS X, Ksenia Marasanova, 2004/10/26
- Re: [Swftools-common] Compiling pyswf on OS X, Matthias Kramm, 2004/10/26
- Re: [Swftools-common] Compiling pyswf on OS X, Ksenia Marasanova, 2004/10/26
- Re: [Swftools-common] Compiling pyswf on OS X, Matthias Kramm, 2004/10/26