|
Compiling anything in Windows can be a bit of a chore, but stick with it and you will succeed. IntroductionIn order to create a native Win32 compatible searchmonkey executable, you need the following:
Installing MINGWDownload, and run the MinGW-5.0.2.exe installation tool:
This can take some time downloading and installing the packages. Installing MSYSDownload, and run MSYS-1.0.10.exe:
Installing MSYS DTKThis gives support Download, and run msysDTK-1.0.1.exe:
Installing Gtk+2Gtk 2.6.2 comprises of a whole host of libraries, and dependancies - but there is a pretty good website detailing the Windows port of Gtk. To make things easier, I have compiled an independant list of everything needed for Gtk and its dependancies - just click on every link, and install them all to c:\MinGW\msys\1.0
Getting pkg-config-0.20 to workDue to have a bug, pkg-config must be installed in /mingw/bin (not /bin), and then the environment must be set: export PKG_CONFIG_PATH=/lib/pkgconfig To check that pkg-config is working, run these simple tests: which pkg-config # Should return /mingw/bin/pkg-config, and not /bin/pkg-config Special hacks required to get it to compile on Searchmonkey 0.6.3Due to a couple of library bugs, and because Windows does not include all of the POSIX standard lirbaries (e.g. pthread, regex), a couple of changes/patches are required. These hacks only apply to Searchmonkey 0.6.3 as they will hopefully get fixed for the next release.
Once those changes are complete, autogen.sh must be run to recreate the make scripts: ./autogen.sh Assuming all is correct, and error free, proceed to the next section! Compiling SearchmonkeyTo compile searchmonkey: ./configure Running searchmonkeyUsers of the Windows version of searchmonkey need to have some of the DLLs installed in C:\WINNT\system32 (or equivalent). To achieve this:
The program's only complaint is that no icon is present - this is a minor issue, and will be resolved in future upgrades, along with the external DLL dependancy issues! |
