[Xymon] Building a new Server

Vernon Everett everett.vernon at gmail.com
Thu Nov 27 08:04:35 CET 2014


# pkgutil -l | grep gcc
CSWgcc4core
CSWlibgcc-s1

Would have expected those two to cover it.
Here's the OpenCSW list.
Anything look like it's needed?

# pkgutil -a | grep gcc
boost_gcc_dev        CSWboost-gcc-dev     1.49.0,REV=2012.03.05        7.3
MB
gcc4ada              CSWgcc4ada           4.9.0,REV=2014.04.27        68.9
MB
gcc4core             CSWgcc4core          4.9.0,REV=2014.04.27       125.5
MB
gcc4corert_stub      CSWgcc4corert        4.6.3,REV=2012.03.06        13.1
KB
gcc4g++              CSWgcc4g++           4.9.0,REV=2014.04.27        41.8
MB
gcc4gfortran         CSWgcc4gfortran      4.9.0,REV=2014.04.27        37.3
MB
gcc4java             CSWgcc4java          4.9.0,REV=2014.04.27        43.3
MB
gcc4objc             CSWgcc4objc          4.9.0,REV=2014.04.27        33.3
MB
libgcc_s1            CSWlibgcc-s1         4.9.0,REV=2014.04.27       313.6
KB
libgccpp1            CSWlibgccpp1         7.2d,REV=2013.08.01          7.3
KB
perlgcc              CSWperlgcc           5.20.1,REV=2014.10.26       19.6
MB
ruby18_gcc4          CSWruby18-gcc4       1.8.7p357,REV=2014.03.06     4.5
KB


On 27 November 2014 at 15:00, Galen Johnson <Galen.Johnson at sas.com> wrote:

>  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
>



-- 
"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/5b179fe2/attachment.html>


More information about the Xymon mailing list