Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure g++ is a dependency on openSUSE #190

Open
richcalaway opened this issue Jul 14, 2015 · 8 comments
Open

Ensure g++ is a dependency on openSUSE #190

richcalaway opened this issue Jul 14, 2015 · 8 comments

Comments

@richcalaway
Copy link
Contributor

Using an openSUSE image from Azure, I could install and run RRO, but when I tried to install the SuppDists package to run the R benchmarks, I get a message

make: g++: Command not found
make: *** [dists.o] Error 127
ERROR: compilation failed for package 'SuppDists'

  • removing '/usr/lib64/RRO-3.2.1/R-3.2.1/lib64/R/library/SuppDists'

Adding g++ with the following command run from a root shell did the trick; perhaps we need an installation note?

zypper in gcc-c++

@j-martens
Copy link
Contributor

I believe we install gcc for other platforms. Can we do it for openSUSE as well?

@revodavid
Copy link
Contributor

The right solution may be to make GCC/G++ install dependencies, if that's supported by the openSUSE package manager we use.

@nriesland
Copy link
Contributor

openSUSE package manager support installing gcc++

From: David Smith [mailto:[email protected]]
Sent: Tuesday, July 14, 2015 10:10 AM
To: RevolutionAnalytics/RRO
Subject: Re: [RRO] Could not install SuppDists package on openSUSE because of missing g++ (#190)

The right solution may be to make GCC/G++ install dependencies, if that's supported by the openSUSE package manager we use.


Reply to this email directly or view it on GitHubhttps://github.com//issues/190#issuecomment-121249166.

@richcalaway
Copy link
Contributor Author

gcc is there; g++ was missing...

@j-martens j-martens added this to the 3.2.1.0 milestone Jul 16, 2015
@sfweller
Copy link

I think for now, we should just document the workaround for the next release:
(unless you disagree Josee):

zypper install gcc-c++

@sfweller
Copy link

Confirmed that this resolves the problem and allows SuppDists to be installed.

@sfweller sfweller assigned j-martens and unassigned sfweller Jul 16, 2015
@j-martens j-martens assigned nathansoz and unassigned j-martens Jul 17, 2015
@j-martens j-martens removed this from the 3.2.1.0 milestone Jul 17, 2015
@j-martens
Copy link
Contributor

Listed as a manual install step for 3.2.1. However, needs to be handled by the installer in our next release. The distro needs to have this as a dependency going forward.

@j-martens j-martens added this to the RRO 3.2.2.0 milestone Aug 6, 2015
@richcalaway richcalaway changed the title Could not install SuppDists package on openSUSE because of missing g++ Ensure g++ is a dependency on openSUSE Aug 18, 2015
@j-martens j-martens assigned richcalaway and unassigned nathansoz Aug 19, 2015
@j-martens j-martens removed this from the RRO 3.2.2.0 milestone Sep 10, 2015
@QuantDevHacks
Copy link

Just noting that this was also an issue on a CentOS 6 VM that I set up on Azure. Just did
yum install gcc-c++
and it solved the problem. (H/T to Steve W)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants