Hi, I've been trying to build the Tryton 1.7 client for WIndows, as described in the Tryton wiki article: http://code.google.com/p/tryton/wiki/BuildingWinInstall . As instructed I downloaded the last Python 2,5 version which had Windows binaries on their site.
I am running Windows 7 x64 by the way, but want a win32 client of course. I had some small issues that I *hope* I solved myself. The biggest hurdle was installing "lxml", which was not possible using the standard easy_install route, because it needs Visual Studio 2003 to compile some files (I have VS2005 on my machine, VS2003 is not even Vista/W7 compatible I believe). I found a link to a win32 egg and pointed Easy_Install to it. After this tryton-install-helper ran without errors. Then I downloaded Mercurial for Windows and cloned the latest 1.7 Tryton client. I've also added GTK runtime binary folder to my Path. Finally I ran "setup.py build", "setup.py install" and `setup.py py2exe` as instructed by the wiki article. Client 1.6 (the one downloaded by tryton-install-helper) as well as the new 1.7 client both have the same problem when run on the WIndows system: they run, but the icontoolbars and most icons are not displayed. It does not display any error messages though. The Wiki article suggests that this problem is caused by GTK DLLs which must be the first entry in the path. Changing the Path does not solve the problem though (yes I've verified the first folder contains the DLL's). When running the "python setup.py py2exe" command, I've noticed some serious messages which I am sure are related to this problem: ------------------------- copying C:\Python25\lib\site-packages\py2exe\run_w.exe -> C:\tryton \tryton\dist\tryton.exe The following modules appear to be missing ['email.Generator', 'email.Iterators', 'email.Utils', 'gdk', 'gtk_osxapplication', 'gtkspell', 'json', 'ltihooks', 'resource', 'ssl', 'win32api', 'win32con', 'win32pipe'] *** binary dependencies *** Your executable(s) also depend on these dlls which are not included, you may or may not need to distribute them. Make sure you have the license if you distribute any of them, and make sure you don't distribute files belonging to the operating system. OLE32.dll - C:\Windows\system32\OLE32.dll USER32.dll - C:\Windows\system32\USER32.dll IMM32.DLL - C:\Windows\system32\IMM32.DLL SHELL32.DLL - C:\Windows\system32\SHELL32.DLL libxml2-2.dll - C:\Program Files (x86)\GTK2-Runtime\bin \libxml2-2.dll COMDLG32.DLL - C:\Windows\system32\COMDLG32.DLL WSOCK32.dll - C:\Windows\system32\WSOCK32.dll COMCTL32.DLL - C:\Windows\system32\COMCTL32.DLL ADVAPI32.DLL - C:\Windows\system32\ADVAPI32.DLL SHLWAPI.DLL - C:\Windows\system32\SHLWAPI.DLL msvcrt.dll - C:\Windows\system32\msvcrt.dll WS2_32.dll - C:\Windows\system32\WS2_32.dll WINSPOOL.DRV - C:\Windows\system32\WINSPOOL.DRV GDI32.dll - C:\Windows\system32\GDI32.dll gdiplus.dll - gdiplus.dll KERNEL32.dll - C:\Windows\system32\KERNEL32.dll KERNELBASE.dll - C:\Windows\system32\KERNELBASE.dll ntdll.dll - C:\Windows\system32\ntdll.dll ---------------------------- Why is libxml2-2.dll in the list, as I am sure it's not a standard windows DLL. I believe most (if not all) other mentioned DLLs are standard Windows system DLLs that should not need to be distributed. Does anyone have any hints to get this working? How would I need to get and install the missing packages on my machine? Thanks for your help! Best regards, Vincent -- [email protected] mailing list
