|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9470 Location: MI, USA
|
Posted: Fri Oct 19, 2007 6:48 am Post subject: Cactid 0.8.6j - Release |
|
|
All,
I am posting here as we will be pushing out the 0.8.7 next week as well. I will insure that it is in the downloads location within the next week and possibly get the various RPM's constructed by other members of the team.
Keep in mind, that since I do all my development in Windows, you may have to change permissions on some things, even perform a dos2unix on some of the files. My apologies for such things... All ridicule happily accepted with regard to that subject.
Regards,
TheWitness
| Description: |
|
 Download |
| Filename: |
cactid-0.8.6j.tar.gz |
| Filesize: |
933.14 KB |
| Downloaded: |
177 Time(s) |
| Description: |
|
 Download |
| Filename: |
cactid-0.8.6j-win32-bin.zip |
| Filesize: |
494.56 KB |
| Downloaded: |
115 Time(s) |
|
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 238 Location: Landenberg, PA
|
Posted: Fri Oct 19, 2007 5:26 pm Post subject: |
|
|
Larry,
The configure gives a warning and make fails on FreeBSD 6.2:
[root@FreeBSD /usr/src]# tar vxf cactid-0.8.6j.tar.gz
x cactid-0.8.6j/
x cactid-0.8.6j/.deps/
x cactid-0.8.6j/.deps/cactid.Po
x cactid-0.8.6j/.deps/error.Po
x cactid-0.8.6j/.deps/keywords.Po
x cactid-0.8.6j/.deps/locks.Po
x cactid-0.8.6j/.deps/nft_popen.Po
x cactid-0.8.6j/.deps/php.Po
x cactid-0.8.6j/.deps/ping.Po
x cactid-0.8.6j/.deps/poller.Po
x cactid-0.8.6j/.deps/snmp.Po
x cactid-0.8.6j/.deps/sql.Po
x cactid-0.8.6j/.deps/util.Po
x cactid-0.8.6j/aclocal.m4
x cactid-0.8.6j/AUTHORS
x cactid-0.8.6j/autom4te.cache/
x cactid-0.8.6j/autom4te.cache/output.0
x cactid-0.8.6j/autom4te.cache/requests
x cactid-0.8.6j/autom4te.cache/traces.0
x cactid-0.8.6j/bootstrap
x cactid-0.8.6j/cactid.c
x cactid-0.8.6j/cactid.conf.dist
x cactid-0.8.6j/cactid.exe
x cactid-0.8.6j/cactid.h
x cactid-0.8.6j/cactid.o
x cactid-0.8.6j/ChangeLog
x cactid-0.8.6j/common.h
x cactid-0.8.6j/config/
x cactid-0.8.6j/config/config.guess
x cactid-0.8.6j/config/config.h
x cactid-0.8.6j/config/config.h.in
x cactid-0.8.6j/config/config.h.in~
x cactid-0.8.6j/config/config.sub
x cactid-0.8.6j/config/depcomp
x cactid-0.8.6j/config/install-sh
x cactid-0.8.6j/config/missing
x cactid-0.8.6j/config/mkinstalldirs
x cactid-0.8.6j/config/stamp-h
x cactid-0.8.6j/config/stamp-h.in
x cactid-0.8.6j/config/stamp-h1
x cactid-0.8.6j/config.log
x cactid-0.8.6j/config.status
x cactid-0.8.6j/configure
x cactid-0.8.6j/configure.ac
x cactid-0.8.6j/COPYING
x cactid-0.8.6j/error.c
x cactid-0.8.6j/error.h
x cactid-0.8.6j/error.o
x cactid-0.8.6j/INSTALL
x cactid-0.8.6j/keywords.c
x cactid-0.8.6j/keywords.h
x cactid-0.8.6j/keywords.o
x cactid-0.8.6j/LICENSE
x cactid-0.8.6j/LICENSE.LGPL
x cactid-0.8.6j/locks.c
x cactid-0.8.6j/locks.h
x cactid-0.8.6j/locks.o
x cactid-0.8.6j/Makefile
x cactid-0.8.6j/Makefile.am
x cactid-0.8.6j/Makefile.in
x cactid-0.8.6j/NEWS
x cactid-0.8.6j/nft_popen.c
x cactid-0.8.6j/nft_popen.h
x cactid-0.8.6j/nft_popen.o
x cactid-0.8.6j/php.c
x cactid-0.8.6j/php.h
x cactid-0.8.6j/php.o
x cactid-0.8.6j/ping.c
x cactid-0.8.6j/ping.h
x cactid-0.8.6j/ping.o
x cactid-0.8.6j/poller.c
x cactid-0.8.6j/poller.h
x cactid-0.8.6j/poller.o
x cactid-0.8.6j/README
x cactid-0.8.6j/README-WINDOWS
x cactid-0.8.6j/snmp.c
x cactid-0.8.6j/snmp.h
x cactid-0.8.6j/snmp.o
x cactid-0.8.6j/sql.c
x cactid-0.8.6j/sql.h
x cactid-0.8.6j/sql.o
x cactid-0.8.6j/util.c
x cactid-0.8.6j/util.h
x cactid-0.8.6j/util.o
[root@FreeBSD /usr/src]# cd cactid-0.8.6j
[root@FreeBSD /usr/src/cactid-0.8.6j]# dos2unix *
config: Is a directory
autom4te.cache: Is a directory
[root@FreeBSD /usr/src/cactid-0.8.6j]# cd .deps/
[root@FreeBSD /usr/src/cactid-0.8.6j/.deps]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/.deps]# cd ../config/
[root@FreeBSD /usr/src/cactid-0.8.6j/config]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/config]# cd ../autom4te.cache/
[root@FreeBSD /usr/src/cactid-0.8.6j/autom4te.cache]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/autom4te.cache]# cd ..
[root@FreeBSD /usr/src/cactid-0.8.6j]# autoheader
[root@FreeBSD /usr/src/cactid-0.8.6j]# autoconf
[root@FreeBSD /usr/src/cactid-0.8.6j]# aclocal
[root@FreeBSD /usr/src/cactid-0.8.6j]# automake
[root@FreeBSD /usr/src/cactid-0.8.6j]# LD_LIBRARY_PATH=/usr/local/lib:/opt/net-snmp/lib/:/opt/mysql/lib/mysql/
[root@FreeBSD /usr/src/cactid-0.8.6j]# export LD_LIBRARY_PATH
[root@FreeBSD /usr/src/cactid-0.8.6j]# ./configure --prefix=/opt/apache/htdocs/cacti --with-mysql=/opt/mysql --with-snmp=/opt/net-snmp
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether to enable -Wall... no
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for deflate in -lz... yes
checking for kstat_close in -lkstat... no
checking for CRYPTO_realloc in -lcrypto... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for signal.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for malloc... yes
checking for calloc... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking for mysql_init in -lmysqlclient_r... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... yes
checking whether we are using nifty popen... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating config/config.h
config.status: executing depfiles commands
[root@FreeBSD /usr/src/cactid-0.8.6j]# make
"Makefile", line 313: Need an operator
make: fatal errors encountered -- cannot continue
[root@FreeBSD /usr/src/cactid-0.8.6j]# ls -alF
total 740
drwx------ 5 21321 wheel 1536 Oct 19 18:11 ./
drwxr-xr-x 3 root wheel 512 Oct 19 18:08 ../
drwxr-xr-x 2 21321 10545 512 Oct 19 07:41 .deps/
-rwx------ 1 21321 wheel 0 Oct 19 18:09 AUTHORS*
-rwx------ 1 21321 wheel 17992 Oct 19 18:09 COPYING*
-rwx------ 1 21321 wheel 8782 Oct 19 18:09 ChangeLog*
-rwx------ 1 21321 wheel 784 Oct 19 18:09 INSTALL*
-rwx------ 1 21321 wheel 2239 Oct 19 18:09 LICENSE*
-rwx------ 1 21321 wheel 26440 Oct 19 18:09 LICENSE.LGPL*
-rw-r--r-- 1 root wheel 12635 Oct 19 18:11 Makefile
-rwx------ 1 21321 wheel 261 Oct 19 18:09 Makefile.am*
-rw-r--r-- 1 21321 10545 12161 Oct 19 18:10 Makefile.in
-rwx------ 1 21321 wheel 0 Oct 19 18:09 NEWS*
-rwx------ 1 21321 wheel 341 Oct 19 18:09 README*
-rwx------ 1 21321 wheel 1236 Oct 19 18:09 README-WINDOWS*
-rwx------ 1 21321 wheel 42599 Oct 19 18:10 aclocal.m4*
drwxr-xr-x 2 21321 10545 512 Oct 19 18:09 autom4te.cache/
-rwx------ 1 21321 wheel 89 Oct 19 18:09 bootstrap*
-rwx------ 1 21321 wheel 21207 Oct 19 18:09 cactid.c*
-rwx------ 1 21321 wheel 2460 Oct 19 18:09 cactid.conf.dist*
-rwxr-xr-x 1 21321 10545 3 Oct 19 18:09 cactid.exe*
-rwx------ 1 21321 wheel 14286 Oct 19 18:09 cactid.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 cactid.o
-rwx------ 1 21321 wheel 3863 Oct 19 18:09 common.h*
drwx------ 2 21321 wheel 512 Oct 19 18:11 config/
-rw-r--r-- 1 21321 10545 32009 Oct 19 18:11 config.log
-rwxr-xr-x 1 21321 10545 31347 Oct 19 18:11 config.status*
-rwxr-xr-x 1 21321 10545 221236 Oct 19 18:10 configure*
-rwx------ 1 21321 wheel 8276 Oct 19 18:09 configure.ac*
-rwx------ 1 21321 wheel 5055 Oct 19 18:09 error.c*
-rwx------ 1 21321 wheel 2460 Oct 19 18:09 error.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 error.o
-rwx------ 1 21321 wheel 6875 Oct 19 18:09 keywords.c*
-rwx------ 1 21321 wheel 2675 Oct 19 18:09 keywords.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 keywords.o
-rwx------ 1 21321 wheel 7370 Oct 19 18:09 locks.c*
-rwx------ 1 21321 wheel 2611 Oct 19 18:09 locks.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 locks.o
-rwx------ 1 21321 wheel 10640 Oct 19 18:09 nft_popen.c*
-rwx------ 1 21321 wheel 2485 Oct 19 18:09 nft_popen.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 nft_popen.o
-rwx------ 1 21321 wheel 16164 Oct 19 18:09 php.c*
-rwx------ 1 21321 wheel 2581 Oct 19 18:09 php.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 php.o
-rwx------ 1 21321 wheel 25042 Oct 19 18:09 ping.c*
-rwx------ 1 21321 wheel 2905 Oct 19 18:09 ping.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 ping.o
-rwx------ 1 21321 wheel 40762 Oct 19 18:09 poller.c*
-rwx------ 1 21321 wheel 2531 Oct 19 18:09 poller.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 poller.o
-rwx------ 1 21321 wheel 17406 Oct 19 18:09 snmp.c*
-rwx------ 1 21321 wheel 2872 Oct 19 18:09 snmp.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 snmp.o
-rwx------ 1 21321 wheel 8335 Oct 19 18:09 sql.c*
-rwx------ 1 21321 wheel 2641 Oct 19 18:09 sql.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 sql.o
-rwx------ 1 21321 wheel 26804 Oct 19 18:09 util.c*
-rwx------ 1 21321 wheel 3549 Oct 19 18:09 util.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 util.o
I zipped up the failed make (all files) and attached them to this post.
Any thoughts?
| Description: |
| The configure gives a warning and make fails on FreeBSD 6.2 |
|
 Download |
