You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Branko Čibej (JIRA)" <ji...@apache.org> on 2016/09/18 15:32:20 UTC

[jira] [Commented] (SVN-4653) SVN_LOCALE_DIR incorrectly interpolated when prefix is not set explicitly

    [ https://issues.apache.org/jira/browse/SVN-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501163#comment-15501163 ] 

Branko Čibej commented on SVN-4653:
-----------------------------------

Looks like the reason is that autoconf 2.60 introduced {{datarootdir}} and the default value for {{datadir}} is no longer {{"$\{prefix\}/share"}} but {{"$\{datarootdir}"}}.

> 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
>         Attachments: configure.tar.gz
>
>
> 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:
> {noformat}
> /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"
> {noformat}
> 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
(v6.3.4#6332)