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

SVN_LOCALE_DIR incorrectly interpolated when prefix is not set explicitly

    XMLWordPrintableJSON

Details

    Description

      When Subversion is compiled from source and --prefix is not passed, /usr/local is assumed but is not correctly passed to localedir, thus SVN_LOCALE_DIR contains a bogus path:

      /tmp/subversion-1.9.4$ sh -x ./configure --libdir=/usr/local/lib/hpux32 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr  --without-apxs --without-berkeley-db 2> configure.out
      
      /tmp/subversion-1.9.4$ grep LOCALE_DIR subversion/svn_private_config.h
      #define SVN_LOCALE_DIR "NONE/share/locale"
      

      If you pass --prefix=/usr/local all is fine but is a mere workaround to the issue. I consider lines 210 to 215 in configure.ac to be erronous.

      Attachments

        1. configure.tar.gz
          105 kB
          Michael Osipov

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: