home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Wideo_HD / Vidalia / vidalia-bundle-0.2.2.33-0.2.14.exe / Polipo / README.Windows < prev    next >
Encoding:
Text File  |  2011-05-10  |  1.3 KB  |  38 lines

  1. Building Polipo on Windows -*-text-*-
  2. **************************
  3.  
  4. There are two distinct ports of Polipo to Windows -- a port using the
  5. Cygwin emulation libraries, and an experimental native port using Mingw.
  6.  
  7. The Cygwin port is identical to the Unix binary.  Build it just like
  8. you would build under Unix -- just type ``make all'' in the directory
  9. where you untarred the Polipo sources.
  10.  
  11. In order to build the native port, cd to the Polipo directory, and do
  12.  
  13.   make EXE=.exe LDLIBS=-lwsock32
  14.  
  15. or, if you've got a regex library,
  16.  
  17.   make EXE=.exe EXTRA_DEFINES=-DHAVE_REGEX LDLIBS="-lwsock32 -lregex"
  18.  
  19. In order to cross-compile from a Unix system, you will probably need
  20. to point make at the right compiler:
  21.  
  22.   make EXE=.exe CC=i586-mingw32msvc-gcc LDLIBS=-lwsock32
  23.  
  24. The native port currently attempts to access files in locations that
  25. are typical for a Unix system; for example, it will attempt to read a
  26. configuration file /etc/polipo/config on the current drive.  You will
  27. probably need to point it at your config file with an explicit ``-c''
  28. command-line argument, and define at least the following configuration
  29. variables:
  30.  
  31.   dnsNameServer
  32.   diskCacheRoot
  33.   forbiddenFile
  34.  
  35. Help with solving this issue would be very much appreciated.
  36.  
  37.                                         Juliusz Chroboczek
  38.