Hello, I am having trouble to compile the latest stockfish under ubuntu for some reason. It also tells me something like permission denied. If anybody has a kind heart around, please send me a compiled stockfish engine..Thanks a lot. Yours, Alfred
apalangjr@gmail.com
Anybody has a compiled stockfish engine for ubuntu?
Moderator: Ras
-
- Posts: 265
- Joined: Wed Mar 08, 2006 8:31 pm
- Location: Houston, Texas
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Anybody has a compiled stockfish engine for ubuntu?
Could you please post the compile messages (all that stuff that is printed from when you write 'make' in the console window)menniepals wrote:Hello, I am having trouble to compile the latest stockfish under ubuntu for some reason. It also tells me something like permission denied. If anybody has a kind heart around, please send me a compiled stockfish engine..Thanks a lot. Yours, Alfred
apalangjr@gmail.com
It would be very nice if you can do this so that I can try to understund what went wrong.
Thanks in advance
Marco
-
- Posts: 719
- Joined: Thu Mar 09, 2006 1:21 am
- Location: Portland Oregon
Re: Anybody has a compiled stockfish engine for ubuntu?
Could it be a permissions issue? Try typing su then entering your password when prompted before typing make.
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Anybody has a compiled stockfish engine for ubuntu?
Sorry, but I don't completely agree here. You should not be forced to compile as root or you have something wrong in your setup.Ryan Benitez wrote:Could it be a permissions issue? Try typing su then entering your password when prompted before typing make.
In my opinion the most sane thing to do is to look at the build output and see what's happened.
-
- Posts: 613
- Joined: Sun Jan 18, 2009 7:03 am
Re: Anybody has a compiled stockfish engine for ubuntu?
Possible issues:
* Compiling is done by default with intel C++ compiler. Most people don't have it installed in their systems, so you need either download it manually from Intel's website (it's free, but requires registration) or do compiling with gcc. To do compiling with gcc you need to edit Makefile:
From this:
# CXX = g++
# CXX = g++-4.2
CXX = icpc
to this:
CXX = g++
# CXX = g++-4.2
# CXX = icpc
* As Ryan pointed out it could be a permission issue. You get messages like that if you have performed some operations as root and then try to redo things as normal user.
Anyway, if you can't get out of this mess yourself, I guess I could do a Linux-compile for you some day. You need a 64-bit or 32-bit version?
* Compiling is done by default with intel C++ compiler. Most people don't have it installed in their systems, so you need either download it manually from Intel's website (it's free, but requires registration) or do compiling with gcc. To do compiling with gcc you need to edit Makefile:
From this:
# CXX = g++
# CXX = g++-4.2
CXX = icpc
to this:
CXX = g++
# CXX = g++-4.2
# CXX = icpc
* As Ryan pointed out it could be a permission issue. You get messages like that if you have performed some operations as root and then try to redo things as normal user.
Anyway, if you can't get out of this mess yourself, I guess I could do a Linux-compile for you some day. You need a 64-bit or 32-bit version?
Joona Kiiski
-
- Posts: 719
- Joined: Thu Mar 09, 2006 1:21 am
- Location: Portland Oregon
Re: Anybody has a compiled stockfish engine for ubuntu?
Well my suggestion is not a good habit but it seems low risk in this case. It is likely that Joona is on the right path with his suggestion about the compiler but I would have expected a command not found message.mcostalba wrote:Sorry, but I don't completely agree here. You should not be forced to compile as root or you have something wrong in your setup.Ryan Benitez wrote:Could it be a permissions issue? Try typing su then entering your password when prompted before typing make.
In my opinion the most sane thing to do is to look at the build output and see what's happened.
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Anybody has a compiled stockfish engine for ubuntu?
Yes, it should be like that, if I remember correctly, if you try to access a file in a directory where you don't have permissions.Ryan Benitez wrote: but I would have expected a command not found message.
-
- Posts: 1922
- Joined: Thu Mar 09, 2006 12:51 am
- Location: Earth
Re: Anybody has a compiled stockfish engine for ubuntu?
You'd get the same message if you try to execute a non-executable file. Which is a permissions issue.
Re: Anybody has a compiled stockfish engine for ubuntu?
Maybe you are trying to compile StockFish inside a directory where you don't have write permissions? In that case, no need to become root, simply move the StockFish sources in a writeable directory in your home (~/) dir.menniepals wrote: It also tells me something like permission denied.
Just an idea ...
-
- Posts: 265
- Joined: Wed Mar 08, 2006 8:31 pm
- Location: Houston, Texas
Re: Anybody has a compiled stockfish engine for ubuntu?
No problem now. I am using now Arena with wine and then stockfish. This is much easier solution. But I think Stockfish is one of the prime engines we should be watching in the future. It is very strong.