Problems installing decompyler from source on windows

Arnau Rosselló Castelló arnau at exelweiss.com
Fri Jan 10 12:10:21 EST 2003


I've downloaded the sources from 
http://www.crazy-compilers.com/decompyle/index.html#decompyle
and i've tried to build them:
My python version is 2.2.1 and i'm using MSVC7(.net)
Any help would be greatly appreciated, here is the output i got:

C:\Documents and Settings\Arnau\Escritorio\decompyle-2.2beta1>python 
setup.py install
running install
running build
running build_py
not copying decompyle\dis_15.py (output up-to-date)
not copying decompyle\dis_16.py (output up-to-date)
not copying decompyle\dis_20.py (output up-to-date)
not copying decompyle\dis_21.py (output up-to-date)
not copying decompyle\dis_22.py (output up-to-date)
not copying decompyle\dis_files.py (output up-to-date)
not copying decompyle\magics.py (output up-to-date)
not copying decompyle\marshal_files.py (output up-to-date)
not copying decompyle\Parser.py (output up-to-date)
not copying decompyle\Scanner.py (output up-to-date)
not copying decompyle\spark.py (output up-to-date)
not copying decompyle\verify.py (output up-to-date)
not copying decompyle\Walker.py (output up-to-date)
not copying decompyle\__init__.py (output up-to-date)
running build_ext
building 'decompyle/marshal_20' extension
creating build\temp.win32-2.2
creating build\temp.win32-2.2\Release
C:\Archivos de programa\Microsoft Visual Studio .NET\VC7\BIN\cl.exe /c 
/nologo /
Ox /MD /W3 /GX -DMARSHAL_VERSION=20 -Ic:\Python22\include 
/Tcdecompyle/marshal_2
2_for_20.c /Fobuild\temp.win32-2.2\Release\marshal_22_for_20.obj
marshal_22_for_20.c
decompyle\marshal_22_for_20.c(271) : warning C4273: 
'PyMarshal_WriteLongToFile'
: inconsistent dll linkage
decompyle\marshal_22_for_20.c(281) : warning C4273: 
'PyMarshal_WriteObjectToFile
' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(642) : warning C4273: 
'PyMarshal_ReadShortFromFile
' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(650) : warning C4273: 
'PyMarshal_ReadLongFromFile'
  : inconsistent dll linkage
decompyle\marshal_22_for_20.c(677) : warning C4273: 
'PyMarshal_ReadLastObjectFro
mFile' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(721) : warning C4273: 
'PyMarshal_ReadObjectFromFil
e' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(733) : warning C4273: 
'PyMarshal_ReadObjectFromStr
ing' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(748) : warning C4273: 
'PyMarshal_WriteObjectToStri
ng' : inconsistent dll linkage
decompyle\marshal_22_for_20.c(873) : warning C4067: unexpected tokens 
following
preprocessor directive - expected a newline
C:\Archivos de programa\Microsoft Visual Studio .NET\VC7\BIN\link.exe 
/DLL /nolo
go /INCREMENTAL:NO /LIBPATH:c:\Python22\libs 
/EXPORT:initdecompyle/marshal_20 bu
ild\temp.win32-2.2\Release\marshal_22_for_20.obj 
/OUT:build\lib.win32-2.2\decomp
yle/marshal_20.pyd /IMPLIB:build\temp.win32-2.2\Release\marshal_20.lib
marshal_22_for_20.obj : error LNK2001: unresolved external symbol 
initdecompyle/
marshal_20
build\temp.win32-2.2\Release\marshal_20.lib : fatal error LNK1120: 1 
unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
error: command '"C:\Archivos de programa\Microsoft Visual Studio 
.NET\VC7\BIN\li
nk.exe"' failed with exit status 1141

C:\Documents and Settings\Arnau\Escritorio\decompyle-2.2beta1>





More information about the Python-list mailing list