[Xymon] Building a new Server
Vernon Everett
everett.vernon at gmail.com
Thu Nov 27 07:46:29 CET 2014
Hi all
Trying to build a new server.
And not having much luck.
MAKE=gmake ./configure.server
MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib
/opt/csw/lib/pkgconfig/
and
MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib
/opt/csw/lib/
all give the exact same result below.
+ uname -s
OS=SunOS
In file included from test-pcre.c:1:
/opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory
In file included from test-pcre.c:1:
/opt/csw/include/pcre.h:489: warning: parameter names (without types) in
function declaration
/opt/csw/include/pcre.h:491: warning: parameter names (without types) in
function declaration
/opt/csw/include/pcre.h:496: warning: parameter names (without types) in
function declaration
/opt/csw/include/pcre.h:498: warning: parameter names (without types) in
function declaration
/opt/csw/include/pcre.h:503: warning: parameter names (without types) in
function declaration
/opt/csw/include/pcre.h:505: warning: parameter names (without types) in
function declaration
test-pcre.c: In function `main':
test-pcre.c:8: error: `NULL' undeclared (first use in this function)
test-pcre.c:8: error: (Each undeclared identifier is reported only once
test-pcre.c:8: error: for each function it appears in.)
Makefile.test-pcre:4: recipe for target 'test-compile' failed
gmake: *** [test-compile] Error 1
+ test 2 -eq 0
+ echo ERROR: Cannot compile using PCRE library.
ERROR: Cannot compile using PCRE library.
PCREOK=NO
+ gmake -f Makefile.test-pcre test-link
PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g
+ uname -s
OS=SunOS
gcc: test-pcre.o: No such file or directory
Makefile.test-pcre:7: recipe for target 'test-link' failed
gmake: *** [test-link] Error 1
+ test 2 -eq 0
+ echo ERROR: Cannot link with PCRE library.
ERROR: Cannot link with PCRE library.
PCREOK=NO
+ gmake -f Makefile.test-pcre clean
+ sed -es@/@_ at g
+ uname -s
OS=SunOS
+ cd ..
+ test NO = NO
+ echo Missing PCRE include- or library-files. These are REQUIRED for xymond
Missing PCRE include- or library-files. These are REQUIRED for xymond
+ echo PCRE can be found at http://www.pcre.org/
PCRE can be found at http://www.pcre.org/
+ echo If you have PCRE installed, use the "--pcreinclude DIR" and
"--pcrelib DIR"
If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR"
+ echo options to configure to specify where they are.
options to configure to specify where they are.
+ exit 1
Have the following pcre related packages installed.
bash-3.00# pkgutil -l | grep -i pcre
CSWlibpcre-dev
CSWlibpcre0
CSWlibpcre1
CSWlibpcre16-0
CSWlibpcre32-0
CSWlibpcrecpp0
CSWlibpcreposix0
CSWpcre
CSWpcrert
What's missing here?
--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141127/90ba3b58/attachment.html>
More information about the Xymon
mailing list