RE: [cricket-users] Help with Cricket-0.69 for newbie

From: Berg, Ivan (iberg@montana.edu)
Date: Mon Jul 19 1999 - 13:32:01 PDT


From: "Berg, Ivan" <iberg@montana.edu>

 This has helped some people, give it a try.

1. Make sure you run ./configure AS the cricket user, not root.
2. You may need to manually set paths in the various files.
3. Run compile AS the cricket user

Because it sounds like it is not finding config tree since it finds 0 files.
I beleive by default it looks at /routers which has more than 1 target in
it. Therefore, it is not seeing this file or the config tree.

-----Original Message-----
From: Daniel Spisak
To: Jeff Allen
Cc: Cricket Users List
Sent: 7/19/99 2:03 PM
Subject: [cricket-users] Help with Cricket-0.69 for newbie

From: "Daniel Spisak" <dspisak@mminternet.com>

Ok here is where I am at now. I have RRDtool-1.00 installed with
Cricket-0.69 on a Redhat 6.0 Intel box with all the updates from Redhat
as
well. I have followed the beginner.txt file to the letter and when I do
a
compile this is what I get.

[19-Jul-1999 12:55:55 ] Starting compile: Cricket version 0.69 ( Fri Jul
16
00:37:23 PDT 1999 )
[19-Jul-1999 12:55:55 ] Processed 1 nodes (in 0 files) in 6 seconds.
[root@paraguay cricket]#

After running the compile I can find config.db nowhere! Now, after
scouring
the beginner.txt and the FAQ on Jeff's site I ran into some confusion.
In
the beginner file Jeff says to install DB_File. However, in the FAQ at
the
end he says to download BerkeleyDB 1.68 which is NOT DB_File as best as
I
can tell. I have DB_File installed just fiine. However, I have been
totally unsucessful in getting BerkeleyDB-1.68 to compile on my Redhat
box,
and this was after following its instructions. Here is the output of a
"make" on the BerkeleyDB:

