Hello,

The other year ago,
Fulvio asked for feedback
from people who compiled
Scid from Windows and Mac.

I contacted him at the time,
and he said something
now important to me:

> git clone git://scid.git.sourceforge.net/gitroot/scid/scid

I only understood its importance
yesterday, when trying to compile
the developer's version of Scid.

I finally succeeded this morning.
Here's the story, for memory's sake.

***

1.

First, you need git.
This should be enough for Scid's sake:

> sudo apt-get install git-core

For those who prefer to live at the cutting edge
without knowing much, there is:

http://evgeny-goldin.com/blog/3-ways-install-git-linux-ubuntu/

For the more prudent among us, there is:

https://help.github.com/articles/set-up-git#platform-linux

For those who dislike the command-line,
beware that there are native applications,
at least for Win and Mac.

2.

Second, you need to initialize git.
Create a folder where you want to download and (?)
compile the source,
then cast:

> git init

on your command line.

3.

You're now ready to dowload the sources
Third, recall Fulvio's spell:

> git clone git://scid.git.sourceforge.net/gitroot/scid/scid

This should get you the latest Scid source.

4.

You're now ready to compile Scid.

In principle, all you need to do is:

> ./configure

and then

> make

But this is where you should get stuck.
Hence this email, also at Fulvio's request.

5.

Copy-pasting the error message into a search engine,
I found another person with the same problem, viz.:

http://ubuntuforums.org/archive/index.php/t-1175019.html

This says that I need to get developer versions of tcl/tk.
This translates into issuing these three commands:

> sudo ap-get install tcl8.5-dev

> sudo ap-get install tk8.5-dev

> sudo ap-get install zlib1g -dev

6.

You should now be ready to compile, or not.
If you still get an error message like this:

> error: cannot use typeid with -fno-rtti

https://en.wikipedia.org/wiki/Run-time_type_information

you either need gcc 4.7 or, paraphrasing Fulvio :

> remove "-fno-rtti" and (?) "-std=c++0x -pthread"

in the Makefile

7.

If you're as lucky as me, this should do it:

> ./configure

and

> ./make

You now should have Scid.
Congratulations!

8.

Note that you just compiled two chess engines:
phalanx-scid and toga.
The binaries are in their respective subdirectories
in the /engines directory.

***

I hope you liked this story.
This story has been writton on Joli OS,
which is an Ubuntu based system.
Other systems or flavors may change the storyline.

Comments and questions are welcome.
All mistakes are mine and
all brilliant suggestions are Fulvio's.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to