File: INSTALL

package info (click to toggle)
pacparser 1.3.6-1.2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 1,300 kB
  • sloc: ansic: 1,085; python: 225; makefile: 159; sh: 149
file content (60 lines) | stat: -rw-r--r-- 2,232 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
On Unix-like Systems:
####################

You can download latest pacparser source code tarball from:
  https://github.com/pacparser/pacparser/releases

You can also get the latest source code from github (git) repository by
following instructions at:
  https://github.com/pacparser/pacparser

* pacparser C library and pactester:
  ----------------------------------
  Compiling and installing pacparser is as easy as running the following
  commands:
     => make -C src
     => sudo make -C src install

* pacparser python module:
  ------------------------------------------------
  To compile and install pacparser python module:
    => make -C src pymod
    => sudo make -C src install-pymod

On Win-32 Systems:
#################

Binary Distribution:
===================

Compiled packages for win32 systems can be downloaded from:
https://github.com/pacparser/pacparser/releases

* C Library and pactester:
  -----------------------
To install pacparser C library and pactester, download package
"pacparser-v.v.v-win32.zip" and extract it somewhere on your machine. It will
create a directory - "pacparser-v.v.v". Copy pacparser.dll and pactester.exe
binaries to somewhere on the system where system can find them (e.g. to the
directories that are already in system path like C:\Windows) or simply add
pacparser directory to the system path.

You'll need pacparser.lib to link in pacparser on Visual Studio/C++. On mingw,
you can directly link with pacparser.dll. Here are the detailed instructions to link in pacparser on Visual Studio:
http://code.google.com/p/pacparser/wiki/LinkingOnVisualStudio.

* Python Module
  -------------
To install pacparser python module (available only for Python 2.7 right now),
download package pacparser-python27-v.v.v-win32.zip and extract it somewhere
on your system. To install the module in you PYTHONPATH, simply run install.py
that comes with the compiled binaries.

If it fails for some reason, simply copy "pacparser" sub-directory to
C:\Python27\Lib\site-packages\ and you are done.

Compiling from Source Code:
==========================

Compiling pacparser for Windows is a rather involved process and is documented
in detail in README.win32 file included with this package.