LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2012, 07:54 AM   #1
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Rep: Reputation: Disabled
Installation of RRD Tool,


can anyone tel me how to install rrdtool ? i tried to install but getting library conflict error. Unable to find any solution for this.


./configure --prefix=/usr/local/bin --disable-tcl --disable-python
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no

Audit Compilation Environment
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if gcc likes the -Werror flag... yes
checking if gcc likes the -fno-strict-aliasing flag... yes
checking if gcc likes the -Wall flag... yes
checking if gcc likes the -std=gnu99 flag... yes
checking if gcc likes the -pedantic flag... yes
checking if gcc likes the -Wundef flag... yes
checking if gcc likes the -Wshadow flag... yes
checking if gcc likes the -Wpointer-arith flag... yes
checking if gcc likes the -Wcast-align flag... yes
checking if gcc likes the -Wmissing-prototypes flag... yes
checking if gcc likes the -Wmissing-declarations flag... yes
checking if gcc likes the -Wnested-externs flag... yes
checking if gcc likes the -Winline flag... yes
checking if gcc likes the -Wold-style-definition flag... yes
checking if gcc likes the -W flag... yes

Checking for Header Files
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for an ANSI C-conforming const... 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

Test Library Functions
checking for acos... no
checking for acos in -lm... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether byte ordering is bigendian... no
checking for nl_langinfo... yes
checking for tzset... yes
checking for round... yes
checking for rint... yes
checking for fsync... yes
checking for mbstowcs... yes
checking for opendir... yes
checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getuid... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for fpclass... no
checking for class... no
checking for fp_class... no
checking for isnan... yes
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes

Map/Fadvis/Madvise checking
checking for fdatasync... yes
checking for fsync... (cached) yes
checking for socket... yes
checking for getaddrinfo... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mmap... yes
checking for munmap... yes
checking for msync... yes
checking whether madvise is declared... yes
checking for madvise... yes
checking whether posix_fadvise is declared... yes
checking for posix_fadvise... yes

Libintl Processing
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc

IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes
checking for isinf... yes
checking whether isfinite is broken... no
checking if IEEE math works out of the box... yes

Resolve Portability Issues
checking if msync with MS_ASYNC updates the files mtime... no
configure: WARNING: With mmap access, your platform fails to update the files
configure: WARNING: mtime. RRDtool will work around this problem by calling utime on each
configure: WARNING: file it opens for rw access.
checking for _NL_TIME_WEEK_1STDAY... no
checking for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h... yes
checking for opterr... yes
checking for getopt_long... yes
checking if realloc can deal with NULL... yes
checking if ctime_r need special care to act posixly correct... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking do we need malloc/malloc.h... nope, works out of the box
checking the type of time_t... time_t is 32 bit

Find 3rd-Party Libraries
checking for libdbi... no
checking for libwrap... yes
checking for cairo_font_options_create in -lcairo... yes
checking cairo.h usability... no
checking cairo.h presence... no
checking for cairo.h... no
checking for pkg-config... pkg-config
checking for cairo_font_options_create in -lcairo... yes
checking cairo.h usability... no
checking cairo.h presence... no
checking for cairo.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-png, you can get it either from its original home on

http://cairographics.org/releases/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of cairo-png is 1.4.6.

LIBS=-lm -lwrap -lcairo -lpng12
LDFLAGS= -L/usr/local/lib
CPPFLAGS= -INONE/include/cairo -I/usr/local/include/cairo -I/usr/local/include/libpng12 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/pixman-1

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

checking for cairo_svg_surface_create in -lcairo... yes
checking cairo-svg.h usability... no
checking cairo-svg.h presence... no
checking for cairo-svg.h... no
checking for pkg-config... (cached) pkg-config
checking for cairo_svg_surface_create in -lcairo... yes
checking cairo-svg.h usability... no
checking cairo-svg.h presence... no
checking for cairo-svg.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-svg. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-svg, you can get it either from its original home on

http://cairographics.org/releases/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of cairo-svg is 1.4.6.

LIBS=-lm -lwrap -lcairo
LDFLAGS= -L/usr/local/lib
CPPFLAGS= -INONE/include/cairo -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1

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

checking for cairo_pdf_surface_create in -lcairo... yes
checking cairo-pdf.h usability... no
checking cairo-pdf.h presence... no
checking for cairo-pdf.h... no
checking for pkg-config... (cached) pkg-config
checking for cairo_pdf_surface_create in -lcairo... yes
checking cairo-pdf.h usability... no
checking cairo-pdf.h presence... no
checking for cairo-pdf.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-pdf. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-pdf, you can get it either from its original home on

http://cairographics.org/releases/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of cairo-pdf is 1.4.6.

LIBS=-lm -lwrap -lz -lcairo
LDFLAGS= -L/usr/local/lib
CPPFLAGS= -INONE/include/cairo -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1

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

checking for cairo_ps_surface_create in -lcairo... yes
checking cairo-ps.h usability... no
checking cairo-ps.h presence... no
checking for cairo-ps.h... no
checking for pkg-config... (cached) pkg-config
checking for cairo_ps_surface_create in -lcairo... yes
checking cairo-ps.h usability... no
checking cairo-ps.h presence... no
checking for cairo-ps.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-ps. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcairo and its header files. If
you have not installed cairo-ps, you can get it either from its original home on

http://cairographics.org/releases/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of cairo-ps is 1.4.6.

LIBS=-lm -lwrap -lz -lcairo
LDFLAGS= -L/usr/local/lib
CPPFLAGS= -INONE/include/cairo -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1

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

checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for pkg-config... (cached) pkg-config
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of glib-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libglib-2.0 and its header files. If
you have not installed glib-2.0, you can get it either from its original home on

ftp://ftp.gtk.org/pub/glib/2.12/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of glib-2.0 is 2.12.12.

LIBS=-lm -lwrap -lglib-2.0
LDFLAGS= -L/usr/local/lib
CPPFLAGS= -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include

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

checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpangocairo-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on

http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of pangocairo is 1.17.

LIBS=-lm -lwrap -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
LDFLAGS= -L/usr/local/lib -pthread
CPPFLAGS= -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1

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

checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
[root@hostname rrdtool-1.4.5]#

Please help me
 
Old 04-26-2012, 07:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
easiest is to not install from source, and use an rpm / deb package that will already exist.

For compiling though, you don't have any "conflict" errors... you have missing development libraries, and the warning text *VERY* clearly explains where you can get the source for those packages too... did you read it before pasting? You'd need the <whatever>-devel packages installed in reality, rather than also building them from source, they will be in your package repos most likely, as will rrdtool itself.

Last edited by acid_kewpie; 04-26-2012 at 07:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rrd redzi Linux - Software 1 09-05-2008 09:29 AM
help on using rrd nawuza Linux - Newbie 1 08-28-2008 11:15 PM
ntop-rrd rajkumar_sanapal Linux - Networking 1 04-24-2006 03:35 PM
ntop-rrd rajkumar_sanapal Linux - Networking 1 04-24-2006 03:34 PM
rrd mrtg & mrtg-rrd.cgi ducati620 Linux - Newbie 0 06-03-2004 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration