I was not able to compile the latest Scid code following Ben's
instructions, on a mostly-stock Ubuntu 12.04 Precise.
I took a look at the makefile for Scid 4.3 and noticed that linking to
TK_LIBRARY has been removed since then. I added back in that link and
was able to make it then. This was necessary whether I used gcc or
clang.
The instructions that work for me:
===
1. ./configure
2. edit Makefile as follows:
add the third line here:
TCL_INCLUDE = -I/usr/include/tcl8.5
TCL_LIBRARY = -L/usr/lib -ltcl$(TCL_VERSION)
TK_LIBRARY = $(TCL_LIBRARY) -ltk$(TCL_VERSION) -L/usr/X11R6/lib -lX11
add the last word, $(TK_LIBRARY) here:
tkscid: $(OBJS) $(XOBJS)
$(LINK) $(TCL_LIBRARY) $(ZLIB) $(PROFILE) -o tkscid $(XOBJS)
$(OBJS) $(TK_LIBRARY)
3. make
===
I am interested to know if this helps someone else, or if there is
something unique about my setup that I haven't thought of.
David
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users