[go: up one dir, main page]

File: README.sco

package info (click to toggle)
lincity 1.11-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,460 kB
  • ctags: 2,642
  • sloc: cpp: 24,598; makefile: 246; sh: 15; perl: 10
file content (69 lines) | stat: -rwxr-xr-x 1,380 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
  ****  README.sco   for lincity  ****

  Lincity uses 'gzip' to compress and uncompress saved games.  Gzip is
  not a standard SCO OpenServer utility, but you can get it from the
  'SCO Skunkware' archive; currently

     ftp://ftp.sco.com/Skunk/bin/gzip



To compile under SCO OpenServer 5.0:

    make clean
    make sco

If the CC link fails, with the message

    undefined                       first referenced
     symbol                             in file
    gettimeofday(timeval*,timezone*)  main.o

then you need to make a small edit to the file /usr/include/sys/time.h
to make it C++-clean.  To do this, add the encapsulation

    #ifdef __cplusplus
    extern "C" {
    #endif

before the line

    #if !defined(_INKERNEL)

and

    #ifdef __cplusplus
    }
    #endif

after the line

    #endif /* !defined(_INKERNEL) */

to the file.  Here's a patch input that will do it on SCO OpenServer
5.0.0 and 5.0.2:

    57a58,61
    > #ifdef __cplusplus
    > extern "C" {
    > #endif
    >
    68a73,76
    >
    > #ifdef __cplusplus
    > }
    > #endif

(but be VERY careful applying this on other releases).  Now run

    make clean
    make sco

and everything should be OK.  Assuming that it is, install with

    make install

You may need to create /usr/local, /usr/local/lib, and/or
/usr/local/bin if they aren't there already.

Run the game with  'xlincity'