| Filename: |
Make-Fails.zip |
| Filesize: |
483.83 KB |
| Downloaded: |
90 Time(s) |
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9470 Location: MI, USA
|
Posted: Fri Oct 19, 2007 7:34 pm Post subject: |
|
|
New build instructions:
aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
|
|
| Back to top |
|
 |
dagonet Cacti User
Joined: 29 Oct 2005 Posts: 74 Location: Wuerzburg
|
Posted: Sat Oct 20, 2007 4:37 am Post subject: |
|
|
Hi,
N3NCY try gmake instead of BSD make:)
Works for me. I have just compiled cactid 0.8.6j.
Regards
dagonet
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Sat Oct 20, 2007 4:57 am Post subject: |
|
|
Worked fine for me out of the box with FreeBSD 6.2. ./configure && gmake
Even seems to have shaved a couple of seconds off my poll time.
Thanks!
|
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 238 Location: Landenberg, PA
|
Posted: Sun Oct 21, 2007 5:32 pm Post subject: |
|
|
This still fails:
aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
make
This works!
./configure
gmake
I did dos2unix in both cases.
I guess going forward I will use gmake!
I wonder why make no longer does the trick?
Oh well, gmake it is!
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Mon Oct 22, 2007 2:32 am Post subject: |
|
|
Hi Larry
I've upgraded from beta 2 to final release on my server #2, and it seems cactid.conf is not found in /path/to/cactid/etc
This was working with beta 2.
|
|
| Back to top |
|
 |
