The following issue has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=431
======================================================================
Reported By: bjohnson
Assigned To: aaron
======================================================================
Project: DBMail
Issue ID: 431
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
target:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-Nov-06 21:49 CET
Last Modified: 26-Nov-06 11:22 CET
======================================================================
Summary: g_mkdir_with_parents requires glib-2.8 or greater
Description:
g_mkdir_with_parents requires glib-2.8 or greater. Building on a system
with glib-2.6 ends with:
export.c: In function `mailbox_dump':
export.c:76: warning: implicit declaration of function
`g_mkdir_with_parents'
/bin/sh ./libtool --mode=link --tag=CC gcc -O2 -g -march=i386 -mcpu=i686
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes
-export-dynamic -lcrypt -lglib-2.0 -lgmime-2.0 -lz -lnsl -lgobject-2.0
-lglib-2.0 -o dbmail-export export.o libdbmail.la
gcc -O2 -g -march=i386 -mcpu=i686 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes -o .libs/dbmail-export export.o
-Wl,--export-dynamic ./.libs/libdbmail.so -lgmime-2.0 -lz -lnsl
-lgobject-2.0 -lglib-2.0 -lcrypt -Wl,--rpath
-Wl,/home/bjohnson/rpms/tmp/dbmail-2.2-root/usr/lib/dbmail
export.o(.text+0xed): In function `mailbox_dump':
/home/bjohnson/rpms/build/dbmail-2.2/export.c:76: undefined reference to
`g_mkdir_with_parents'
collect2: ld returned 1 exit status
make[2]: *** [dbmail-export] Error 1
make[2]: Leaving directory `/home/bjohnson/rpms/build/dbmail-2.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bjohnson/rpms/build/dbmail-2.2'
make: *** [all] Error 2
error: Bad exit status from /home/bjohnson/rpms/tmp/rpm-tmp.61368
(%build)
Bad exit status from /home/bjohnson/rpms/tmp/rpm-tmp.61368 (%build)
Requirements page on the wiki states only 2.6 is required:
http://www.dbmail.org/dokuwiki/doku.php?id=requirements
Reference to workaround:
http://mail.gnome.org/archives/gnome-db-list/2006-January/msg00019.html
If this is not a viable workaround, the requirements need to be updated.
======================================================================
----------------------------------------------------------------------
aaron - 05-Nov-06 00:02
----------------------------------------------------------------------
Paul had posted to the list considering implementing our own
g_mkdir_with_parents, but I'd prefer to just update the req's.
----------------------------------------------------------------------
aaron - 09-Nov-06 19:54
----------------------------------------------------------------------
Checking around, requiring glib 2.8 would be a problem for Fedora 4, Centos
4.4, and Debian stable.
----------------------------------------------------------------------
bjohnson - 13-Nov-06 22:06
----------------------------------------------------------------------
CentOS 4.4 current glib is 2.4.7 so it's already a problem as even without
this fixed, the current minimum requirement is glib 2.6.
----------------------------------------------------------------------
aaron - 26-Nov-06 11:22
----------------------------------------------------------------------
Reqs have been bumped to Glib 2.8, so this is moot.
Issue History
Date Modified Username Field Change
======================================================================
02-Nov-06 21:49 bjohnson New Issue
03-Nov-06 01:38 jasb Issue Monitored: jasb
05-Nov-06 00:02 aaron Note Added: 0001531
09-Nov-06 19:54 aaron Note Added: 0001577
13-Nov-06 22:06 bjohnson Note Added: 0001600
26-Nov-06 11:22 aaron Status new => resolved
26-Nov-06 11:22 aaron Resolution open => fixed
26-Nov-06 11:22 aaron Assigned To => aaron
26-Nov-06 11:22 aaron Note Added: 0001620
======================================================================