From: Veiko K. <ve...@pa...> - 2004-11-10 13:03:33
|
Hi! I'm using Suse 9.1 and trying to get perfparse working on it. Thought i have installed glib2 and glib2-devel packages, the perfparse configure doesn't recognize them. What should i do to get it working? ... checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. Using Mysql .... config.log includes the following: configure:19420: checking for pkg-config configure:19438: found /usr/bin/pkg-config configure:19451: result: /usr/bin/pkg-config configure:19474: checking for GLIB - version >= 2.0.0 configure:19623: result: no configure:19656: gcc -o conftest -g -O2 conftest.c >&5 conftest.c:30:18: glib.h: No such file or directory conftest.c: In function `main': conftest.c:36: error: `glib_major_version' undeclared (first use in this function) conftest.c:36: error: (Each undeclared identifier is reported only once conftest.c:36: error: for each function it appears in.) conftest.c:36: error: `glib_minor_version' undeclared (first use in this function) conftest.c:36: error: `glib_micro_version' undeclared (first use in this function) configure:19662: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "perfparse" | #define PACKAGE_TARNAME "perfparse" | #define PACKAGE_VERSION "0.103.1" | #define PACKAGE_STRING "perfparse 0.103.1" | #define PACKAGE_BUGREPORT "per...@cl..." | #define PACKAGE "perfparse" | #define VERSION "0.103.1" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define ENABLE_STORAGE_MODULE_STDOUT 1 | #define ENABLE_STORAGE_MODULE_MYSQL 1 | #define ENABLE_STORAGE_MODULE_FILEOUTPUT 1 | #define ENABLE_STORAGE_MODULE_SOCKETOUTPUT 1 | /* end confdefs.h. */ | | #include <glib.h> | #include <stdio.h> | | int | main () | { | return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | ; | return 0; | } configure:19769: checking for mysql_config configure:19788: found /usr/bin/mysql_config |