Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3934

Building problems with APR-2

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: 1.10-consider
    • Component/s: compile
    • Labels:
      None

      Description

      This is a very curde patch to make subversion from trunk build against apr from
      trunk:
      
      igalic@bawnb976 /tmp/build/subversion (svn)-[trunk:1137829] % svn diff
      Index: configure.ac
      ===================================================================
      --- configure.ac        (revision 1137829)
      +++ configure.ac        (working copy)
      @@ -92,8 +92,8 @@
       dnl   them.  Only .7 and later can guarantee repository
       dnl   integrity with FSFS.
       
      -APR_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\."]
      -APU_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\."]
      +APR_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\. 2\."]
      +APU_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\. 2\."]
       
       SVN_LIB_APR($APR_VER_REGEXES)
       SVN_LIB_APRUTIL($APU_VER_REGEXES)
      Index: build/ac-macros/apache.m4
      ===================================================================
      --- build/ac-macros/apache.m4   (revision 1137829)
      +++ build/ac-macros/apache.m4   (working copy)
      @@ -99,6 +99,9 @@
           1)
             apache_minor_version_wanted_regex=["[1-4]"]
             ;;
      +    2)
      +      apache_minor_version_wanted_regex="0"
      +      ;;
           *)
             AC_MSG_ERROR([unknown APR version])
             ;;
      igalic@bawnb976 /tmp/build/subversion (svn)-[trunk:1137829] %
      
      This is simply accomplished by supplying the same argument for both, apr and
      apr-util:
      
      igalic@bawnb976 /tmp/build/subversion (svn)-[trunk:1137829] % ./configure
      --prefix=/opt/bw --libdir=/opt/bw/lib --with-apxs=/opt/bw/bin/apxs
      --with-apr=/opt/bw/bin/apr-2-config --with-apr-util=/opt/bw/bin/apr-2-config
      ...etc..
      igalic@bawnb976 /tmp/build/subversion (svn)-[trunk:1137829] %
      

      Original issue reported by ahiro

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: