|
|
People that just want to use the program only need to download the installer from http://www.solfege.org. This page is written for developers, and tries to document how I create the windows installer so that it in the future can be possible for others to build it too. The instructions on this page refers to the version of Solfege found in your bzr repository. This page was updated while preparing 3.15.9 was released, so we refer to that version. These instructions will probably fail if you use a very different version of Solfege. Paths mentioned on this page are relative to the folder the solfege tarball is unpacked into, for example MinGWDownload and run the Automated WinGW Installer (5.1.6). When asked, select the 'Current' package. Install at least these packages:
Then install MSYS-1.0.11 and msysDTK-1.0.1 On XP you will be asked if you want to run a post-install script. Answer 'y' and then enter the path to where MinGW is installed. On my XP is was On Vista you now need to download a tar.gz file containing a new msys.dll file. Replace c:\msys\1.0\bin\msys.dll with new-msys.dll. I don't know if some versions of XP have this problem. You will know that this step was required if you after installing msysDTK (see below) cannot run MSYS. Install gettext and libiconv from http://gnuwin32.sourceforge.net/. I installed the .exe installer packages and added Vista workaround:Download the $ touch /bin/install.exe /bin/install-info.exe Install gettext and libiconv from gnuwin32. I installed the installer packages and let it install in the default path export PATH="/C/Programfiler/GnuWin32/bin:$PATH" MSYS configAfter installing MSYS, i edited Edit /etc/profile and add Note: In the last test setup on virtualbox, I had to manually add tmp Python tarballI have created a tarball of a network install that I keep at To create it, start the windows command prompt (not MSYS) and run the following while Python 2.6 is not installed: msiexec /a python-2.6.4.msi This makes a network install of python 2.6. cd into Requirements building the Windows installer(Older versions of these programs might work, but this is what I use.) Then the python/pygkt/installer tools:
Tmp GTK and pygtk foldersFrom Building itRun msys to get a bash command prompt. Then from the source directory: $ sh winbuild.sh build At this point, you can run the program from the folder it is unpacked into. Making the installer$ sh winbuild.sh mkinstalldir And finally, double click on the file named windowsinstaller and select Run. This will create the installer and install it. The installer file is saved in |