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

Readme Commands Don't Work w/ Ubunutu Server 14.04.2 Server 64bit #31

Closed
kevroy314 opened this issue May 12, 2015 · 4 comments
Closed

Comments

@kevroy314
Copy link

Running the commands (plus sudo apt-get install git to get git) listed in the readme result in errors in a fresh virtual machine running in Hyper-V on Windows 8.1 64bit.

When attempting a build of setup.py, "error:command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\nerror typing to exec 'cc1plus': execvp: No such file or directory" error occurs, ending the build.

When attempting to install after that, the same error occurs.

When attempting to run the example code, "ImportError: No module named crosscat.settings" occurs.

When attempting the pip install variation (obviously now running sudo apt-get install python-pip before attempting), the install loops through the same warning for many many modules "cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for c++ [enabled by default]".

Seems like it shouldn't be this hard to get this thing to run.

@BaxterEaves
Copy link
Contributor

I'm sorry things aren't working. Without seeing the full trace, ImportError leads me to believe that crosscat is not compiling though I can't be sure. -Wstrict-prototypes' is valid for C/ObjC but not for c++ is a harmless (albeit annoying) warning, so that's not the problem. Could you paste in the full trace from the install and also the commands that produce that error?

@riastradh-probcomp
Copy link
Contributor

Date: Wed, 13 May 2015 05:30:01 -0700
From: Baxter Eaves notifications@github.com

I'm sorry things aren't working. Without seeing the full trace,
ImportError leads me to believe that crosscat is not compiling
though I can't be sure. -Wstrict-prototypes' is valid for C/ObjC but not for c++ is a harmless (albeit annoying) warning, so that's
not the problem. Could you paste in the full trace from the install
and also the commands that produce that error?

It sounds like the C++ compiler is missing. `apt-get install
build-essential' should help.

@gregory-marton
Copy link
Contributor

Closing because this seems stale.

riastradh-probcomp added a commit that referenced this issue Jul 22, 2015
@riastradh-probcomp
Copy link
Contributor

Addressed in 97a9072.

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

No branches or pull requests

4 participants