Skip to content

Instantly share code, notes, and snippets.

View PolywickStudio's full-sized avatar
💭
I may be slow to respond.

Polywick Studio PolywickStudio

💭
I may be slow to respond.
View GitHub Profile
@ChadJPetersen
ChadJPetersen / InstallXapianOnWindowsWithRuby.sh
Last active October 24, 2023 21:39
After hours of slaving I finally got Xapian working on windows with a ruby binding (I use it for Redmine). I know this is far from the right way to do it, and is rather hacky. But it works! Also I found little starting points online when trying to compile Xapian on windows. So hoping this helps someone else a bit!
#In Powershell.
# Install chocolatey https://chocolatey.org/install to be the software package manager. Right now the following line is the installer. But it would be good to go grab the new command from the site provided.
#Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install git ghostscript xpdf-utils gnuwin 7zip cyg-get msys2 graphviz activeperl
choco install ruby --version=2.6.5.1
# This sets up ruby to be a dev kit
ridk install 1
cyg-get install catdoc unrtf unzip antiword xlsx2csv libvisio-tools