| 1 | == ispconfig == |
| 2 | Building the ispconfig fails to build apache 1.3.41 |
| 3 | {{{ |
| 4 | make[2]: Entering directory `/opt/ispconfig/install_ispconfig/compile_aps/apache_1.3.41/src/support' |
| 5 | gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `../apaci` htpasswd.c |
| 6 | htpasswd.c:101: error: conflicting types for getline |
| 7 | /usr/include/stdio.h:653: note: previous declaration of getline was here |
| 8 | }}} |
| 9 | Temporary change /usr/include/stdio.h from |
| 10 | {{{ |
| 11 | [...] |
| 12 | /* Like `getdelim', but reads up to a newline. |
| 13 | |
| 14 | This function is not part of POSIX and therefore no official |
| 15 | cancellation point. But due to similarity with an POSIX interface |
| 16 | or due to the implementation it is a cancellation point and |
| 17 | therefore not marked with __THROW. */ |
| 18 | extern _IO_ssize_t getline (char **__restrict __lineptr, |
| 19 | size_t *__restrict __n, |
| 20 | FILE *__restrict __stream) __wur; |
| 21 | #endif |
| 22 | [...] |
| 23 | }}} |
| 24 | to |
| 25 | {{{ |
| 26 | [...] |
| 27 | /* Like `getdelim', but reads up to a newline. |
| 28 | |
| 29 | This function is not part of POSIX and therefore no official |
| 30 | cancellation point. But due to similarity with an POSIX interface |
| 31 | or due to the implementation it is a cancellation point and |
| 32 | therefore not marked with __THROW. */ |
| 33 | extern _IO_ssize_t parseline (char **__restrict __lineptr, |
| 34 | size_t *__restrict __n, |
| 35 | FILE *__restrict __stream) __wur; |
| 36 | #endif |
| 37 | [...] |
| 38 | }}} |
| 39 | |
| 40 | == trac == |
| 41 | Installed mod_python and changed the vhost entry to |
| 42 | {{{ |
| 43 | <LocationMatch "/trac"> |
| 44 | SetEnv PYTHON_EGG_CACHE /var/lib/trac/egg-cache |
| 45 | SetHandler mod_python |
| 46 | PythonHandler trac.web.modpython_frontend |
| 47 | PythonOption TracEnvParentDir /var/lib/trac/web1/ |
| 48 | PythonOption TracUriRoot /trac/ |
| 49 | </LocationMatch> |
| 50 | |
| 51 | <LocationMatch "/trac/[^/]+/login"> |
| 52 | AuthType Basic |
| 53 | AuthName "Trac" |
| 54 | AuthUserFile /var/lib/trac/web1/trac.htpasswd |
| 55 | Require valid-user |
| 56 | </LocationMatch> |
| 57 | }}} |