![]() |
![]() | Compile pyc module failed | ![]() |
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
You need MS Visual Studio 2005 to build it, VC98 won't do it without code modifications. pyc is a python binding for libclamav.
|
|||||||||||
|
![]() |
![]() | ![]() |
jordanliuhao
![]() |
![]() |
Thanks for the reply.
But when I use visual studio 2008 express to compile it. It says Python is built with Visual Studio 6 and won't continue. I suppose visual studio 2005 may have the same problem. What should I do? Thanks. BTW, I'm using python2.3 C:\Users\xxxx\workspace\clamwin\pyc>build.cmd release Building Release running build running build_ext error: Python was built with version 6 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. build failed |
|||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
use Python 2.4 and VS2005 (that's what we do and they are compatible), or you can build python with VS2008
|
|||||||||||
|
![]() |
![]() | ![]() |
sherpya
![]() |
![]() |
you mean py23 ?
![]() |
|||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
yes - looks like I am getting old...
|
|||||||||||
|
![]() |
![]() | ![]() |
jordanliuhao
![]() |
![]() |
I followed the document
https://wiki.clamwin.com/index.php/Building_ClamWin it says you may experience problems trying to build with Python 2.4, as the the version of wxPython that ClamWin works with does not have a binary for Python 2.4, only 2.3 and 2.2. Therefore, Python 2.3 should be used to develop and build ClamWin. Maybe need an update. Thanks |
|||||||||||
|
![]() |
![]() | ![]() |
jordanliuhao
![]() |
![]() |
After install python2.5 (python2.4 need compile pyc with vs2003) and vs2005, I compile the pyc. It asks for libclamav.lib to link.
There is only a win32 clamav version for 0.92. New win32 version is under development and is expected to release in 0.96. So are you using the 0.92 win32 version? under development 0.96 win32 version? or compiled 0.95 version in win32 by yourself? Thanks C:\Users\xxxx\workspace\addons\pyc>build.cmd release Building Release running build running build_ext building 'pyc' extension creating build\temp.win32-2.5 creating build\temp.win32-2.5\Release C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W 3 /GX /DNDEBUG -IC:\Users\xxxx\workspace\clamav-release/libclamav -Ic:\python2 5\include -Ic:\python25\PC /Tcpyc.c /Fobuild\temp.win32-2.5\Release\pyc.obj -MD cl : Command line warning D9035 : option 'GX' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' pyc.c creating build\lib.win32-2.5 C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin\link.exe /DLL /nologo /INCRE MENTAL:NO /LIBPATH:c:\python25\libs /LIBPATH:c:\python25\PCBuild /EXPORT:initpyc build\temp.win32-2.5\Release\pyc.obj C:\Users\xxxx\workspace\clamav-release// contrib/msvc/Release/Win32/libclamav.lib /OUT:build\lib.win32-2.5\pyc.pyd /IMPLI B:build\temp.win32-2.5\Release\pyc.lib LINK : fatal error LNK1181: cannot open input file 'C:\Users\xxxx\workspace\cl amav-release//contrib/msvc/Release/Win32/libclamav.lib' error: command 'link.exe' failed with exit status 1181 build failed |
|||||||||||
|
![]() |
![]() | Compile pyc module failed | ![]() |
|
||
![]() |
![]() |
Powered by phpBB © phpBB Group
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.