 | How to compile clamwin with python2.4 & vs2005? |  |
jordanliuhao
Joined: 17 Dec 2009 |
Posts: 0 |
|
|
 |
Posted: Fri Jan 29, 2010 11:03 pm |
|
 |
 |
 |
 |
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
|
|
 |
 | |  |
GuitarBob
Joined: 09 Jul 2006 |
Posts: 9 |
Location: USA |
|
 |
Posted: Fri Jan 29, 2010 11:46 pm |
|
 |
 |
 |
 |
There are some similar Python-related postings recently on the fourm. Did you do a search? Perhaps one of them can help.
Regards,
|
|
sherpya
Joined: 22 Mar 2006 |
Posts: 0 |
Location: Italy |
|
 |
Posted: Sat Jan 30, 2010 1:46 am |
|
 |
 |
 |
 |
you need python23
|
|
jordanliuhao
Joined: 17 Dec 2009 |
Posts: 0 |
|
|
 |
Posted: Mon Feb 01, 2010 6:37 pm |
|
 |
 |
 |
 |
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
|
|
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
|
|
|
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.