| 303 |
contains compiler output from tests that "configure" runs. |
contains compiler output from tests that "configure" runs. |
| 304 |
|
|
| 305 |
Once "configure" has run, you can run "make". It builds two libraries, called |
Once "configure" has run, you can run "make". It builds two libraries, called |
| 306 |
libpcre and libpcreposix, a test program called pcretest, a demonstration |
libpcre and libpcreposix, a test program called pcretest, and the pcregrep |
| 307 |
program called pcredemo, and the pcregrep command. If a C++ compiler was found |
command. If a C++ compiler was found on your system, "make" also builds the C++ |
| 308 |
on your system, "make" also builds the C++ wrapper library, which is called |
wrapper library, which is called libpcrecpp, and some test programs called |
| 309 |
libpcrecpp, and some test programs called pcrecpp_unittest, |
pcrecpp_unittest, pcre_scanner_unittest, and pcre_stringpiece_unittest. |
| 310 |
pcre_scanner_unittest, and pcre_stringpiece_unittest. Building the C++ wrapper |
Building the C++ wrapper can be disabled by adding --disable-cpp to the |
| 311 |
can be disabled by adding --disable-cpp to the "configure" command. |
"configure" command. |
| 312 |
|
|
| 313 |
The command "make check" runs all the appropriate tests. Details of the PCRE |
The command "make check" runs all the appropriate tests. Details of the PCRE |
| 314 |
tests are given below in a separate section of this document. |
tests are given below in a separate section of this document. |
| 360 |
pcretest.txt the pcretest man page |
pcretest.txt the pcretest man page |
| 361 |
pcregrep.txt the pcregrep man page |
pcregrep.txt the pcregrep man page |
| 362 |
|
|
|
Note that the pcredemo program that is built by "configure" is *not* installed |
|
|
anywhere. It is a demonstration for programmers wanting to use PCRE. |
|
|
|
|
| 363 |
If you want to remove PCRE from your system, you can run "make uninstall". |
If you want to remove PCRE from your system, you can run "make uninstall". |
| 364 |
This removes all the files that "make install" installed. However, it does not |
This removes all the files that "make install" installed. However, it does not |
| 365 |
remove any directories, because these are often shared with other programs. |
remove any directories, because these are often shared with other programs. |
| 740 |
Philip Hazel |
Philip Hazel |
| 741 |
Email local part: ph10 |
Email local part: ph10 |
| 742 |
Email domain: cam.ac.uk |
Email domain: cam.ac.uk |
| 743 |
Last updated: 18 December 2007 |
Last updated: 23 January 2008 |