[Xymon] Building a new Server

Galen Johnson Galen.Johnson at sas.com
Thu Nov 27 08:00:41 CET 2014


Based on this:


/opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory?


I'd say that you're missing some additional dev libraries.  It's been a while since I worked on Solaris, but it might be expecting the gcc headers.


=G=


________________________________
From: Xymon <xymon-bounces at xymon.com> on behalf of Vernon Everett <everett.vernon at gmail.com>
Sent: Thursday, November 27, 2014 1:46 AM
To: Xymon mailinglist
Subject: [Xymon] Building a new Server

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/ec420bc6/attachment.html>


More information about the Xymon mailing list