| 1 | = Getting ClearSilver 0.10.2 to Build on SLES9 64-bit = |
| 2 | |
| 3 | I used clearsilver-0.10.2, and found that there were problems with |
| 4 | the {{{configure}}} script. |
| 5 | |
| 6 | * It would only look for {{{/usr/lib/python2.3}}}, while the proper |
| 7 | path is {{{/usr/lib64/python2.3}}}. |
| 8 | * It would not set {{{PYTHON_SITE}}} correctly, because of an |
| 9 | apparent typo. |
| 10 | |
| 11 | The attached patch should fix both of these problems. It should only |
| 12 | be used on a 64-bit version, however, since the {{{lib64}}} is |
| 13 | hard-coded. |
| 14 | |
| 15 | So, the way I got it to build properly was as follows: |
| 16 | |
| 17 | {{{ |
| 18 | tar xvfz clearsilver-0.10.2.tar.gz |
| 19 | chown -R me:mygroup clearsilver-0.10.2 |
| 20 | cd clearsilver-0.10.2 |
| 21 | patch configure clearsilver-0.10.2-configure.diff |
| 22 | ./configure --disable-apache --disable-perl --disable-ruby \ |
| 23 | --disable-csharp --disable-java --enable-gettext \ |
| 24 | --with-python=/usr/bin/python |
| 25 | make |
| 26 | sudo make install |
| 27 | }}} |