On 2012-11-04 19:59 +0100, Dr Beco wrote: > Due to license problems, the actual scid package for debian has > disabled the use of tablebase (the menu item is gray). > So, to have this feature, I need to compile it from scratch. > > I've followed the steps: > > - download the tar.bz2 from the official site > - untar it > - run ./configure
Another approach would have been to copy over the existing debian/ directory from the Debian source package to build a proper .deb after you have untarred the source. But this requires a little experience with building Debian packages. > I got some dependency problems with tcl and tk that I already solved. > But there is one that still puzzles me: > > > # ./configure > configure: Makefile configuration program for Scid > Renaming "Makefile" to "Makefile.bak" > Tcl/Tk version: 8.5 > Your operating system is: Linux 3.2.0-4-amd64 > Location of "tcl.h": /usr/include/tcl8.5 > Location of "tk.h": /usr/include/tcl8.5 > Location of Tcl 8.5 library: /usr/lib > Location of Tk 8.5 library: /usr/lib > Location of X11 library: not found > Checking if your system already has zlib installed: yes. > Using Makefile.conf. > Not all settings could be determined! > The default Makefile was written. > You will need to edit it before you can compile Scid. > > > I've tried > # apt-get install xlibs xlibs-dev It's libx11-dev. If you add deb-src entries to your sources.list file and run "apt-get update", you can see which packages are needed to build binary packages from source by running "apt-cache showsrc": ,---- | $ apt-cache showsrc scid | grep ^Build-Depends: | Build-Depends: debhelper (>= 7.0.50~), tcl8.5-dev, tk8.5-dev, zlib1g-dev, libx11-dev, dpkg-dev (>= 1.16.0) `---- While debhelper and dpkg-dev are only necessary to build a Debian package, the others are required to compile scid. > I have no /usr/lib64, although my system is 64bits. This is normal on Debian. > And how to create a .deb so we can easily > install/uninstall the software after compiled? There is checkinstall, which might do the job good enough. The proper way would be to "debianise" the source as outlined above. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87hap5azz8....@turtle.gmx.de