简体   繁体   English

如何在 Ubuntu 上安装 Rose 编译器?

[英]How to install Rose compiler on Ubuntu?

I am new to Linux.我是 Linux 新手。 I have been asked to install rose compiler.我被要求安装玫瑰编译器。 I installed the dependency Boost by using我通过使用安装了依赖 Boost

apt-get install libboost-all-dev

which installed boost1.58.0 but now when I use安装了 boost1.58.0 但现在当我使用

apt-cache search rose

I cant understand which package is for the rose compiler from the list provided.我无法从提供的列表中了解哪个包适用于玫瑰编译器。 I downloaded rose from the github repository https://github.com/rose-compiler/rose but I cant understand how to install it.我从 github 存储库https://github.com/rose-compiler/rose下载了玫瑰,但我不明白如何安装它。

The ROSE installation process is a mangled mess. ROSE 安装过程是一团糟。 If you can, use their pre-built image .如果可以,请使用他们的预构建镜像 If you can't, I'd recommend running this shell script instead.如果不能,我建议改为运行此 shell 脚本 Note that the part with downloading Java does not work, so before running the script download JDK 7u51 from Oracle and leave it in the Downloads folder (do not move or rename!) for the script to pick up.请注意,下载 Java 的部分不起作用,因此在运行脚本之前,Oracle下载JDK 7u51并将其保留在下载文件夹中(不要移动或重命名!)以便脚本获取。 This was working as of ~1 month ago (July 2017).这在大约 1 个月前(2017 年 7 月)开始工作。 No guarantees if it still works.不保证它是否仍然有效。

Also note that the installation process takes a lot of time.另请注意,安装过程需要花费大量时间。 The entire ~2 million line project needs to be compiled on your machine.整个约 200 万行的项目需要在您的机器上编译。 After installation, don't even think about moving any of its folders or dependencies.安装后,甚至不要考虑移动其任何文件夹或依赖项。 Best of luck.祝你好运。

If you are using Ubuntu 18.04 or CenOS/RHEL 7 then you can install rose using apt/yum.如果您使用的是 Ubuntu 18.04 或 CenOS/RHEL 7,那么您可以使用 apt/yum 安装 Rose。 https://github.com/rose-compiler/rose/wiki/How-to-Set-Up-ROSE has all the information regarding this. https://github.com/rose-compiler/rose/wiki/How-to-Set-Up-ROSE有关于此的所有信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM