<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Based on this:<br>
</p>
<p><br>
</p>
<p><span style="color: rgb(33, 33, 33); font-family: monospace; font-size: 15px; background-color: rgb(255, 255, 255);">/opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory</span>​<br>
</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>=G=<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Vernon Everett <everett.vernon@gmail.com><br>
<b>Sent:</b> Thursday, November 27, 2014 1:46 AM<br>
<b>To:</b> Xymon mailinglist<br>
<b>Subject:</b> [Xymon] Building a new Server</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi all<br>
<br>
</div>
Trying to build a new server.<br>
</div>
And not having much luck.<br>
<span style="font-family:monospace">MAKE=gmake ./configure.server<br>
MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/pkgconfig/</span><br>
</div>
<div>and<br>
<span style="font-family:monospace">MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/</span><br>
</div>
<div>all give the exact same result below.<br>
</div>
<br>
<div>
<div><span style="font-family:monospace">+ uname -s<br>
OS=SunOS<br>
In file included from test-pcre.c:1:<br>
/opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory<br>
In file included from test-pcre.c:1:<br>
/opt/csw/include/pcre.h:489: warning: parameter names (without types) in function declaration<br>
/opt/csw/include/pcre.h:491: warning: parameter names (without types) in function declaration<br>
/opt/csw/include/pcre.h:496: warning: parameter names (without types) in function declaration<br>
/opt/csw/include/pcre.h:498: warning: parameter names (without types) in function declaration<br>
/opt/csw/include/pcre.h:503: warning: parameter names (without types) in function declaration<br>
/opt/csw/include/pcre.h:505: warning: parameter names (without types) in function declaration<br>
test-pcre.c: In function `main':<br>
test-pcre.c:8: error: `NULL' undeclared (first use in this function)<br>
test-pcre.c:8: error: (Each undeclared identifier is reported only once<br>
test-pcre.c:8: error: for each function it appears in.)<br>
Makefile.test-pcre:4: recipe for target 'test-compile' failed<br>
gmake: *** [test-compile] Error 1<br>
+ test 2 -eq 0<br>
+ echo ERROR: Cannot compile using PCRE library.<br>
ERROR: Cannot compile using PCRE library.<br>
PCREOK=NO<br>
+ gmake -f Makefile.test-pcre test-link<br>
PCRELIB=-L/opt/csw/lib + sed -es@/@_@g<br>
+ uname -s<br>
OS=SunOS<br>
gcc: test-pcre.o: No such file or directory<br>
Makefile.test-pcre:7: recipe for target 'test-link' failed<br>
gmake: *** [test-link] Error 1<br>
+ test 2 -eq 0<br>
+ echo ERROR: Cannot link with PCRE library.<br>
ERROR: Cannot link with PCRE library.<br>
PCREOK=NO<br>
+ gmake -f Makefile.test-pcre clean<br>
+ sed -es@/@_@g<br>
+ uname -s<br>
OS=SunOS<br>
+ cd ..<br>
+ test NO = NO<br>
+ echo Missing PCRE include- or library-files. These are REQUIRED for xymond<br>
Missing PCRE include- or library-files. These are REQUIRED for xymond<br>
+ echo PCRE can be found at <a href="http://www.pcre.org/">http://www.pcre.org/</a><br>
PCRE can be found at <a href="http://www.pcre.org/">http://www.pcre.org/</a><br>
+ echo If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR"<br>
If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR"<br>
+ echo options to configure to specify where they are.<br>
options to configure to specify where they are.<br>
+ exit 1</span><br>
<br clear="all">
<div>
<div>Have the following pcre related packages installed.<br>
<span style="font-family:monospace">bash-3.00# pkgutil -l  | grep -i pcre<br>
CSWlibpcre-dev<br>
CSWlibpcre0<br>
CSWlibpcre1<br>
CSWlibpcre16-0<br>
CSWlibpcre32-0<br>
CSWlibpcrecpp0<br>
CSWlibpcreposix0<br>
CSWpcre<br>
CSWpcrert</span><br>
</div>
<div>What's missing here?<br>
</div>
<div>-- <br>
<div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span>
<div><span>- General George Patton</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>