compiling...

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Mon Feb 3 08:05:30 EST 2003


----- Original Message ----- 
From: Enrique Palomo 

> Hello again.
>
> I have sent this message two hours ago.
> Another solution, could be that anyone tell me 
> what is what i need to compile a c++ module and 
> use like  a python one.
> Is the first time i must do something like that 
> and i feel quite lost.
> I've downloaded pycrypto package, run setup.py 
> build and ...
> 
> cl.exe /c /nologo /Ox /MD /W3 /GX -Isrc/ 
> -IC:\ARCHIV~1\python2.2\include /Tcsrc/MD2.c 
> /Fobuild\temp.win32-2.2\Release\MD2.obj
> error: command 'cl.exe' failed: No such file or 
> directory 

You don't have a Microsoft C compiler.  The distutils
(invoked by the setup.py you mention) by default 
assume you are using MS Visual C.

You can use the MinGW32 GCC compiler, if you have
it installed, but installing it is not trivial.
You'd have to start by doing a Google search for
"mingw32".  Mumit Khan (hope I spelled that right)
is the person primarily responsible for porting GCC
to Win32, and the download is most likely on his
site.

> i would be eternally thanked i anyone could 
> explain me, step by step, what must i do. 
> Not only thanked, a couple of beers for the 
> people of good heart.

Afraid I don't have time to explain this step by
step; it would be easier for me to build pycrypto
for you than explain how to install MinGW32's
compiler.

And I don't drink beer, anyway.

Email me a link to the source download and I might
just build it for you.

Chris Gonnerman -- chris.gonnerman at newcenturycomputers.net
http://newcenturycomputers.net






More information about the Python-list mailing list