pcp
[Top] [All Lists]

Perl PMDA doesn't compile without PCP already installed

To: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Subject: Perl PMDA doesn't compile without PCP already installed
From: Martin Hicks <mort@xxxxxxx>
Date: Tue, 16 Jun 2009 13:11:25 -0500
User-agent: Mutt/1.5.17 (2007-11-01)
Need to reference the libraries in the build tree, not the libraries
that are not yet installed.


diff --git a/src/cpan/PMDA/Makefile.PL b/src/cpan/PMDA/Makefile.PL
index 4074f7a..baa1993 100644
--- a/src/cpan/PMDA/Makefile.PL
+++ b/src/cpan/PMDA/Makefile.PL
@@ -11,7 +11,7 @@ WriteMakefile(
     XSPROTOARG         => '-noprototypes',
     OBJECT             => 'local.o PMDA.o',
     DEFINE             => '-DPERLIO_NOT_STDIO=0 -DPCP_VERSION -DPCP_DEBUG',
-    LDFROM             => "-L$ENV{PCP_DIR}\\local\\bin -lpcp_pmda -lpcp 
local.o PMDA.o",
+    LDFROM             => "-L$ENV{PCP_DIR}\\local\\bin -L../../libpcp/src 
-L../../libpcp_pmda/src -lpcp_pmda -lpcp local.o PMDA.o",
     INC                        => "-I../../include -I/usr/include/pcp 
-I$ENV{PCP_DIR}\\include\\pcp -I$ENV{PCP_DIR}\\c\\include",
     LIBS               => ["-L$ENV{PCP_DIR}\\local\\bin", '-lpcp_pmda', 
'-lpcp'],
 );

<Prev in Thread] Current Thread [Next in Thread>
  • Perl PMDA doesn't compile without PCP already installed, Martin Hicks <=