File: INSTALL

package info (click to toggle)
wput 0.5-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 640 kB
  • ctags: 478
  • sloc: ansic: 5,122; sh: 2,545; makefile: 95
file content (51 lines) | stat: -rw-r--r-- 1,398 bytes parent folder | download
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
Linux-like machines (using unaligned data structures)
===================
  wput 0.5: run
    1) ./configure; make
    2) make install
   *3) make uninstall

  If you want to compile Wput with memory-debugging-support, run
    ./configure --enable-memdbg
    make clean
    make
    
  You can reduce the size of the Wput executable by removing the
  debug-information using:
    ./configure --disable-g-switch
    make clean
    make
    
Fedora Core
===========
  Someone told me, it is necessary to edit the Makefile and change
  the first line to
    prefix	= /usr/share

Debian
======
  To build a binary debian-package use:
    fakeroot debian/rules binary
  and install it afterwards using:
    dpkg -i ../wput_0.5*

Windows
=======
  Use either the precompiled exe or use the MSVC6-project
  in src/msvcpp, to compile your own.
  You might consider copying the exe to %WINDIR% for easy
  command-line access from all locations.
  
SCO
===
  If you are using SCO (i know from someone using SCO-openserver)
  you have to do some extrawork:
  I don't know why, but make does not compile getopt/getopt.c and
  getopt/getopt1.c so this has to be done by hand:
    cd src/getopt
    gcc -c getopt.c
    gcc -c getopt1.c
  There might also be a problem with the isspace function that
  might be predefined on your system, so it should work if you
  delete these lines if your compiler complains.