Xymon Mailing List Archive search

client compile on SunOS 5.8

5 messages in this thread

list Michael Nemeth · Mon, 25 Jul 2005 09:33:42 -0400 ·
Besides using gcc  ( I didn't have that on the first system I tried) . I looks like it wants "pcre" too.
 From the readme I though id didn't need extra software.

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I`pwd`/include" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl" BBTOPDIR="/home/nemethm/hobbitclient" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="129.204.177.11" BBHOSTOS="" /home/nemethm/bin/make -C lib client
make[1]: Entering directory `/home/nemethm/hobbit-4.1.0/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/home/nemethm/hobbit-4.1.0/include -I. -I../include    -c -o digest.o digest.c
In file included from /home/nemethm/hobbit-4.1.0/include/libbbgen.h:35,
                 from digest.c:24:
/home/nemethm/hobbit-4.1.0/lib/matching.h:14:18: pcre.h: No such file or directory
In file included from /home/nemethm/hobbit-4.1.0/include/libbbgen.h:35,
                 from digest.c:24:
/home/nemethm/hobbit-4.1.0/lib/matching.h:16: error: parse error before '*' token
/home/nemethm/hobbit-4.1.0/lib/matching.h:16: warning: type defaults to `int' in declaration of `compileregex'
/home/nemethm/hobbit-4.1.0/lib/matching.h:16: warning: data definition has no type or storage class
/home/nemethm/hobbit-4.1.0/lib/matching.h:18: error: parse error before "pcre"
make[1]: *** [digest.o] Error 1
make[1]: Leaving directory `/home/nemethm/hobbit-4.1.0/lib'
make: *** [lib-client] Error 2

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          |><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner · Mon, 25 Jul 2005 15:41:54 +0200 ·
quoted from Michael Nemeth
On Mon, Jul 25, 2005 at 09:33:42AM -0400, Michael Nemeth wrote:
Besides using gcc  ( I didn't have that on the first system I tried) . I 
looks like it wants "pcre" too.
Yeah, the build is kind of broken right now if you don't have the pcre
headers on the box. (The client doesn't use pcre at all, but during
the build it happens to reference some of the pcre headers).

Stay tuned...


Henrik
list 刘正明 · Thu, 28 Jul 2005 09:37:34 +0800 ·
Besides using gcc ( I didn't have that on the first system I tried) . I looks like it wants
"ar" too.
From the readme I though id didn't need extra software.

bash-2.03# make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I`pwd`/include" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl" BBTOPDIR="/usr/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="202.107.117.8" BBHOSTOS="" make -C lib client
make[1]: Entering directory `/tmp/hobbit-4.1.0/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o digest.o digest.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include  -DBBTOPDIR=\"/usr/hobbit\" -DBBLOGDIR=\"\" -DBBHOSTNAME=\"\" -DBBHOSTIP=\"202.107.117.8\" -DBBHOSTOS=\"\" -c -o environ.o environ.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o errormsg.o errormsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o md5.o md5.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o memory.o memory.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o misc.o misc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o sendmsg.o sendmsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o sig.o sig.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o stackio.o stackio.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include    -c -o timefunc.o timefunc.c
ar cr hobbitclient.a digest.o environ.o errormsg.o md5.o memory.o misc.o sendmsg.o sig.o stackio.o timefunc.o
make[1]: ar: Command not found
make[1]: *** [hobbitclient.a] Error 127
make[1]: Leaving directory `/tmp/hobbit-4.1.0/lib'
make: *** [lib-client] Error 2
bash-2.03# vi Makefile
"Makefile" 25 lines, 424 characters 

Many Thanks and Best Regards, 

             刘正明 
东软软件园产业发展有限公司 
Neusoft Park Industrial Development Co., Ltd.

Tel:   XX-XX-XXXXXXXX
Fax:   XX-XX-XXXXXXXX
Http:  www.neusoft.com
Email: user-f75ddabb69cc@xymon.invalid
list Brian Lynch · Wed, 27 Jul 2005 22:20:55 -0700 ·
Try setting your path to the 'ar' command: 
export PATH=$PATH:/usr/ccs/bin
make
- Brian
quoted from 刘正明

On 7/27/05, 刘正明 <user-f75ddabb69cc@xymon.invalid> wrote:
Besides using gcc ( I didn't have that on the first system I tried) . I looks like it wants
"ar" too.
From the readme I though id didn't need extra software.

bash-2.03# make

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I`pwd`/include" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl" BBTOPDIR="/usr/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="202.107.117.8<http://202.107.117.8>"; BBHOSTOS="" make -C lib client
quoted from 刘正明
make[1]: Entering directory `/tmp/hobbit-4.1.0/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o digest.o digest.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -DBBTOPDIR=\"/usr/hobbit\" -DBBLOGDIR=\"\" -DBBHOSTNAME=\"\" -DBBHOSTIP=\"202.107.117.8\" -DBBHOSTOS=\"\" -c -o environ.o environ.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o errormsg.o errormsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o md5.o md5.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o memory.o memory.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o misc.o misc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o sendmsg.o sendmsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o sig.o sig.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o stackio.o stackio.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -I. -I/tmp/hobbit-4.1.0/include -I. -I../include -c -o timefunc.o timefunc.c
ar cr hobbitclient.a digest.o environ.o errormsg.o md5.o memory.o misc.o sendmsg.o sig.o stackio.o timefunc.o
make[1]: ar: Command not found
make[1]: *** [hobbitclient.a] Error 127
make[1]: Leaving directory `/tmp/hobbit-4.1.0/lib'
make: *** [lib-client] Error 2
bash-2.03# vi Makefile
"Makefile" 25 lines, 424 characters

Many Thanks and Best Regards,

刘正明
东软软件园产业发展有限公司
Neusoft Park Industrial Development Co., Ltd.

Tel: XX-XX-XXXXXXXX
Fax: XX-XX-XXXXXXXX

Http: www.neusoft.com <http://www.neusoft.com>;
Email: user-f75ddabb69cc@xymon.invalid

list 刘正明 · Thu, 28 Jul 2005 13:40:50 +0800 ·
thank you very much!hobbitclient are good running at SunOS 5.8
Many Thanks and Best Regards,