File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ include README.md
22graft debian
33graft doc
44graft examples
5+ include test/*.py
Original file line number Diff line number Diff line change 1+ # Building module for cygwin's python package
2+
3+
4+
5+ ## Required cygwin packages
6+
7+ - cygwin >= 1.7.5
8+ - python >= 2.6.5-2
9+ - binutils
10+ - libicu-devel
11+ - curl-devel
12+ - openssl-devel
13+ - libssh2-devel
14+ - zlib-devel
15+ - libstdc++6-devel
16+ - make
17+ - gcc4
18+ - gcc4-g++
19+ - autoconf
20+ - libtool
21+
22+ Notice: xqilla cannot work well with libxerces-c30 3.0.1 in cygwin packages.
23+
24+ ## Build xerces-c-3.1.1
25+
26+ download xerces-c-3.1.1.zip and extract by unzip
27+
28+ unzip -q xerces-c-3.1.1.zip
29+ mv xerces-c-3.1.1 xerces-c-src
30+ cd xerces-c-src
31+
32+ modify configure.ac as
33+
34+ #AC_LIBTOOL_WIN32_DLL
35+ #AC_PROG_LIBTOOL
36+ LT_INIT([win32-dll])
37+ LT_OUTPUT
38+
39+ then autoreconf and configure, make, make install to "/usr/local"
40+
41+ autoreconf
42+ ./configure LDFLAGS="-no-undefined -Wl,--export-all-symbols"
43+ make
44+ make install
45+
46+ ## Build XQilla-2.2.4
47+
48+ extract XQilla-2.2.4.zip at the same directory of xerces-c-src
49+
50+ unzip -q XQilla-2.2.4.zip
51+ mv XQilla-2.2.4 xqilla
52+ cd xqilla
53+ ./configure LDFLAGS="-L/usr/local/lib -L/usr/local/bin" --with-xerces-c=` dirname $(pwd) ` /xerces-c-src
54+ make
55+ make install
56+
57+ ## Build python-simplexquery
58+
59+ set LIBRARY_PATH env with "/usr/local/lib".
60+
61+ LIBRARY_PATH=/usr/local/lib python setup.py build
62+
63+ ## Trouble Shooting for cygwin
64+
65+ - reboot from windows if dll error occurs
66+ - reinstall packages if it cannot fix after reboot
67+ - run rebase.exe/rebaseall.exe from ash if it cannot fix by reinstall and the error says "to same address as parent"
You can’t perform that action at this time.
0 commit comments