Compiling on Alpha-Win2K/WinNT (Python 1.5.2)

tmick at mail.com tmick at mail.com
Wed Jan 5 19:52:51 EST 2000


I am trying to compile Python 1.5.2 (as extracted from py152.tgz on
www.python.org) for Win2000 on an Alpha. Has anyone done this? I
presume that it should be similar to compiling for Alpha/WinNT.

This is my method (please correct me if I am wrong):
 - load "Python-1.5.2\PCbuild\pcbuild.dsw" in MS Dev Studio 5.0
 - set the "python15" project as the active project
 - build

My first problem is that all of the build icons/menu-entries in
DevStudio are grayed out (i.e. I can't build the project). Does anyone
know what this indicates?

I then tried this:
 - export a makefile for the "python15" project
 - run nmake on it: "nmake python15.mak"

This got me further (the .c files were being compiled) but the
compilation broken with the following error:

--------------------------------------------
G:\trentm\Python-1.5.2\PCbuild>nmake python15.mak

Microsoft (R) Program Maintenance Utility   Version 1.62.7128
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

No configuration specified. Defaulting to python15 - Win32 Debug.

cl.exe /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /D "_
DEBUG" /D "USE_DL_EXPORT" /D "WIN32" /D "_WINDOWS" /Fp".\temp-
debug\python15.pch
" /YX /Fo".\temp-debug\\" /Fd".\temp-
debug\\" /FD /c ..\Modules\fpectlmodule.c
fpectlmodule.c
..\Modules\fpectlmodule.c(167) : fatal error C1083: Cannot open include
file: 'machine/fpu.h': Permission denied
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
--------------------------------------------

I do not know of a file called "fpu.h" and cannot find one on my system.


Any help would be appreciated. Thanks in advance.

Trent
tmick at mail.com


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list