Latest SCID linux

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

menniepals
Posts: 265
Joined: Wed Mar 08, 2006 8:31 pm
Location: Houston, Texas

Latest SCID linux

Post by menniepals »

I downloaded Scid Linux and I noticed it already came with a pre-compiled Scid. I tried to run it by clicking it but it won't run. Any suggestions? Thanks, Alfred
Fulvio
Posts: 399
Joined: Fri Aug 12, 2016 8:43 pm

Re: Latest SCID linux

Post by Fulvio »

Which Linux distro do you use?
Assuming that you have downloaded this:
https://sourceforge.net/projects/scid/f ... z/download
uncompressed the file and opened a terminal to that directory
(I have updated the file, previously the the tar.gz file was contained inside a zip)
it should start typing "scid/scid"
menniepals
Posts: 265
Joined: Wed Mar 08, 2006 8:31 pm
Location: Houston, Texas

Re: Latest SCID linux

Post by menniepals »

Linux Mint 19/Scid 4.7.1
User avatar
AdminX
Posts: 6384
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Latest SCID linux

Post by AdminX »

menniepals wrote: Mon Nov 22, 2021 11:56 am I downloaded Scid Linux and I noticed it already came with a pre-compiled Scid. I tried to run it by clicking it but it won't run. Any suggestions? Thanks, Alfred
Did you do a 'chmod' on the binary or shell script?
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
royb
Posts: 577
Joined: Thu Mar 09, 2006 12:53 am

Re: Latest SCID linux

Post by royb »

menniepals wrote: Mon Nov 22, 2021 11:56 am I downloaded Scid Linux and I noticed it already came with a pre-compiled Scid. I tried to run it by clicking it but it won't run. Any suggestions? Thanks, Alfred
I tried to run scid on my Linux Mint 20.2 system and saw this:

./scid
application-specific initialization failed: Can't find a usable init.tcl in the following directories:
/home/vsts/work/1/s/tcltk/lib/tcl8.6 /home/roy/chess/lib/tcl8.6 /home/roy/lib/tcl8.6 /home/roy/chess/library /home/roy/library /home/roy/tcl8.6.10/library /home/tcl8.6.10/library



This probably means that Tcl wasn't installed properly.

can't find package Tk 8.5
while executing
"package require Tk 8.5"
(file "/home/roy/chess/scid-4.7.1/tcl/start.tcl" line 37)



So this seems to be a binary built with a dependency on Tk 8.5, which is an old version (at least on my Linux Mint system). Perhaps recompiling it on your system will provide a working binary? I don't see a Makefile though, so compiling it will be more work than many are willing to slog through, myself included.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Latest SCID linux

Post by Marek Soszynski »

I had this problem a long time ago, but no longer. My old notes say try installing some or all of these...

tcl
zlib1g-dev
tcl-dev
tk
libgtk-3-dev
tk8.6
tk8.6-dev
Marek Soszynski
Fulvio
Posts: 399
Joined: Fri Aug 12, 2016 8:43 pm

Re: Latest SCID linux

Post by Fulvio »

royb wrote: Tue Nov 23, 2021 2:48 pm I tried to run scid on my Linux Mint 20.2 system and saw this:
When I have time I will install Mint in a VM and see what the problem is.
Just to be clear, the file you downloaded is this:
https://sourceforge.net/projects/scid/f ... z/download
right?
Because that file also contains the Tcl / Tk 8.6.10 library
royb wrote: Tue Nov 23, 2021 2:48 pm can't find package Tk 8.5
while executing
"package require Tk 8.5"
(file "/home/roy/chess/scid-4.7.1/tcl/start.tcl" line 37)

So this seems to be a binary built with a dependency on Tk 8.5
That command specify the minimum version:
https://wiki.tcl-lang.org/page/package+require
The message "/home/roy/chess/lib/tcl8.6" says it is searching for a tcl8.6 version.
The procedure by which a static linked Tcl finds Tk is complicated, but in short it requires an extra directory
(for example, the archive mentioned above also contains the Tcl/Tk 8.6.10 library and extracting it you get two directories: scid_linux/scid and scid_linux/lib. The two folders must remain in the same directory).
royb wrote: Tue Nov 23, 2021 2:48 pm Perhaps recompiling it on your system will provide a working binary? I don't see a Makefile though, so compiling it will be more work than many are willing to slog through, myself included.
To compile it is necessary to download the source code:
https://sourceforge.net/p/scid/code/ci/master/tree/ (Download Snapshot)
and have the tcl/tk library installed in the system (sudo apt install tcl-dev tk).
It can be done with the usual
./configure && make
or with cmake.
menniepals
Posts: 265
Joined: Wed Mar 08, 2006 8:31 pm
Location: Houston, Texas

Re: Latest SCID linux

Post by menniepals »

Thank you. It now works. Do you have a link for a Windows version? Thanks. Alfred
Fulvio
Posts: 399
Joined: Fri Aug 12, 2016 8:43 pm

Re: Latest SCID linux

Post by Fulvio »

menniepals wrote: Tue Nov 23, 2021 6:20 pm Thank you. It now works. Do you have a link for a Windows version? Thanks. Alfred
https://sourceforge.net/projects/scid/f ... p/download
Fulvio
Posts: 399
Joined: Fri Aug 12, 2016 8:43 pm

Re: Latest SCID linux

Post by Fulvio »

I installed Mint 20.2 Cinnamon (I haven't tried Mint in a while, it seems to work well. Installation was super quick and easy).

I launched Firefox and downloaded SCID from SourceForge:
https://sourceforge.net/projects/scid/f ... t/download
and extracted the archive in the user's home (it creates a /home/user/scid_linux directory).
Then I opened the GNOME terminal and with the command

Code: Select all

scid_linux/scid/scid
it started without problems.

Adding a launcher to the bottom bar also works fine (so that it can be started without the terminal).