Hi there!

On 07/14/2010 09:49 PM, Gerardo Fernandez wrote:
> Hi all,
>
> the distribution I use in my netbook only offers Scid 3.6, so I
> compiled it from the source. But the binary and all the other files
> stay in /home/user/chess/scid, the place where I unpacked it, which
> doesn't seem to me a proper location for the program. I'd prefer to
> have it where it gets installed to in Linux Mint for example, where
> the executable is placed in /usr/games and the rest of the files in
> /user/share/scid, but how should I do that? Just moving files after
> compiling or maybe compiling with special options?
>    

Both would work :-)

The latter is not in compilation itself but in the install part of the 
making.

First patch the makefile such that you specify the desired folders. In 
/home/user/chess/scid, type:

$ ./configure BINDIR=/usr/games SHAREDIR=/user/share/scid

Next, you build the stuff (locally in /home/user/chess/scid) by entering

$ make

Finally, you install the results by entering

$ make install

Needless to say
1) During installation, your `whoami` needs full access to $BINDIR and 
$SHAREDIR
2) You do this at your own risk. So I would recommend to run a test 
install into a safer place before committing changes to your system that 
cannot be undone...

Finally, observe that scid leaves files in (mainly) ~/.scid/config. 
Several incompatibilities exist between 3.6.x and 4.x. So if you want to 
toss and turn between the two scid versions, you should need to set 
those files apart.

Cheers,
Joost.


> Thanks in advance.
>
>    


------------------------------------------------------------------------------
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

Reply via email to