next up previous contents
Next: How to Start Soccerserver Up: Getting Started Previous: Getting Started   Contents

Installation

1.
Get source files from the soccerserver site:
http://ci.etl.go.jp/~noda/soccer/server/index.html,
(a)
click Download,
(b)
get gziped file sserver-*.tar.gz by clicking
  • Newest version, or
  • FTP service of the Soccerserver is here
where * is the version number 2.1.
2.
Extract source files:
% gzip -dc sserver-*.tar.gz | tar xvf -
the following files and directories are created under the directory sserver-*.

% ls sserver-5.12
Acknowledgement     Changes             Changes~
configure*          configure2*         drawcheck/
logplayer/          Makefile            monitor/
prints.txt          README              recfile_change/
sampleclient/       server/             sserver*
sserver-csh.tmpl    sserver-tcsh.tmpl   sserver.tmpl
% 
3.
Change working directory to sserver-* and read the file README.

% cd sserver-5.12
% more README
[Directories]
server/
        Source files of soccerserver
monitor/
        Source files of soccermonitor
sampleclient/
        Source files of a very simple client

[How to Make]
        (1) Do configure
        (2) Do make

[How to Start]
        (1) start \ss{}.
        (2) start a couple of soccermonitors you want.

        "sserver" is a sample script to invoke \ss{} and soccermonitor.

[Required Softwares]
        GCC 2.7.0 or later
        X11R5 or R6  
                Some old version of R5 may cause problems of display.

[Suppoted OSs]
        SunOS 4.1.x
        Solaris 2.x
        DEC OSF1
%    
4.
Do ``configure'' according to README and answer questions about directories.

% configure
Do you use X11R6.x? [y or n]
  [default=y]:y
Enter X11R6 includes directory.
  [default=/usr/openwin/include]:
Enter X11R6 libraries directory.
  [default=/usr/openwin/lib]:
Do you use dynamic linking? [y or n]
  [default=y]:y
Enter compiler flag(s).
  [default=-O2 -pipe]:

Configuration Summary:
  OS type = SunOS_5
  X11 revision = 6
  X11 include PATH = /usr/openwin/include
  X11 libraries PATH = /usr/openwin/lib
  RUNPATH = -R/local/lib:/usr/openwin/lib
  Link style = Dynamic
  Compiler flag(s) = -O2 -pipe

Creating Makefile...[server][monitor][sampleclient][recfile_change][logplayer][drawcheck].
Creating sserver script.
Done.
%
5.
Do ``make''.

% make
g++ -c -pipe -DSolaris -DSYSV  main.C
g++ -c -pipe -DSolaris -DSYSV  field.C
  .
  .
  .
g++ -o drawcheck drawcheck.o netif.o  -lm -lsocket -lnsl -R/local/lib
%
If there are errors in Make, please check g++ environment in your system.


RoboCup SoccerServer Manual Account
1999-07-03