Amanda-Users

Re: GLIB too old - Linux ?

2009-05-20 19:48:44
Subject: Re: GLIB too old - Linux ?
From: Deb Baddorf <baddorf AT fnal DOT gov>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>, Deb Baddorf <baddorf AT fnal DOT gov>
Date: Wed, 20 May 2009 18:38:21 -0500
At 7:03 PM -0400 5/20/09, Dustin J. Mitchell wrote:
On Wed, May 20, 2009 at 6:55 PM, Deb Baddorf <baddorf AT fnal DOT gov> wrote:
 # yum info glib2
 Loading "kernel-module" plugin
 Installed Packages
 Name   : glib2
 Arch   : i386
 Version: 2.12.3
 Release: 4.el5_3.1

This should be fine.  If you look at the end of config.log, there are
three sections of variable dumps at the end; *before* those, you will
see the log data.  Please examine, and if necessary copy and paste the
last bit of log data into an email.

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com



Holler if I've removed too much data:

| /* end confdefs.h.  */
|
|
| int
| main ()
| {
| return main ();
|   ;
|   return 0;
| }
configure:56189: result: no
configure:56208: checking for pkg-config
configure:56227: found /usr/bin/pkg-config
configure:56239: result: /usr/bin/pkg-config
configure:56395: checking pkg-config is at least version 0.7
configure:56398: result: yes
configure:56416: checking for GLIB - version >= 2.2.0
configure:56579: result: no
configure:56617: gcc -o conftest -g -O2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lnsl -lresolv >&5
conftest.c:253:18: error: glib.h: No such file or directory
conftest.c: In function 'main':
conftest.c:259: error: 'glib_major_version' undeclared (first use in this function)
conftest.c:259: error: (Each undeclared identifier is reported only once
conftest.c:259: error: for each function it appears in.)
conftest.c:259: error: 'glib_minor_version' undeclared (first use in this function) conftest.c:259: error: 'glib_micro_version' undeclared (first use in this function)
configure:56624: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "amanda"
| #define VERSION "2.6.1p1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_UNISTD_H 1
| #define restrict __restrict
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_IPV4 1
| #define HAVE_IPV6 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_DECL_GETENV 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LSTAT 1
| #define USE_POSIX_THREADS 1
| #define USE_POSIX_THREADS_WEAK 1
| #define HAVE_PTHREAD_RWLOCK 1
| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_DECL_SNPRINTF 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_DECL_STRDUP 1
| #define _FILE_OFFSET_BITS 64
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define HAVE_ALLOCA 1
| #define HAVE_SYS_MOUNT_H 1
| #define STAT_STATFS2_BSIZE 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_DECL_GETADDRINFO 1
| #define HAVE_DECL_FREEADDRINFO 1
| #define HAVE_DECL_GAI_STRERROR 1
| #define HAVE_DECL_GETNAMEINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_INET_NTOP 1
| #define HAVE_DECL_INET_NTOP 1
| #define HAVE_MALLOC_POSIX 1
| #define HAVE_MKDTEMP 1
| #define HAVE_SYS_SYSINFO_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYSCTL 1
| #define HAVE_STDINT_H 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRDUP 1
| #define HAVE_DECL_MKDIR 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WCSLEN 1
| #define HAVE_DECL__SNPRINTF 0
| #define HAVE_VISIBILITY 1
| #define HAVE_STDINT_H 1
| #define CLIENT_LOGIN "operator"
| #define CONFIG_DIR "/usr/local/etc/amanda"
| #define GNUTAR_LISTED_INCREMENTAL_DIR "/usr/local/var/amanda/gnutar-lists"
| #define AMANDA_TMPDIR "/tmp/amanda"
| #define CHECK_USERID 1
| #define BINARY_OWNER "operator"
| #define USE_REUSEADDR 1
| #define AMANDA_DBGDIR "/tmp/amanda"
| #define AMANDA_DEBUG_DAYS 4
| #define SERVICE_SUFFIX ""
| #define AMANDA_SERVICE_NAME "amanda"
| #define KAMANDA_SERVICE_NAME "kamanda"
| #define WANT_SETUID_CLIENT 1
| #define DEFAULT_SERVER "bdback"
| #define DEFAULT_CONFIG "daily"
| #define DEFAULT_TAPE_SERVER "bdback"
| #define DEFAULT_TAPE_DEVICE "/dev/nsa0"
| #define DEFAULT_CHANGER_DEVICE "/dev/null"
| #define DEFAULT_AMANDATES_FILE "/usr/local/var/amanda/amandates"
| #define HAVE_LINUX_CHIO_H 1
| #define HAVE_SCSI_SG_H 1
| #define HAVE_SCSI_SCSI_IOCTL_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_FSTAB_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_ENDMNTENT 1
| #define HAVE_SETMNTENT 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_UNISTD_H 1
| #define WANT_AMFLOCK_POSIX 1
| #define WANT_AMFLOCK_FLOCK 1
| #define WANT_AMFLOCK_LOCKF 1
| #define WANT_AMFLOCK_LNLOCK 1
| #define HAVE_GZIP 1
| #define COMPRESS_PATH "/bin/gzip"
| #define COMPRESS_SUFFIX ".gz"
| #define COMPRESS_FAST_OPT "--fast"
| #define COMPRESS_BEST_OPT "--best"
| #define UNCOMPRESS_PATH "/bin/gzip"
| #define UNCOMPRESS_OPT "-dc"
| #define HAVE_SOCKADDR_STORAGE 1
| #define WORKING_IPV6 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SHMGET 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_SHM_H 1
| #define SHM_ARG_TYPE void
| #define HAVE_SYSVSHM 1
| #define HAVE_SHMAT 1
| #define HAVE_SHMAT_DECL 1
| #define HAVE_SHMCTL 1
| #define HAVE_SHMCTL_DECL 1
| #define HAVE_SHMDT 1
| #define HAVE_SHMDT_DECL 1
| #define HAVE_SHMGET 1
| #define HAVE_SHMGET_DECL 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DECL_READDIR 1
| #define HAVE_DECL_READDIR_R 1
| #define HAVE_DECL_READDIR64 1
| #define HAVE_DECL_READDIR64_R 1
| #define DEV_PREFIX "/dev/"
| #define RDEV_PREFIX "/dev/"
| #define bindir "/usr/local/bin"
| #define sbindir "/usr/local/sbin"
| #define libexecdir "/usr/local/libexec"
| #define mandir "/usr/local/share/man"
| #define amlibdir "/usr/local/lib/amanda"
| #define amlibexecdir "/usr/local/libexec/amanda"
| #define amincludedir "/usr/local/include/amanda"
| #define amperldir "/usr/lib/perl5/site_perl/5.8.8"
| #define APPLICATION_DIR "/usr/local/libexec/amanda/application"
| #define amdatadir "/usr/local/share/amanda"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_LINUX_ZFTAPE_H 1
| #define HAVE_SYS_MTIO_H 1
| #define WANT_TAPE_DEVICE 1
| #define HAVE_MT_FILENO 1
| #define HAVE_MT_BLKNO 1
| #define HAVE_MT_DSREG 1
| #define HAVE_MT_ERREG 1
| #define BSD_SECURITY 1
| #define USE_AMANDAHOSTS 1
| #define BSDTCP_SECURITY 1
| #define SSH_SECURITY 1
| #define SSH "/usr/bin/ssh"
| #define SSH_OPTIONS "-x", "-o", "BatchMode=yes", "-o", "PreferredAuthentications=publickey"
| #define GREP "/bin/grep"
| #define DUMP "/sbin/dump"
| #define RESTORE "/sbin/restore"
| #define HAVE_DUMP_ESTIMATE "S"
| #define GNUTAR "/bin/tar"
| #define GREP "/bin/grep"
| #define SORT_PATH "/bin/sort"
| #define DEFAULT_MAILER "/usr/bin/Mail"
| #define MT_FILE_FLAG "-f"
| #define LPRCMD "/usr/bin/lpr"
| #define LPRFLAG "-P"
| #define HAVE_DLFCN_H 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AMANDA_H 1
| #define HAVE_UTIL_H 1
| #define USE_GETTEXT 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_INTMAX_T 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_SSIZE_T 4
| #define SIZEOF_TIME_T 4
| #define RETSIGTYPE void
| #define socklen_t_equiv socklen_t
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_WAIT_H 1
| #define WAIT_USES_UNION 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_WAIT_H 1
| #define WAIT_USES_INT 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBNSL 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:56662: error: glib not found or too old; See http://wiki.zmanda.com/index.php/Installation for help

## ---------------- ##
## Cache variables. ##
## ---------------- ##


<  stopped copying here>

<Prev in Thread] Current Thread [Next in Thread>