#20 iencoding.h file not found

closed-fixed
nobody
5
2003-05-07
2003-05-07
No

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.

Discussion

  • Armin Rigo

    Armin Rigo - 2003-05-07

    Logged In: YES
    user_id=4771

    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
    user_id=4771

    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
    user_id=663274

    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