[libmarpa-r2-perl] 21/32: Documenting use of external libraries

Jonas Smedegaard dr at jones.dk
Sat Nov 22 18:38:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag Marpa-R2-2.087_000
in repository libmarpa-r2-perl.

commit d00ec903abd0ef37b5b4eab0fecbd94f3e30c6d9
Author: Jeffrey Kegler <JKEGL at cpan.org>
Date:   Sat Jul 5 20:16:27 2014 -0700

    Documenting use of external libraries
---
 cpan/core/STATIC | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/cpan/core/STATIC b/cpan/core/STATIC
index fca4ae5..2028c7e 100644
--- a/cpan/core/STATIC
+++ b/cpan/core/STATIC
@@ -6,10 +6,26 @@ the INSTALL document at the top level of the Marpa::R2 CPAN directory.
 
 Here are the steps:
 
-1.) Build an external static library using the separate Libmarpa
+1.) Be sure the library that you are building is a match to the one
+that Marpa::R2 expects.  The expected version can be found in the
+core/read_only/LIB_VERSION file.  Do *NOT* edit this file.  This version
+number must match exactly the version number of your external static
+library.
+
+2.) Build an external static library using the separate Libmarpa
 repository.  Libmarpa uses autoconf.  Instructions on how to
 build it can be found beginning in the INSTALL file at the top
 level of the Libmarpa repository.  Libmarpa's repository is here:
 https://github.com/jeffreykegler/libmarpa
 
-[ INCOMPLETE !!! ]
+3.) Install the external static library.  Where and how you install it
+is up to you.  The Libmarpa distribution is set up to use autoconf.
+Instructions on how to install using autoconf can be found in the
+autoconf documentation.  We will assume that you have installed the
+external static library in /tmp/libmarpa.a.
+
+4.) Build Marpa::R2 to use the external static library.
+
+   ./Build code --libmarpa-external=/tmp/libmarpa.a
+
+[ INCOMPLETE!!! ]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmarpa-r2-perl.git



More information about the Pkg-perl-cvs-commits mailing list