librsvg2-0 and autotools - error on build
manuel mm <[email protected]> Sun, 16 Oct 2011 12:23:53 +0000
| Newsgroups | gmane.comp.gnome.lib.librsvg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi I'm currently writing a software using librsvg2-0 but I haven't figured how to compile using GNU autotools.With a handwritten Makefile it's OK. My pkg-config is OK. Thanks in advanceThe following error is raised /usr/include/librsvg-2.0/librsvg/rsvg.h:29:25: erreur fatale: glib-object.h : Aucun fichier ou dossier de ce type configure.ac# -*- Autoconf -*-# Process this file with autoconf to produce a configure script. AC_PREREQ([2.67])AC_INIT([rdisco], [0.1.2], [www.discoride.com]) AM_INIT_AUTOMAKE([foreign -Wall -Werror]) AC_CONFIG_SRCDIR([src/rdisco.c])AC_CONFIG_HEADERS([config.h]) # Checks for programs.AC_PROG_CC # Checks for libraries. PKG_CHECK_MODULES(LIBRSVG, librsvg-2.0 >= 2.0, [], [AC_MSG_FAILURE([librsvg not found])] )# Checks for header files.AC_CHECK_HEADERS([stdlib.h])AC_CHECK_LIB([tre],[tre_regexec])# Checks for typedefs, structures, and compiler characteristics.AC_TYPE_SIZE_T# Checks for library functions.AC_FUNC_MALLOCAC_CHECK_FUNCS([memset strchr strdup strrchr strtol])AC_CONFIG_FILES([Makefile src/Makefile])AC_OUTPUTMakefile.am # this lists the binaries to produce, the (non-PHONY, binary) targets in# the previous manual Makefilebin_PROGRAMS=rdisco rdisco_CFFLAGS=@LIBRSVG_CFLAGS@ rdisco_LDFLAGS=@LIBRSVG_LIBS@ rdisco_SOURCES=\rdisco.c \rdisplay.c \rdisplay.h \... ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Librsvg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/librsvg-devel