A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=431 ====================================================================== Reported By: bjohnson Assigned To: ====================================================================== Project: DBMail Issue ID: 431 Category: General Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 02-Nov-06 21:49 CET Last Modified: 05-Nov-06 00:02 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. 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 ======================================================================