cc -c -D__DBINTERFACE_PRIVATE -O -I. -Iinclude -I../../hash
.../../hash/hash.c
In file included from ../../hash/hash.c:42:
/usr/include/sys/stat.h:316: parse error before `__THROW'
/usr/include/sys/stat.h:317: syntax error before `{'
/usr/include/sys/stat.h:323: parse error before `__THROW'
/usr/include/sys/stat.h:324: syntax error before `{'
/usr/include/sys/stat.h:329: parse error before `__THROW'
/usr/include/sys/stat.h:330: syntax error before `{'
/usr/include/sys/stat.h:336: parse error before `__THROW'
/usr/include/sys/stat.h:337: syntax error before `{'
In file included from /usr/include/stdio.h:57,
                 from ../../hash/hash.c:46:
/usr/include/libio.h:328: conflicting types for `__restrict'
/usr/include/libio.h:328: previous declaration of `__restrict'
/usr/include/libio.h:329: conflicting types for `__restrict'
/usr/include/libio.h:328: previous declaration of `__restrict'
/usr/include/libio.h:330: conflicting types for `__restrict'
/usr/include/libio.h:330: previous declaration of `__restrict'
In file included from ../../hash/hash.c:46:
/usr/include/stdio.h:178: parse error before `__filename'
/usr/include/stdio.h:181: parse error before `__filename'
/usr/include/stdio.h:228: parse error before `__stream'
/usr/include/stdio.h:232: parse error before `__stream'
/usr/include/stdio.h:238: parse error before `__stream'
/usr/include/stdio.h:247: parse error before `__stream'
/usr/include/stdio.h:250: parse error before `__format'
/usr/include/stdio.h:252: parse error before `__s'
/usr/include/stdio.h:256: parse error before `__s'
/usr/include/stdio.h:260: parse error before `__format'
/usr/include/stdio.h:263: parse error before `__s'
/usr/include/stdio.h:269: parse error before `__s'
/usr/include/stdio.h:273: parse error before `__s'
/usr/include/stdio.h:277: parse error before `__s'
/usr/include/stdio.h:306: parse error before `__stream'
/usr/include/stdio.h:309: parse error before `__format'
/usr/include/stdio.h:311: parse error before `__s'
/usr/include/stdio.h:389: parse error before `__s'
/usr/include/stdio.h:424: parse error before `__s'
/usr/include/stdio.h:442: parse error before `__ptr'
/usr/include/stdio.h:445: parse error before `__ptr'
/usr/include/stdio.h:450: parse error before `__ptr'
/usr/include/stdio.h:452: parse error before `__ptr'
/usr/include/stdio.h:495: parse error before `__stream'
In file included from /usr/include/stdio.h:631,
                 from ../../hash/hash.c:46:
/usr/include/bits/stdio.h:33: parse error before `__fmt'
/usr/include/bits/stdio.h:34: syntax error before `{'
/usr/include/bits/stdio.h:40: parse error before `__THROW'
/usr/include/bits/stdio.h:41: syntax error before `{'
/usr/include/bits/stdio.h:49: parse error before `__THROW'
/usr/include/bits/stdio.h:50: syntax error before `{'
/usr/include/bits/stdio.h:56: parse error before `__THROW'
/usr/include/bits/stdio.h:57: syntax error before `{'
/usr/include/bits/stdio.h:65: parse error before `__THROW'
/usr/include/bits/stdio.h:66: syntax error before `{'
/usr/include/bits/stdio.h:74: parse error before `__THROW'
/usr/include/bits/stdio.h:75: syntax error before `{'
/usr/include/bits/stdio.h:84: parse error before `__THROW'
/usr/include/bits/stdio.h:85: syntax error before `{'
/usr/include/bits/stdio.h:91: parse error before `__THROW'
/usr/include/bits/stdio.h:92: syntax error before `{'
/usr/include/bits/stdio.h:111: parse error before `__THROW'
/usr/include/bits/stdio.h:112: syntax error before `{'
/usr/include/bits/stdio.h:118: parse error before `__THROW'
/usr/include/bits/stdio.h:119: syntax error before `{'
In file included from ../../hash/hash.c:47:
/usr/include/stdlib.h:96: parse error before `__nptr'
/usr/include/stdlib.h:109: parse error before `__nptr'
/usr/include/stdlib.h:112: parse error before `__nptr'
/usr/include/stdlib.h:119: parse error before `__nptr'
/usr/include/stdlib.h:123: parse error before `__nptr'
/usr/include/stdlib.h:133: parse error before `__nptr'
/usr/include/stdlib.h:137: parse error before `__nptr'
/usr/include/stdlib.h:196: parse error before `__nptr'
/usr/include/stdlib.h:199: parse error before `__nptr'
/usr/include/stdlib.h:201: parse error before `__strtold_internal'
/usr/include/stdlib.h:202: parse error before `__nptr'
/usr/include/stdlib.h:204: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:206: parse error before `__nptr'
/usr/include/stdlib.h:213: parse error before `__nptr'
/usr/include/stdlib.h:221: parse error before `__nptr'
/usr/include/stdlib.h:229: parse error before `__nptr'
/usr/include/stdlib.h:243: parse error before `__nptr'
/usr/include/stdlib.h:244: syntax error before `{'
/usr/include/stdlib.h:248: parse error before `__nptr'
/usr/include/stdlib.h:250: syntax error before `{'
/usr/include/stdlib.h:254: parse error before `__nptr'
/usr/include/stdlib.h:256: syntax error before `{'
/usr/include/stdlib.h:275: parse error before `__nptr'
/usr/include/stdlib.h:277: syntax error before `{'
/usr/include/stdlib.h:281: parse error before `__nptr'
/usr/include/stdlib.h:283: syntax error before `{'
/usr/include/stdlib.h:290: parse error before `__nptr'
/usr/include/stdlib.h:292: syntax error before `{'
/usr/include/stdlib.h:296: parse error before `__nptr'
/usr/include/stdlib.h:298: syntax error before `{'
/usr/include/stdlib.h:304: parse error before `__THROW'
/usr/include/stdlib.h:305: syntax error before `{'
/usr/include/stdlib.h:309: parse error before `__THROW'
/usr/include/stdlib.h:310: syntax error before `{'
/usr/include/stdlib.h:314: parse error before `__THROW'
/usr/include/stdlib.h:315: syntax error before `{'
/usr/include/stdlib.h:321: parse error before `__THROW'
/usr/include/stdlib.h:322: syntax error before `{'
/usr/include/stdlib.h:355: parse error before `initstate'
/usr/include/stdlib.h:355: parse error before `__ptr_t'
/usr/include/stdlib.h:356: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:360: parse error before `setstate'
/usr/include/stdlib.h:360: parse error before `__statebuf'
/usr/include/stdlib.h:360: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:379: parse error before `__buf'
/usr/include/stdlib.h:385: parse error before `__ptr_t'
/usr/include/stdlib.h:389: parse error before `__restrict'
/usr/include/stdlib.h:438: parse error before `__buffer'
/usr/include/stdlib.h:441: parse error before `__buffer'
/usr/include/stdlib.h:445: parse error before `__buffer'
/usr/include/stdlib.h:448: parse error before `__buffer'
/usr/include/stdlib.h:452: parse error before `__buffer'
/usr/include/stdlib.h:455: parse error before `__buffer'
/usr/include/stdlib.h:474: parse error before `malloc'
/usr/include/stdlib.h:474: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:476: parse error before `calloc'
/usr/include/stdlib.h:476: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:482: parse error before `realloc'
/usr/include/stdlib.h:482: parse error before `__ptr'
/usr/include/stdlib.h:482: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:484: parse error before `__ptr'
/usr/include/stdlib.h:488: parse error before `__ptr'
In file included from /usr/include/stdlib.h:492,
                 from ../../hash/hash.c:47:
/usr/include/alloca.h:33: parse error before `alloca'
/usr/include/alloca.h:33: warning: data definition has no type or
storage
class
In file included from ../../hash/hash.c:47:
/usr/include/stdlib.h:497: parse error before `valloc'
/usr/include/stdlib.h:497: warning: data definition has no type or
storage
class
/usr/include/stdlib.h:511: parse error before `__ptr_t'
/usr/include/stdlib.h:513: parse error before `__ptr_t'
/usr/include/stdlib.h:595: parse error before `__name'
/usr/include/stdlib.h:603: parse error before `__PMT'
/usr/include/stdlib.h:612: parse error before `bsearch'
/usr/include/stdlib.h:618: parse error before `__PMT'
/usr/include/stdlib.h:651: parse error before `__decpt'
/usr/include/stdlib.h:657: parse error before `__decpt'
/usr/include/stdlib.h:666: parse error before `__value'
/usr/include/stdlib.h:668: parse error before `__value'
/usr/include/stdlib.h:670: parse error before `__value'
/usr/include/stdlib.h:676: parse error before `__decpt'
/usr/include/stdlib.h:679: parse error before `__decpt'
/usr/include/stdlib.h:683: parse error before `__value'
/usr/include/stdlib.h:686: parse error before `__value'
/usr/include/stdlib.h:698: parse error before `__pwc'
/usr/include/stdlib.h:706: parse error before `__pwcs'
/usr/include/stdlib.h:709: parse error before `__s'
In file included from ../../hash/hash.c:48:
/usr/include/string.h:37: parse error before `memcpy'
/usr/include/string.h:37: parse error before `__restrict'
/usr/include/string.h:38: warning: data definition has no type or
storage
class
/usr/include/string.h:41: parse error before `memmove'
/usr/include/string.h:41: parse error before `__dest'
/usr/include/string.h:42: warning: data definition has no type or
storage
class
/usr/include/string.h:48: parse error before `memccpy'
/usr/include/string.h:48: parse error before `__dest'
/usr/include/string.h:49: warning: data definition has no type or
storage
class
/usr/include/string.h:54: parse error before `memset'
/usr/include/string.h:54: parse error before `__s'
/usr/include/string.h:54: warning: data definition has no type or
storage
class
/usr/include/string.h:57: parse error before `__s1'
/usr/include/string.h:61: parse error before `memchr'
/usr/include/string.h:61: parse error before `__s'
/usr/include/string.h:61: warning: data definition has no type or
storage
class
/usr/include/string.h:71: parse error before `__dest'
/usr/include/string.h:74: parse error before `__dest'
/usr/include/string.h:78: parse error before `__dest'
/usr/include/string.h:81: parse error before `__dest'
/usr/include/string.h:92: parse error before `__dest'
/usr/include/string.h:170: parse error before `__s'
/usr/include/string.h:175: parse error before `__s'
/usr/include/string.h:179: parse error before `__s'
/usr/include/string.h:221: parse error before `__s'
/usr/include/string.h:225: parse error before `__src'
/usr/include/string.h:228: parse error before `__s'
/usr/include/string.h:231: parse error before `__s1'
/usr/include/string.h:276: parse error before `__stringp'
In file included from /usr/include/string.h:340,
                 from ../../hash/hash.c:48:
/usr/include/bits/string2.h:257: parse error before `__rawmemchr'
/usr/include/bits/string2.h:257: parse error before `__s'
/usr/include/bits/string2.h:257: warning: data definition has no type or
storage class
In file included from ../../hash/hash.c:49:
/usr/include/unistd.h:300: parse error before `__ptr_t'
/usr/include/unistd.h:301: parse error before `__ptr_t'
/usr/include/unistd.h:304: parse error before `__buf'
/usr/include/unistd.h:305: parse error before `__buf'
In file included from ../../hash/hash.c:49:
/usr/include/unistd.h:860: parse error before `__addr'
In file included from ../../hash/hash.c:49:
/usr/include/unistd.h:869: parse error before `__sbrk'
/usr/include/unistd.h:869: warning: data definition has no type or
storage
class
/usr/include/unistd.h:870: parse error before `sbrk'
/usr/include/unistd.h:870: warning: data definition has no type or
storage
class
In file included from ../../hash/hash.c:55:
.../../hash/hash.h:101: field `__errno_location' declared as a function
.../../hash/hash.c: In function `__hash_open':
.../../hash/hash.c:187: warning: pointer/integer type mismatch in
conditional
expression
.../../hash/hash.c: In function `init_hash':
.../../hash/hash.c:323: warning: pointer/integer type mismatch in
conditional
expression
.../../hash/hash.c:324: warning: pointer/integer type mismatch in
conditional
expression
.../../hash/hash.c: In function `hash_get':
.../../hash/hash.c:623: parse error before `('
.../../hash/hash.c: In function `hash_put':
.../../hash/hash.c:640: parse error before `('
.../../hash/hash.c:644: parse error before `('
.../../hash/hash.c: In function `hash_delete':
.../../hash/hash.c:661: parse error before `('
.../../hash/hash.c:665: parse error before `('
.../../hash/hash.c: In function `cursor_get':
.../../hash/hash.c:840: parse error before `('
make: *** [hash.o] Error 1

I compared the PORT/linux dir to my PORT/Linux-2.2 dir and found no
significant differences that I could tell. I am also at a loss as to
wether
I need BerkeleyDB-1.68 (although its readme says 1.67) or DB_File? Has
anyone got any clues/hints/ideas/help for me? I really would like to
use
Cricket/RRDtool over MRTG as MRTG simply consumes way too much time on
configs and everything. Any help at all would be appriciated, thank
you.

Daniel E. Spisak
Senior Network Administrator
MM Internet
http://www.mminternet.com/

--------------------------- ONElist Sponsor ----------------------------

ONElist members are using Shared Files in great ways!
http://www.onelist.com
Are you? If not, see our homepage for details.

------------------------------------------------------------------------

--------------------------- ONElist Sponsor ----------------------------

Enter ONElist’s WEEKLY DRAWING for $100!
http://www.onelist.com
By joining the FRIENDS & FAMILY PROGRAM. See homepage for details.

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:57 PST