I get this error after ./configure :
------------------------
configure: Makefile configuration program for Scidb
Tcl/Tk version: 8.5
Your operating system is: Linux 3.2.0-4-686-pae
Distributor: Debian
Revision: 7.0
Checking if your system has gcc installed: yes (version 4.7).
Checking if your system has g++ installed: yes (version 4.7).
Checking if your compiler supports SSE2: yes.
Checking if your kernel supports __sync_* builtin functions: yes.
Checking your fontconfig version:
Cannot install Scidb because library fontconfig
cannot be found.
-code 1 -level 0 -errorcode {POSIX ENOENT {no such file or directory}} -errorinfo {couldn't execute "./testfontconfig": no such file or directory
while executing
"exec ./testfontconfig"} -errorline 22
can't use non-numeric string as operand of "/"
while executing
"expr {$version/10000}"
(procedure "checkFontConfig" line 31)
invoked from within
"checkFontConfig"
invoked from within
"if {[string length $gxxVer]} {
if {$gccVer ne $gxxVer} {
puts "Compiler version mismatch. Please configure CC and GXX with same versions,"..."
(file "./configure" line 2153)
-------------------------------------
system: Lenovo Atom S10-2
Crunchbang linux
Scidb can be found at: http://scidb.sourceforge.net/index.html
Help installing scidb
Moderators: hgm, Dann Corbit, Harvey Williamson
-
Ponti
- Posts: 493
- Joined: Wed Mar 15, 2006 6:13 am
- Location: Curitiba - PR - BRAZIL
Help installing scidb
A. Ponti
AMD Ryzen 1800x, Windows 10.
FIDE current ratings: standard 1913, rapid 1931
AMD Ryzen 1800x, Windows 10.
FIDE current ratings: standard 1913, rapid 1931
-
zullil
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Help installing scidb
In the script named configure, find the following portion (starting near line 810)Ponti wrote:I get this error after ./configure :
------------------------
configure: Makefile configuration program for Scidb
Tcl/Tk version: 8.5
Your operating system is: Linux 3.2.0-4-686-pae
Distributor: Debian
Revision: 7.0
Checking if your system has gcc installed: yes (version 4.7).
Checking if your system has g++ installed: yes (version 4.7).
Checking if your compiler supports SSE2: yes.
Checking if your kernel supports __sync_* builtin functions: yes.
Checking your fontconfig version:
Cannot install Scidb because library fontconfig
cannot be found.
-code 1 -level 0 -errorcode {POSIX ENOENT {no such file or directory}} -errorinfo {couldn't execute "./testfontconfig": no such file or directory
while executing
"exec ./testfontconfig"} -errorline 22
can't use non-numeric string as operand of "/"
while executing
"expr {$version/10000}"
(procedure "checkFontConfig" line 31)
invoked from within
"checkFontConfig"
invoked from within
"if {[string length $gxxVer]} {
if {$gccVer ne $gxxVer} {
puts "Compiler version mismatch. Please configure CC and GXX with same versions,"..."
(file "./configure" line 2153)
-------------------------------------
system: Lenovo Atom S10-2
Crunchbang linux
Scidb can be found at: http://scidb.sourceforge.net/index.html
Code: Select all
# findFontconfig:
# Find the fontconfig path.
# Returns 1 on success, 0 on failure.
#
proc findFontconfig {} {
variable option
set path {
/usr/local/include/fontconfig
/usr/include/fontconfig
}
puts -nonewline " Checking if your system has fontconfig: "
set dir [FindDir "fontconfig.h" $path]
if {[string length $dir]} {
set option(HAVE_XFT) "-DHAVE_XFT"
puts "yes."
} else {
puts "no."
}
}
Also, in the same configure script (starting near line 1680)
Code: Select all
# TestFontConfig.sh:
# Script used to test the fontconfig version
# (because version 3.8 is corrupt).
#
set TestFontConfig {#!/bin/sh
cat <<EOF > testfontconfig.c
#include <stdio.h>
extern int FcGetVersion();
int main()
{
printf("%d", FcGetVersion());
return 0;
}
EOF
__CC__ -o testfontconfig testfontconfig.c -lfontconfig
if [ -f testfontconfig ]; then
exit 0
else
exit 1
fi
}
-
kinderchocolate
- Posts: 454
- Joined: Mon Nov 01, 2010 6:55 am
- Full name: Ted Wong
Re: Help installing scidb
Louis, do you have the built executable?
-
zullil
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Help installing scidb
No. I spent a couple of hours making patches trying to get it to build on OS X, but ran out of time. Replaced various linux-specific headers with OS X equivalents, but still had an issue with some typedef being duplicated.kinderchocolate wrote:Louis, do you have the built executable?
-
Jim Ablett
- Posts: 1343
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Help installing scidb
I compiled it without issue on my 32 bit Puppy Linux chess distro. This distro is Ubuntu Precise based.
I get an error message about a missing x-font when I run it, but it still works ok.
Here is the compiled package (you will need tk/tcl libs installed) >
http://db.tt/JYGbKaqa
Jim.
I get an error message about a missing x-font when I run it, but it still works ok.
Here is the compiled package (you will need tk/tcl libs installed) >
http://db.tt/JYGbKaqa
Jim.
-
kinderchocolate
- Posts: 454
- Joined: Mon Nov 01, 2010 6:55 am
- Full name: Ted Wong
Re: Help installing scidb
Jim, how did you install the fontconfig library? I can't compile because I haven't figured out where to get it.
-
Jim Ablett
- Posts: 1343
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Help installing scidb
I don't remember whether it came pre-installed or I built the library myself.kinderchocolate wrote:Jim, how did you install the fontconfig library? I can't compile because I haven't figured out where to get it.
You should be able to build and install it on your system.
http://www.linuxfromscratch.org/blfs/vi ... onfig.html
http://www.freedesktop.org/wiki/Software/fontconfig/
Jim.
-
Jesse Gersenson
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
Re: Help installing scidb
This may suggest a package to install:kinderchocolate wrote:Jim, how did you install the fontconfig library? I can't compile because I haven't figured out where to get it.
Code: Select all
apt-cache search fontconfig
-
kinderchocolate
- Posts: 454
- Joined: Mon Nov 01, 2010 6:55 am
- Full name: Ted Wong
Re: Help installing scidb
Thanks. Everything works here.