File: INSTALL

package info (click to toggle)
dxpc 3.9.2-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,164 kB
  • ctags: 1,252
  • sloc: cpp: 12,036; sh: 2,823; makefile: 77
file content (68 lines) | stat: -rw-r--r-- 2,200 bytes parent folder | download | duplicates (4)
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
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://www.oberhumer.com/opensource/lzo/ (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:

For some odd reason, the Cygwin linker doesn't by default look in
/usr/local/lib. Since lzo installs here by default, I needed to use the
--with-lzo-=lib option to configure like so:

dxpc> ./configure --with-lzo-lib=/usr/local

You may obviously need to change the path given above if you installed lzo
in some non-default location.

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