|
From: Joost 't H. <joo...@pl...> - 2010-06-18 17:02:28
|
On 06/18/2010 06:15 PM, Giorgio wrote: Hi. > Ciao Alexander, > thanks again for reply. > > when I run ./configure I get the following output: > > configure: Makefile configuration program for Scid > Renaming "Makefile" to "Makefile.bak" > Tcl/Tk version: 8.5 > Your operating system is: Linux 2.6.32-22-generic > Location of "tcl.h": not found > Location of "tk.h": not found > Location of Tcl 8.5 library: /usr/lib > Location of Tk 8.5 library: /usr/lib > Location of X11 library: /usr/lib > Checking if your system already has zlib installed: yes. > Not all settings could be determined! > The default Makefile was written. > You will need to edit it before you can compile Scid. This tells you that you probably need to install the development packages for tcl and tk (called tcl8.5-dev and tk8.5-dev or variations on such theme). Make will fail because the C-compiler cannot find the tcl.h and tk.h include files. > > > The make output is the following: > > rm -f ./scid > cat tcl/start.tcl tcl/config.tcl tcl/bitmaps.tcl tcl/language.tcl > tcl/utils.tcl tcl/utils/date.tcl tcl/utils/font.tcl > tcl/utils/graph.tcl tcl/utils/history.tcl tcl/utils/pane.tcl > tcl/utils/sound.tcl tcl/utils/string.tcl tcl/utils/tooltip.tcl > tcl/utils/validate.tcl tcl/utils/win.tcl tcl/misc/misc.tcl > tcl/htext.tcl tcl/file.tcl tcl/file/finder.tcl tcl/file/bookmark.tcl > tcl/file/recent.tcl tcl/file/epd.tcl tcl/file/spellchk.tcl > tcl/file/maint.tcl tcl/edit.tcl tcl/game.tcl tcl/game/browser.tcl > tcl/windows.tcl tcl/windows/gamelist.tcl tcl/windows/pgn.tcl > tcl/windows/book.tcl tcl/windows/comment.tcl tcl/windows/eco.tcl > tcl/windows/stats.tcl tcl/windows/tree.tcl tcl/windows/crosstab.tcl > tcl/windows/pfinder.tcl tcl/windows/tourney.tcl > tcl/windows/switcher.tcl tcl/search/search.tcl tcl/search/board.tcl > tcl/search/header.tcl tcl/search/material.tcl > tcl/contrib/ezsmtp/ezsmtp.tcl tcl/tools/email.tcl tcl/tools/import.tcl > tcl/tools/optable.tcl tcl/tools/preport.tcl tcl/tools/pinfo.tcl > tcl/tools/analysis.tcl tcl/tools/wbdetect.tcl tcl/tools/reper.tcl > tcl/tools/graphs.tcl tcl/tools/tablebase.tcl tcl/tools/ptracker.tcl > tcl/help/help.tcl tcl/help/tips.tcl tcl/menus.tcl tcl/board.tcl > tcl/move.tcl tcl/main.tcl tcl/tools/correspondence.tcl > tcl/lang/english.tcl tcl/lang/deutsch.tcl tcl/lang/francais.tcl > tcl/lang/italian.tcl tcl/lang/nederlan.tcl tcl/lang/spanish.tcl > tcl/lang/portbr.tcl tcl/lang/swedish.tcl tcl/lang/norsk.tcl > tcl/lang/polish.tcl tcl/lang/czech.tcl tcl/lang/hungary.tcl > tcl/lang/serbian.tcl tcl/lang/catalan.tcl tcl/lang/russian.tcl > tcl/tools/uci.tcl tcl/end.tcl tcl/tools/tacgame.tcl > tcl/tools/sergame.tcl tcl/tools/calvar.tcl tcl/tools/fics.tcl > tcl/tools/opening.tcl tcl/tools/tactics.tcl tcl/tools/reviewgame.tcl > tcl/utils/metadata.tcl tcl/tools/inputengine.tcl tcl/tools/novag.tcl > tcl/misc/flags.tcl > ./scid > chmod +x scid > cp scripts/sc_addmove.tcl ./sc_addmove > chmod +x sc_addmove > cp scripts/sc_epgn.tcl ./sc_epgn > chmod +x sc_epgn > cp scripts/sc_spell.tcl ./sc_spell > chmod +x sc_spell > cp scripts/sc_eco.tcl ./sc_eco > chmod +x sc_eco > cp scripts/sc_import.tcl ./sc_import > chmod +x sc_import > cp scripts/sc_remote.tk ./sc_remote > chmod +x sc_remote > cp scripts/sc_tree.tcl ./sc_tree > chmod +x sc_tree > cp scripts/scidpgn.tcl ./scidpgn > chmod +x scidpgn > cp scripts/pgnfix.py ./pgnfix > chmod +x pgnfix > cp scripts/spliteco.tcl ./spliteco > chmod +x spliteco > cp scripts/spf2spi.tcl ./spf2spi > chmod +x spf2spi > g++ -O4 -fno-rtti -fno-exceptions -Wall -I/usr/include -o > src/pgnscid.o -c src/pgnscid.cpp > In file included from src/namebase.h:20, > from src/index.h:23, > from src/pgnscid.cpp:17: > src/misc.h:22:17: error: tcl.h: Nessun file o directory What did I tell you.... :-) > In file included from src/namebase.h:20, > from src/index.h:23, > from src/pgnscid.cpp:17: > src/misc.h:25: error: expected initializer before '*' token > make: *** [src/pgnscid.o] Errore 1 > > > What do you mean when you say "Well if you use a tarball from Scids > site to compile yourself egtb is included"? EGTB code is included or skipped during the C-complation stage, based on the value of the TB variable that is passed by the configure script into the Makefile. The default value is "-DSCID_USE_TB -DT41_INCLUDE", which includes the code. > I have non found anything about egtb. Is there any option to connect > to online egtb? In this case I would have solved the tablebase problem. > > Thanks. > Ciao, a presto. Giorgio. > > > On 16/06/2010 21:26, Alexander Wagner wrote: >> Giorgio wrote: >> >> Hi! >> >>> Thanks for reply. >> >> De rien. >> >>> My scid version is 4.2.1 January 2010. I downloaded it from the scid >>> site home page. My system is ubuntu 10.04. >> >> Well if you use a tarball from Scids site to compile yourself egtb is >> included. Any problems with ./configure spotted? >> >>> The tablebase directory option was unavailable since I run scid the >>> first time, before I installed nalimov. >> >> Well, the code is included if you have tb-files or not. There's just >> no search path set. >> >>> Maybe I could have made some error during the compiling steps. Do >>> you think I had better to compile again the package in a different >>> directory and see if there is any difference? >> >> I wonder if this solves the problem but it's worth a try. You may use >> a procedure like this: >> >> $ mv $HOME/.scid $HOME/_scid >> $ mkdir $HOME/sourceforge >> $ cd $HOME/sourceforge >> $ cvs -d:pserver:ano...@sc...:/cvsroot/scid login >> $ cvs -z3 -d:pserver:ano...@sc...:/cvsroot/scid >> co -P scid >> >> This gives you the cvs code in $HOME/sourceforge/scid. Just press >> enter after the first cvs line if you're asked for a password. >> >> To build it: >> >> $ cd scid >> $ cvs update >> $ export PATH=.:$PATH >> $ ./configure >> $ make >> $ ./scid >> >> This gives you a clean compile of current cvs and provided you run >> the export PATH statement and run scid from within it's build dir you >> don't need an install step. I use this version right now and checked >> that EGTB is working. >> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > > > _______________________________________________ > Scid-users mailing list > Sci...@li... > https://lists.sourceforge.net/lists/listinfo/scid-users |