File: INSTALL

package info (click to toggle)
dxpc 3.8.0-5
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 672 kB
  • ctags: 780
  • sloc: cpp: 10,145; sh: 173; makefile: 87
file content (73 lines) | stat: -rw-r--r-- 2,316 bytes parent folder | download | duplicates (2)
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
70
71
72
73
BUILDING DXPC
=============

To build dxpc, you need:
   1. the dxpc source
   2. the X11R4, X11R5, or X11R6 include files 
   3. a C++ compiler for each of the machines/operating systems on which
      you want to run the Client and/or Server Proxy.
   4. the LZO library source, available from 
      http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html (preferred) or
      http://www.vigor.nu/dxpc/

Once you have these things, here's how to compile and install dxpc:

   1. Build and install the LZO library.

      NB: if you do not have root access on the machine you are working on,
      you will have to use the --prefix option to LZO's configure script to
      specify a location for the installation.

      NB: if you are building for the Win32 platform using the Cygwin32
      environment, please see Cygwin notes below.

   2. Generate a Makefile

      To do this, go to the dxpc source directory and run:
         
	./configure

      This is a GNU autoconf configure script, so it likely will
      work on your system.  If it doesn't, please send the maintainer
      an email, including any error messages.

      NB: if you had to install LZO in some non-default location using the
      --prefix=DIR option (as described in step one), you should now
      specify the path to LZO by providing the --with-lzo-lib=DIR option
      to dxpc's configure script.

   3. Compile dxpc

      Just run:
         make

   4. Install dxpc

      Once you have compiled dxpc, you can install the dxpc executable
      and its manual page by running:

         make install
         make install.man

      (Since there is only one executable to install, you could
      also just copy it to your chosen bin directory manually, if
      you prefer.)

Cygwin notes:

In order to build the LZO 1.04 libraries and dxpc with the Cygwin environment,
I had to follow the following steps:

lzo> export CC=gcc
lzo> export LD=/cygnus/cygwin-b20/H-i586-cygwin32/bin/ld
lzo> ./configure --prefix=/cygnus/cygwin-b20/kvigor --host=i586-cygnus-cygwin32
lzo> make
lzo> make install
lzo> cd ../dxpc
dxpc> ./configure --with-lzo-lib=/cygnus/cygwin-b20/kvigor
dxpc> make

You may obviously need to change the paths given above.

On the final make, the linker complains about the -R option, but generates a
valid dxpc.exe anyway.