#20 iencoding.h file not found


I tried compiling the latest cvs version for May 6 for
Python 2.3b1 using setup.py. The compiler used was VC++
6.0 under Windows 98. The command was:

python setup.py build

I got a compiler error for file vcompiler.c because
include file iencoding.h could not be found. I fixed
the problem by adding the option include_dir=["c/i386"]
to setup.py, but this is only a hack.


  • Armin Rigo

    Armin Rigo - 2003-05-07

    Logged In: YES

    thanks, I've added the include path c/xxx to setup.py --
    where xxx is the processor you are targetting (currently
    only i386 is available).

    I would love to hear about a portable way to automatically
    detect the processor, though.

  • Armin Rigo

    Armin Rigo - 2003-05-07
    • status: open --> open-fixed
  • Armin Rigo

    Armin Rigo - 2003-05-07
    • status: open-fixed --> closed-fixed
  • Armin Rigo

    Armin Rigo - 2003-05-07

    Logged In: YES

    Using a mix of tricks based on sys.platform and what 'uname
    -m' returns, if that command is present. Will certainly need
    updating in due time. That will do for now.

  • Lenard Lindstrom

    Logged In: YES

    I am only familiar with Windows, so cannot make much of a
    suggestion. The closest thing I could find was sys.version
    which includes the value of the python.h COMPILER macro,
    but the macro does not appear to have a consistant format
    across operating systems.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks