>On Wed, 22 Jun 2011 06:28:51 -0700 (PDT)
>Chris Oquendo <[email protected]> wrote:

> I am having trouble with the installation of the gfx module for python. 
>  
> I went to the site http://www.swftools.org/gfx_tutorial.html 
> I then proceeded to install the development snapshot
> swftools-2011-01-23-1815.exe from the 
> http://www.swftools.org/download.html page.

The last time I tried the development snapshot ( for me at least ), it was 
broken.

The git snapshot seems fine: edit line 7039 of the configure script, adding in 
2.7
to the VERSIONS line.  make clean ( if necessary ), then follow the alternative
install instructions in Code Listing 1.2, namely,

 ./configure
  make

  ( 'gfx.so' should then be available in the lib/python directory 1.2 )

  cp lib/python/*.so /usr/lib/python2.7/site-packages/


SWFTools 0.9.1 should automatically build the 'gfx.so' and 'SWF.so' with 
./configure
& make.  As above, copy them to the appropriate location.

> Installation finished but then when I go run the setup.py build and setup.py 
> install > I don't get the module gfx.  

There is also an issue with installing the gfx module that way with Python 2.7, 
as it
handles modules a little differently to previous versions.

HTH.

Regards,


Chris.

Reply via email to