Hobbit dependencies on Solaris 10.
Loris Serena
loris.serena at bt.com
Mon Aug 21 18:34:01 CEST 2006
Hello guys,
I've played with BB for years but I'm new to hobbit.
I'm trying to install 4.2.0 on a box running Solaris 10 x86 1/06 (Core
installation).
I've religiously added gcc, gmake, fping, rrdtool but I'm getting stuck on
pcre.
1.
If I do a pkgadd from SunFreeware, it installs ok but hobbit configure quits
with:
<snip>
Checking for PCRE ...
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.)
make: *** [test-compile] Error 1
ERROR: PCRE include files found in /usr/local/include, but compile fails.
#
2.
If I try to compile pcre from source, configure goes ok, but make returns
the following:
# make
/bin/bash ./libtool --mode=compile gcc -c -g -O2 -I. -I. ./maketables.c
mkdir .libs
gcc -c -g -O2 -I. -I. ./maketables.c -fPIC -DPIC -o maketables.o
mv -f maketables.o .libs/maketables.lo
gcc -c -g -O2 -I. -I. ./maketables.c -o maketables.o >/dev/null 2>&1
mv -f .libs/maketables.lo maketables.lo
/bin/bash ./libtool --mode=compile gcc -c -g -O2 -I. -I. ./get.c
rm -f .libs/get.lo
gcc -c -g -O2 -I. -I. ./get.c -fPIC -DPIC -o get.o
mv -f get.o .libs/get.lo
gcc -c -g -O2 -I. -I. ./get.c -o get.o >/dev/null 2>&1
mv -f .libs/get.lo get.lo
/bin/bash ./libtool --mode=compile gcc -c -g -O2 -I. -I. ./study.c
rm -f .libs/study.lo
gcc -c -g -O2 -I. -I. ./study.c -fPIC -DPIC -o study.o
mv -f study.o .libs/study.lo
gcc -c -g -O2 -I. -I. ./study.c -o study.o >/dev/null 2>&1
mv -f .libs/study.lo study.lo
gcc -c -g -O2 -I. ./dftables.c
/bin/bash ./libtool --mode=link gcc -g -O2 -I. -I. -o dftables dftables.o
gcc -g -O2 -I. -I. -o dftables dftables.o
./dftables ./chartables.c
/bin/bash ./libtool --mode=compile gcc -c -g -O2 -I. -I.
-DPOSIX_MALLOC_THRESHOLD=10 ./pcre.c
rm -f .libs/pcre.lo
gcc -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre.c -fPIC -DPIC -o
pcre.o
pcre.c:355: error: `malloc' undeclared here (not in a function)
pcre.c:356: error: `free' undeclared here (not in a function)
pcre.c:357: error: `malloc' undeclared here (not in a function)
pcre.c:358: error: `free' undeclared here (not in a function)
make: *** [pcre.o] Error 1
#
What am I missing here?
Thanks in advance
Loris
BT Communications Ireland Limited
is a wholly owned subsidiary of BT Group plc
Registered in Ireland, Registration No. 141524
Grand Canal Plaza, Upper Grand Canal Street, Dublin, Ireland
This electronic message contains information (and may contain files) from BT
Communications Ireland Limited which may be privileged or confidential. The
information is intended to be for the sole use of the individual(s) or
entity named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information
and or files is prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the numbers or address
above) immediately. http://www.btireland.ie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060821/c352f45c/attachment.html>
More information about the Xymon
mailing list