dagonet Cacti User
Joined: 29 Oct 2005 Posts: 74 Location: Wuerzburg
|
Posted: Mon Oct 22, 2007 9:15 am Post subject: |
|
|
| N3NCY wrote: | This still fails:
aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
make
This works!
./configure
gmake
I did dos2unix in both cases.
I guess going forward I will use gmake!
I wonder why make no longer does the trick?
Oh well, gmake it is! |
I reckon that the generate Makefile is somehow in gmake format. BSD make and gnu make are not the same.
Regards
Dagonet
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9470 Location: MI, USA
|
Posted: Mon Oct 22, 2007 9:23 am Post subject: |
|
|
| fmangeant wrote: | Hi Larry
I've upgraded from beta 2 to final release on my server #2, and it seems cactid.conf is not found in /path/to/cactid/etc
This was working with beta 2. |
I have to release a Cactid0.8.6j-1 anyway to correct an ICMP ping issue. Let me see if I messed up something else.
TheWitness
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Mon Oct 22, 2007 12:29 pm Post subject: |
|
|
like recents builds, this version don't work with external perl scripts (known problem)
the perl processus is not even launched
cmd.php work
i'm dissapointed
i need perl external script (it works with batch and php scripts)
is spine based on the same code as cactid ?
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Mon Oct 22, 2007 12:35 pm Post subject: |
|
|
| gilles wrote: | like recents builds, this version don't work with external perl scripts (known problem)
the perl processus is not even launched
cmd.php work
i'm dissapointed
i need perl external script (it works with batch and php scripts)
is spine based on the same code as cactid ? |
My perl scripts are still working... (FreeBSD)
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Mon Oct 22, 2007 1:08 pm Post subject: |
|
|
i'm using windows
cactid 0.8.6 g work good but it as 1 year now
since version h, i have problems
it is since this version sh.exe have been introduced
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9470 Location: MI, USA
|
Posted: Mon Oct 22, 2007 1:46 pm Post subject: |
|
|
Gilles,
With 0.8.6j, I provide a build option like this:
./configure --with-nifty
If you specify this, it will revert to the 0.8.6h behavior (not requiring sh.exe). Pretty sure it's "--with-nifty". You can run the following to confirm:
./configure --help
Spine has the same option...
TheWitness
|
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 238 Location: Landenberg, PA
|
Posted: Mon Oct 22, 2007 1:48 pm Post subject: |
|
|
From inside Cacti's web interface where it calls scripts, you need to put in the full path to Perl.
Not:
perl myscript.pl
Use:
/path/to/your/perl /path/to/myscript.pl
Also, for good measure, I always look inside any pl and php files and make sure the #! line has the corect path to perl or php as desired.
FYI:
Using full paths in /etc/crontab usually fixes other weird issues as well.
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Tue Oct 23, 2007 3:36 am Post subject: |
|
|
when i read the forum, compiling is so complicate...
understand i don't have time for this (and no clearly instructions for me)
why compiling my own binary will work ?
there are binaries compiling from users (mcutting) which don't work too
i have tried to work with the #! line and the Cacti's web interface
i'm on windows
i have tried / and \, simple and double
i have tried to use only the path to the script and not using perl.exe in the command line (like php scripts for example)
g version always work so it's not the problem
i don't know why g version work and the others not
|
|
| Back to top |
|
 |
|