HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of dev-util/subversion/1.4.4/1


Ignore:
Timestamp:
08/01/08 09:18:55 (7 years ago)
Author:
andreasf
Comment:

Initial import

Legend:

Unmodified
Added
Removed
Modified
  • dev-util/subversion/1.4.4/1

    v1 v2  
    1   
     1I build subversion using the dependencies package (subversion-deps-1.4.4.tar.gz) provided on the subversion website. 
     2 
     3On linking, gcc spits out errors like this one: 
     4 
     5{{{ 
     6undefined reference to `svn_ra_local__init' 
     7}}} 
     8 
     9The 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: 
     10 
     11{{{ 
     12libtool: link: warning: undefined symbols not allowed in i586-pc-beos shared libraries 
     13}}} 
     14 
     15The 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: 
     16 
     17{{{ 
     18  echo "$as_me:$LINENO: checking whether libtool needs -no-undefined" >&5 
     19  echo $ECHO_N "checking whether libtool needs -no-undefined... $ECHO_C" >&6 
     20  case $host in 
     21    *-*-cygwin*) 
     22      echo "$as_me:$LINENO: result: yes" >&5 
     23  echo "${ECHO_T}yes" >&6 
     24      LT_NO_UNDEFINED="-no-undefined" 
     25      ;; 
     26+   *-*-beos*) 
     27+     echo "$as_me:$LINENO: result: yes" >&5 
     28+ echo "${ECHO_T}yes" >&6 
     29+     LT_NO_UNDEFINED="-no-undefined" 
     30+     ;; 
     31+   *) 
     32      echo "$as_me:$LINENO: result: no" >&5 
     33  echo "${ECHO_T}no" >&6 
     34      LT_NO_UNDEFINED="" 
     35      ;; 
     36  esac 
     37}}} 
     38 
     39Normally, configure.in should be modified, not configure. I will create a patch for configure.in once I get autoconf ported. 
     40 
     41You should not use the option {{{--enable-dso}}}, as it's broken on BeOS. 
     42 
     43It'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]. 
     44 
     45{{{make check}}} fails on: 
     46 
     47 * file locking 
     48{{{ 
     49svn_tests: Can't get exclusive lock on file 'test-repo-commit-authz/db/transactions/0-1.txn/rev-lock': Invalid argument 
     50}}} 
     51 * most of the python test programs 
     52{{{ 
     53EXCEPTION: SVNRepositoryCopyFailure 
     54}}} 
     55 
     56  These are also because of the broken locking. 
     57 
     58there 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). 
     59 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/