ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Build issues
Solree


Joined: 04 Jan 2013
Posts: 4
Reply with quote
Hi.

Help me with build ClamWin from sources please.
When i run build.bat (with changed paths), happens error "build.cmd is not recognized as an internal or external command". I try to find that file, but anything found. It's some from Visual C++? But where it can be exactly?
When i run setup_all.py build install, script output "running build, running install, running install_data". But after that i don't have any binary files (or something else) in directory dist (except 2 empty folder: bin and lib).

I have installed Visual Studio 2005, Visual C++ Toolkit 2003, Platform SDK, Python 2.3, wxPython 2.4, py2exe, InnoSetup 5 and ISBuild 5.

Thanks.
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1755
Reply with quote
Your setup sounds correct
If you read the build.bat file then you will find that it calls:
addons\pyclamav\build.cmd

You need to get the addons folder from git and build it
View user's profileSend private message
Solree


Joined: 04 Jan 2013
Posts: 4
Reply with quote
I don't have addons folder, and i dont't see that folder in git (http://sourceforge.net/p/clamwin/code/ci/dfe2bf4351a9879c48e21ad70e676d1235fdf502/tree/).
Now i try to build with setup_all.py script. When just run him, see error with zipfile = "lib/clamwin.zip", when i comment that, i see error with options = {"py2exe" : py2exe_options}, when i comment typelibs array, everythin build and i finally see .exe files! But they don't work... When i run ClamWin.exe, he make log, where writted that:
Code:
Traceback (most recent call last):
  File "ClamWin.py", line 27, in ?
ImportError: No module named SetUnicode

What's wrong?.. I have a feeling that developers not commit all sources... Or... i don't know. Maybe his need typelibs, but what wrong with that array? And what wrong with .zip?
View user's profileSend private message
Solree


Joined: 04 Jan 2013
Posts: 4
Reply with quote
Found addons on SVN. But it's not end, now i have problem with pyc building... Love it Smile
View user's profileSend private message
Solree


Joined: 04 Jan 2013
Posts: 4
Reply with quote
Where to get io.h (included into pyconfig.h)? Google recommend install pandas for python, but i can't see any for 2.3. Try to build pandas 0.10 from source, but get syntax error (think it cuz python 2.3).
It's needed when cl.exe build pyc.
View user's profileSend private message
enigma


Joined: 05 Jun 2013
Posts: 1
Reply with quote
You don't need panda to get io.h just google "io.h download" it's the first result. scan the file just in case...
View user's profileSend private message
Build issues
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