Mikel Larreategi wrote: Hi!
> According to the README file: > > "The configure script can take optional parameters specifying settings. > For example, you you want the install directory to be "/usr/local/bin"" > > So this should work: > > er...@rook:~/Mahaigaina/scid$ ./configure BINDIR=/usr/games > > When compiling other programs, if you use the --prefix option in > configure you can specify the directory where the program is to be > installed. But it doesn't seem to work here. Note, however, that Scids ./configure is NOT the usual autoconf/automake configure. It's actually some tcl-script. It should offer similar functionality, but it's not a 1:1 match. Besides: you can actually move Scid around, but it has to find his lib somewhere in the path. I use the following (probably not so clean) procedure to build Scid for a stow instance living in /opt/chess. ------------------------------------------------------------------------- #!/bin/sh REPOS=/opt/chess/src/Repository STOW=/opt/chess/stow topdir=`pwd` buildscid() { ver=3.4.2 sciddir=$STOW/scid-$ver tar -jxf $REPOS/scid-$ver.tar.bz2 cd scid ./configure make make eco2pgn make eco2epd mkdir -p $sciddir/bin mkdir -p $sciddir/lib mkdir -p $sciddir/share/scid cp scid scidlet scidpgn spliteco pgnscid $sciddir/bin/ cp scmerge tcscid tkscid pgnfix $sciddir/bin/ cp sc_* $sciddir/bin/ cp eco2* $sciddir/bin/ chmod go+rx $sciddir/bin/ cp -p *.so $sciddir/lib chmod go+rx $sciddir/lib/ cp -r bases $sciddir/share/scid cp -r books $sciddir/share/scid chmod go+rw $sciddir/share/scid/books/* cp -r sounds $sciddir/share/scid cp -r *.ssp $sciddir/share/scid cp -r scid.eco $sciddir/share/scid cd $topdir } ------------------------------------------------------------------------- Using stow for installing into system dirs like /usr/games etc. might be advisable btw. (Avoids some possbile problems with uninstall as it keeps all files in a single dir and just uses links instead of copies.) hth. -- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users