You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2015/11/05 18:59:27 UTC

[jira] [Commented] (TRAFODION-1588) Moving TOOLSDIR results in a bison error complaining about m4sugar.m4 file

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

Hans Zeller commented on TRAFODION-1588:
----------------------------------------

Well, it turns out there are other issue with moving the tools directory.For example, mpich also hard-codes path names in its files, so I'm going to give up on this idea. We will have to tell people not to move the tools directory that gets created with the install/traf_tools_setup.sh script.

> Moving TOOLSDIR results in a bison error complaining about m4sugar.m4 file
> --------------------------------------------------------------------------
>
>                 Key: TRAFODION-1588
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1588
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-cmp
>    Affects Versions: 1.3-incubating
>         Environment: When building bison from source and then copying the resulting tree to another location.
>            Reporter: Hans Zeller
>            Assignee: Hans Zeller
>            Priority: Minor
>
> I got this error during the build:
> bison: cannot open file `<older directory I used to build bison>/m4sugar/m4sugar.m4': A file or directory in the path name does not exist.
> This is because bison hard-codes some directory names into its binary files when being built. When the bison tree is moved, then those hard-coded names are no longer valid.
> The fix is to export this environment variable:
> export BISON_PKGDATADIR=$TOOLSDIR/bison_3_linux/share/bison



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)