ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
How to compile clamwin with python2.4 & vs2005?
jordanliuhao


Joined: 17 Dec 2009
Posts: 0
Reply with quote
When I compile the pyc, it automatically looking for vs2003, because python2.4 is compiled with vs2003.
Are you recompile python2.4 and all the required extensions with vs2005? That would be a nightmare.

Thanks.

The following is the error for pyc compilation.

C:\Users\xxxx\workspace\addons\pyc>call build.cmd release
Building Release
running build
running build_ext
building 'pyc' extension
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
/MD /W3 /GX /DNDEBUG -IC:\Users\jordan\workspace\clamav-win32/libclamav -Ic:\py
thon24\include -Ic:\python24\PC /Tcpyc.c /Fobuild\temp.win32-2.4\Release\pyc.obj
-MD
pyc.c
pyc.c(283) : warning C4013: 'loadDB' undefined; assuming extern returning int
pyc.c(283) : error C2065: 'internal' : undeclared identifier
pyc.c(283) : warning C4022: 'pyc_DEBUG' : pointer mismatch for actual parameter
1
pyc.c(375) : error C2065: 'checkAndLoadDB' : undeclared identifier
pyc.c(375) : warning C4022: 'pyc_DEBUG' : pointer mismatch for actual parameter
1
error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.e
xe"' failed with exit status 2
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
There are some similar Python-related postings recently on the fourm. Did you do a search? Perhaps one of them can help.

Regards,
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
you need python23
View user's profileSend private message
jordanliuhao


Joined: 17 Dec 2009
Posts: 0
Reply with quote
yes. these post are posted by me.

I used to compile with python2.3 and vs6.0. Problems.

I got the answer to compile with python2.4 and vs2005. But then I got the problem as described above. It automatically use vs2003 to compile

If I compile with python2.5 and vs 2005, I got some other headache and I need change the code.

So I need an answer how it is done with python2.4 and vs2005 if someone suggested that. Seems no one have discussed about it. Strange.

Thanks
View user's profileSend private message
How to compile clamwin with python2.4 & vs2005?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic