ANTLR 4 在 OS X 上安装失败? [英] ANTLR 4 installation failed on OS X?

查看:21
本文介绍了ANTLR 4 在 OS X 上安装失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于在我的 Unix 系统 (MacOS Sierra) 上安装 ANTLR 的问题.

I've got a question about installing ANTLR on my Unix system (MacOS Sierra).

我遵循了快速入门步骤(适用于 OS X 的 ANTLR 4 快速入门安装步骤) 如 ANTLR 4 主页上所述.一切似乎都运行良好,但是每当我关闭终端时,导出和别名命令似乎都消失了.有谁知道我可能做错了什么?谢谢!

I followed the Quick Start steps (ANTLR 4 Quick Start installation steps for OS X) as described on the homepage of ANTLR 4. Everything seems to be working fine but whenever i close my Terminal the export and alias commands seem to have disappeared. Does anyone have an idea what i might be doing wrong? Thank you!

附言我是 OS X 的新手并使用终端.

p.s. I'm new to OS X and using the terminal.

推荐答案

export 和 2 个 alias 命令附加到 .bash_profile 文件在您的主目录中.

Append the export and 2 alias commands to the .bash_profile file in your home directory.

每次打开终端时,都会加载该文件的内容.

Every time you open a terminal, the contents of that file is loaded.

这篇关于ANTLR 4 在 OS X 上安装失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