• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.mscH A D27-May-20195.5 KiB143115

READMEH A D04-Feb-20191.5 KiB3624

README-MinGW-w64H A D04-Feb-20194.2 KiB7351

asprintf.cH A D04-Feb-2019983 2810

asprintf.hH A D04-Feb-20191.1 KiB3816

build-rrdtool.dotH A D04-Feb-2019734 3730

dirent.hH A D04-Feb-201926.7 KiB1,160662

librrd-4.defH A D04-Feb-20191.2 KiB9493

librrd-4.rcH A D27-May-20191.1 KiB3635

librrd-4.vcxprojH A D27-May-201916.8 KiB295295

rrd.slnH A D04-Feb-20193.1 KiB5250

rrd_config.hH A D08-Feb-20194.8 KiB17276

rrdcgi.rcH A D27-May-20191.1 KiB3635

rrdtool.rcH A D27-May-20191.1 KiB3635

rrdtool.slnH A D04-Feb-2019937 2321

rrdtool.vcxprojH A D04-Feb-201912 KiB207207

rrdupdate.rcH A D27-May-20191.1 KiB3635

rrdupdate.slnH A D04-Feb-2019941 2321

rrdupdate.vcxprojH A D04-Feb-201911.8 KiB212212

uac.manifestH A D04-Feb-2019380 1110

vasprintf-msvc.cH A D04-Feb-20191.3 KiB4223

win32-glob.cH A D04-Feb-20193.7 KiB170135

win32-glob.hH A D04-Feb-20191.2 KiB5025

README

1Win32 Build Instructions:
2
31) See build-rrdtool.dot (build-rrdtool.svg or build-rrdtool.pdf) for build
4   dependency.
5
62) If you do not want to build the build-dependencies, you can download prebuilt
7   versions from the following address:
8
9   32bit dependencies should then be extracted into the contrib directory:
10   http://ftp.gnome.org/pub/gnome/binaries/win32/
11   http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
12
13   64bit dependencies should then be extracted into the contrib-x64 directory:
14   http://ftp.gnome.org/pub/gnome/binaries/win64/
15   http://ftp.gnome.org/pub/gnome/binaries/win64/dependencies/
16
17
183) If you don't already have stdint.h for your system you can download it
19   from the following address:
20   http://msinttypes.googlecode.com/svn/trunk/stdint.h
21
224) Adjust the include path, library path, and library names which in the
23   Makefile.msc, to correspond with your local path or names.
24
255) Run 'nmake -f win32\Makefile.msc' for 32 bit Windows target,
26   Run 'nmake -f win32\Makefile.msc USE_64BIT=1' for 64 bit Windows target.
27   Run 'nmake -f win32\Makefile.msc clean' to remove all generated files.
28
296) librrd-4.dll, librrd-4.lib, rrdtool.exe, rrdupdate.exe, rrdcgi.exe, and
30   these corresponding pdb files will be located in the win32 directory.
31
327) To install, copy these files which you required to their permanent location.
33
348) To build the binding module. Follow the instructions in the README file which
35   under the subdirectory of 'binding/'.
36

README-MinGW-w64

1MinGW-w64 Build Instructions:
2
3Here you will find instructions on how to build RRDtool using MinGW-w64.
4Examples are given for building Windows binaries under Fedora, MSYS2 and MXE.
5
6After a successful build, the RRDtool Windows binaries are found in the following folder:
7src/.libs/
8Compiled binaries: rrdtool.exe rrdupdate.exe rrdcgi.exe librrd-8.dll
9
101) Fedora
11 - i686 (32-bit)
12   Install the required dependencies:
13
14   sudo dnf install mingw32-cairo mingw32-expat mingw32-fontconfig mingw32-freetype mingw32-gettext mingw32-glib2 mingw32-libpng mingw32-libxml2 mingw32-pango mingw32-pkg-config mingw32-windows-default-manifest mingw32-zlib perl-Pod-Html
15
16   Run the following commands from the rrdtool-1.x directory:
17   ./bootstrap
18   ./configure --host=i686-w64-mingw32 --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached PKGCONFIG=i686-w64-mingw32-pkg-config
19   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
20
21- x86_64 (64-bit)
22   Install the required dependencies:
23
24   sudo dnf install mingw64-cairo mingw64-expat mingw64-fontconfig mingw64-freetype mingw64-gettext mingw64-glib2 mingw64-libpng mingw64-libxml2 mingw64-pango mingw64-pkg-config mingw64-windows-default-manifest mingw64-zlib perl-Pod-Html
25
26   Run the following commands from the rrdtool-1.x directory:
27   ./bootstrap
28   ./configure --host=x86_64-w64-mingw32 --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached PKGCONFIG=x86_64-w64-mingw32-pkg-config
29   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
30
31
322) MSYS2 (https://sourceforge.net/projects/msys2/)
33 - i686 (32-bit)
34   Install the required dependencies:
35
36   pacman -Sy --needed base-devel mingw-w64-i686-gcc mingw-w64-i686-cairo mingw-w64-i686-expat mingw-w64-i686-freetype mingw-w64-i686-gettext mingw-w64-i686-glib2 mingw-w64-i686-libpng mingw-w64-i686-libxml2 mingw-w64-i686-pango mingw-w64-i686-zlib mingw-w64-i686-pkg-config
37
38   Run the following commands from the rrdtool-1.x directory:
39   ./bootstrap
40   ./configure --host=i686-w64-mingw32 --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached --without-libintl-prefix --without-libiconv-prefix
41   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
42
43- x86_64 (64-bit)
44   Install the required dependencies:
45
46   pacman -Sy --needed base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-cairo mingw-w64-x86_64-expat mingw-w64-x86_64-freetype mingw-w64-x86_64-gettext mingw-w64-x86_64-glib2 mingw-w64-x86_64-libpng mingw-w64-x86_64-libxml2 mingw-w64-x86_64-pango mingw-w64-x86_64-zlib mingw-w64-x86_64-pkg-config
47
48   Run the following commands from the rrdtool-1.x directory:
49   ./bootstrap
50   ./configure --host=x86_64-w64-mingw32 --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached --without-libintl-prefix --without-libiconv-prefix
51   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
52
533) MXE (http://mxe.cc/ https://github.com/mxe/mxe)
54 - i686 (32-bit)
55   Build the required dependencies:
56
57   make MXE_TARGETS='i686-w64-mingw32.shared' cairo expat fontconfig freetype gettext glib libpng libxml2 pango pkgconf zlib -j4
58
59   Run the following commands from the rrdtool-1.x directory:
60   ./bootstrap
61   ./configure --host=i686-w64-mingw32.shared --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached PKGCONFIG=i686-w64-mingw32.shared-pkg-config
62   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
63
64- x86_64 (64-bit)
65   Build the required dependencies:
66
67   make MXE_TARGETS='x86_64-w64-mingw32.shared' cairo expat fontconfig freetype gettext glib libpng libxml2 pango pkgconf zlib -j4
68
69   Run the following commands from the rrdtool-1.x directory:
70   ./bootstrap
71   ./configure --host=x86_64-w64-mingw32.shared --disable-static --disable-mmap --disable-tcl --disable-perl --disable-ruby --disable-python --disable-lua --disable-rrdcached PKGCONFIG=x86_64-w64-mingw32.shared-pkg-config
72   make LDFLAGS='-no-undefined' CFLAGS='-D__USE_MINGW_ANSI_STDIO=1'
73