swftools-common
[Top][All Lists]
Advanced

[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, 26 Oct 2004 14:29:20 +0200

Thanks for testing this.

Could you, in the configure script, replace

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;
}

by

int main()
{
    int ret;
    ret = Py_Main(0,0);
    int x; // check also for gcc 2.95.x incompatibilities
    return ret;
}



I am sorry for the delay again.. I was hoping to do a clean re-install of my Powerbook, and then test it again.. but had no time for that :(

So here are the results:
-------------
checking for Python.h and PIL... unknown
checking whether we can compile the python test program... ld: can't map file: /Library/Python/2.3/ ((os/kern) invalid argument)
no

-------------
from config.log:
------------
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
configure: failed program was:
#include <Python.h>
#include <Imaging.h>

int main()
{
    int ret;
    ret = Py_Main(0,0);
    int x; // check also for gcc 2.95.x incompatibilities
    return ret;
}
configure:11548: result: no





reply via email to

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