| 1 | | [[TOC]] |
| 2 | | |
| 3 | | == version 1.4.4 == |
| 4 | | |
| 5 | | ||R5||untested|| |
| 6 | | ||BONE||unstable|| |
| 7 | | ||Haiku||untested|| |
| 8 | | |
| 9 | | dependencies: |
| 10 | | |
| 11 | | * [wiki:dev-libs/apr] >= 0.9.7 |
| 12 | | * [wiki:dev-libs/apr-util] >= 0.25 |
| 13 | | * [wiki:net-misc/neon] >= 0.25 (optional) |
| 14 | | |
| 15 | | === revision 1 (brecht) - [BONE] === |
| 16 | | |
| 17 | | I build subversion using the dependencies package (subversion-deps-1.4.4.tar.gz) provided on the subversion website. |
| 18 | | |
| 19 | | On linking, gcc spits out errors like this one: |
| 20 | | |
| 21 | | {{{ |
| 22 | | undefined reference to `svn_ra_local__init' |
| 23 | | }}} |
| 24 | | |
| 25 | | The libraries containing the referred functions have been built, but it seems the makefile somehow forgets to link them in. This is linked to the following warning: |
| 26 | | |
| 27 | | {{{ |
| 28 | | libtool: link: warning: undefined symbols not allowed in i586-pc-beos shared libraries |
| 29 | | }}} |
| 30 | | |
| 31 | | The configure script can easily be modified to set {{{-no-undefined}}} for BeOS platforms, like it does for cygwin. At line 19979 in configure, add the part that's preceded with the '+' signs: |
| 32 | | |
| 33 | | {{{ |
| 34 | | echo "$as_me:$LINENO: checking whether libtool needs -no-undefined" >&5 |
| 35 | | echo $ECHO_N "checking whether libtool needs -no-undefined... $ECHO_C" >&6 |
| 36 | | case $host in |
| 37 | | *-*-cygwin*) |
| 38 | | echo "$as_me:$LINENO: result: yes" >&5 |
| 39 | | echo "${ECHO_T}yes" >&6 |
| 40 | | LT_NO_UNDEFINED="-no-undefined" |
| 41 | | ;; |
| 42 | | + *-*-beos*) |
| 43 | | + echo "$as_me:$LINENO: result: yes" >&5 |
| 44 | | + echo "${ECHO_T}yes" >&6 |
| 45 | | + LT_NO_UNDEFINED="-no-undefined" |
| 46 | | + ;; |
| 47 | | + *) |
| 48 | | echo "$as_me:$LINENO: result: no" >&5 |
| 49 | | echo "${ECHO_T}no" >&6 |
| 50 | | LT_NO_UNDEFINED="" |
| 51 | | ;; |
| 52 | | esac |
| 53 | | }}} |
| 54 | | |
| 55 | | Normally, configure.in should be modified, not configure. I will create a patch for configure.in once I get autoconf ported. |
| 56 | | |
| 57 | | You should not use the option {{{--enable-dso}}}, as it's broken on BeOS. |
| 58 | | |
| 59 | | It's possible to build with SSL support using {{{--with-ssl}}}. Be sure to specify {{{CPPFLAGS}}} and {{{LDFLAGS}}} so that the OpenSSL headers and libs can be found. I successfully built subversion with [http://www.bebits.com/app/4317 OpenSSL 0.9.7j]. |
| 60 | | |
| 61 | | {{{make check}}} fails on: |
| 62 | | |
| 63 | | * file locking |
| 64 | | {{{ |
| 65 | | svn_tests: Can't get exclusive lock on file 'test-repo-commit-authz/db/transactions/0-1.txn/rev-lock': Invalid argument |
| 66 | | }}} |
| 67 | | * most of the python test programs |
| 68 | | {{{ |
| 69 | | EXCEPTION: SVNRepositoryCopyFailure |
| 70 | | }}} |
| 71 | | |
| 72 | | These are also because of the broken locking. |
| 73 | | |
| 74 | | there is no {{{flock()}}} in BeOS. Instead, flock_server (http://www.bebits.com/app/4030) can be used. [wiki:dev-libs/apr] needs to be adjusted to use it (ticket #37). |
| 75 | | |