Plone + TextIndexNG3 on Windows, Take 2

Tagged:

Turns out I forgot to mention a couple extra steps to get TextIndexNG3 compiled and working on Windows. After failing to follow my own instructions on a new install, and with a reminder from this MinGW + Python post, I realized I didn't document the following:

  1. In addition to the vanilla include directory, also copy the libs folder from the Python tree to %PLONE%\Python
  2. Create the file %PLONE%\Lib\distutils\distutils.cfg with the contents:
    [build]
    compiler=mingw32
  3. Compile the TextIndexNG3 extension with (one line):
    %PLONE%\Python\Python.exe setup build -c mingw32
  4. Make sure to copy the compiled extension to somewhere in Plone's Python's path (all on one line):
    cp %PLONE%\Data\Products\TextIndexNG3\extension_modules\zopyx %PLONE%\Python\Lib\site-packages\zopyx

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <shell>, <c>, <drupal6>, <java>, <javascript>, <objc>, <perl>, <php>, <python>, <rails>, <ruby>, <sql>, <xmlcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.