ZeroASIC / eloipool-server

eloipool install scripts for Ubuntu and Linux
8 stars 13 forks source link

Error during install #3

Closed stephenhoos closed 10 years ago

stephenhoos commented 10 years ago

Looks like the install script need to be pointed to the new git repo for midstate.

stephenhoos commented 10 years ago

The error occurs during the make of midstate, so this appears to be a midstate problem.

ZeroASIC commented 10 years ago

This is the error you sent me:

gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python3.2 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython3.2mu

midstatemodule.c:5:20: fatal error: Python.h: No such file or directory

compilation terminated.

make: *\ [test] Error 1

It looks like a problem with your python install.

stephenhoos commented 10 years ago

kk I think the issue is with the make file. It looks for python.h in the /usr/include/pythom3.2 folder and my computer has python3.3 so his makefile is not up to date for the latest version of python. I am going to edit his makefile and test it... I will let you know

On Tue, Dec 17, 2013 at 12:30 PM, ZeroASIC notifications@github.com wrote:

This is the error you sent me:

gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python3.2 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython3.2mu

midstatemodule.c:5:20: fatal error: Python.h: No such file or directory

compilation terminated.

make: *\ [test] Error 1

It looks like a problem with your python install.

— Reply to this email directly or view it on GitHubhttps://github.com/ZeroASIC/eloipool-server/issues/3#issuecomment-30787842 .

ZeroASIC commented 10 years ago

Yeah, that's your problem.

stephenhoos commented 10 years ago

2.7.4 but his makefile points to python3.2 not python3.3 which is what I have installed.

On Tue, Dec 17, 2013 at 12:34 PM, ZeroASIC notifications@github.com wrote:

$ python --version Python 2.7.3

I have this version in Ubuntu 12.04. What version do you have?

— Reply to this email directly or view it on GitHubhttps://github.com/ZeroASIC/eloipool-server/issues/3#issuecomment-30788189 .

ZeroASIC commented 10 years ago

Which version of Ubuntu do you have?

stephenhoos commented 10 years ago

I have 12.04 and mint 15

On Tue, Dec 17, 2013 at 12:37 PM, ZeroASIC notifications@github.com wrote:

Which version of Ubuntu do you have?

— Reply to this email directly or view it on GitHubhttps://github.com/ZeroASIC/eloipool-server/issues/3#issuecomment-30788434 .

ZeroASIC commented 10 years ago

My install of Ubuntu 12.04 doesn't have python3.3 available. I'm going to leave the script as is.