I'm new to cacti but I've been using MRTG for years. I've been following the instructions from the documentation section and I'm stuck compiling rrdtool.
I'm using rrdtool 1.2.3 on Windows 2000 server sp4. I've extracted all the files into c:\rrdtool. The instructions say to open the rrdtool.dsw file using Visual C++ 6.0 and compile it.
When I do I get the following error:
Compiling...
rrd_tool.c
c:\rrdtool\src\rrd_tool.h(15) : fatal error C1083: Cannot open include file: '../confignt/config.h': No such file or directory
Error executing cl.exe
Maybe this questions belongs on an rrdtool board but can anyone here help with this? I'm not sure how to read the error. Is this a visual studio file that's missing or an rrdtool component that's missing or an environment variable that I missed? Thanks.
rrdtool compile problems
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
RRDTool 1.2.x is currently not supported in VCC. But it is supported in Cygwin. See the following link:
http://www.cacti.net/downloads
TheWitness
http://www.cacti.net/downloads
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
Tobi posted yesterday a Win32 build of RRDtool 1.2.6 : http://people.ee.ethz.ch/~oetiker/webto ... perl58.zip
Tobi posted yesterday a Win32 build of RRDtool 1.2.6 : http://people.ee.ethz.ch/~oetiker/webto ... perl58.zip
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
He sure didn't do a very good job of testing it... Still having lots of problems for me win MSVS 7.1. After getting all the source files copied over and compiled (I had to copy config.h into the libart_lgpl-2.3.17 dir), MSVS still is dying on:
rrd_xport.c
c:\Documents and Settings\BSOD2600\Desktop\rrdtool-1.2.6-win32-perl58\rrdtool\src\rrd_gfx.h(14) : fatal error C1083: Cannot open include file: 'libart_lgpl/libart.h': No such file or directory
which comes from the line: #include <libart_lgpl/art_misc.h>
^^^ Was fixed by including the path to rrdtool-1.2.6-win32-perl58 to my MSVS global include directories.
Had to modify rrdtool and rrdcgi project -> linker ->input -> additional dependencies. Renamed ..\freetype-2.1.9\objs\freetype219.lib (remove the ST at the end)
Now the errors I'm getting is:
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _longjmp already defined in LIBC.lib(longjmp.obj)
If I tell the linker to ignore msvcrt.dll, then I get other linking errors. If I tell the linker to ignore libc.lib, I also get other linking errors! *sigh* This program really wasn't ment to be compiled in Windows.
rrd_xport.c
c:\Documents and Settings\BSOD2600\Desktop\rrdtool-1.2.6-win32-perl58\rrdtool\src\rrd_gfx.h(14) : fatal error C1083: Cannot open include file: 'libart_lgpl/libart.h': No such file or directory
which comes from the line: #include <libart_lgpl/art_misc.h>
^^^ Was fixed by including the path to rrdtool-1.2.6-win32-perl58 to my MSVS global include directories.
Had to modify rrdtool and rrdcgi project -> linker ->input -> additional dependencies. Renamed ..\freetype-2.1.9\objs\freetype219.lib (remove the ST at the end)
Now the errors I'm getting is:
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _longjmp already defined in LIBC.lib(longjmp.obj)
If I tell the linker to ignore msvcrt.dll, then I get other linking errors. If I tell the linker to ignore libc.lib, I also get other linking errors! *sigh* This program really wasn't ment to be compiled in Windows.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest