Michael Osipov created SVN-4653:

             Summary: SVN_LOCALE_DIR incorrectly interpolated when prefix is 
not set explicitly
                 Key: SVN-4653
                 URL: https://issues.apache.org/jira/browse/SVN-4653
             Project: Subversion
          Issue Type: Bug
          Components: compile, install, packaging, translations
    Affects Versions: 1.9.4
         Environment: FreeBSD 9.3, HP-UX 11.31
            Reporter: Michael Osipov

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.

This message was sent by Atlassian JIRA

Reply via email to