forked from facebookarchive/pfff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
binutils-gold is required (issue facebookarchive#21)
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
To build pfff, you will require several developpement packages usually | ||
not shipped in a default install. | ||
|
||
Install pcre-devel, gtk2-devel, atk-devel, pango-devel, and cairo-devel, | ||
swi-prolog. | ||
swi-prolog, binutils-gold. | ||
|
||
For instance: | ||
for redhat: sudo yum install pcre-devel | ||
for ubuntu: sudo apt-get install pcre-devel | ||
for gentoo: sudo emerge pcre | ||
for arch: I don't remember | ||
for RedHat: sudo yum install pcre-devel | ||
for Gentoo: sudo emerge pcre | ||
for Arch: I don't remember | ||
|
||
For Ubuntu/Debian, packages are named differently, usually with a 'lib' | ||
prefix, you will want to install: | ||
libpcre3-dev, libgtk2.0-dev, libcairo2-dev, libpango1.0-dev and finally | ||
the binutils-goldl package. | ||
|
||
On Fedora you may need to install the camlp4 packages too: | ||
ocaml-camlp4 ocaml-camlp4-devel | ||
|
||
then | ||
Then: | ||
$ ./configure | ||
$ make depend | ||
$ make | ||
$ make opt | ||
|
||
For Ubuntu/Debian you want to install libpcre3-dev, | ||
libgtk2.0-dev, libcairo2-dev and libpango1.0-dev. These are the | ||
correct package names (pcre-devel does not exist, and so on). | ||
|
||
On Fedora you may need to install the camlp4 packages too: | ||
ocaml-camlp4 ocaml-camlp4-devel |