A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=935 
====================================================================== 
Reported By:                csebe
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   935
Category:                   installation scripts
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             27-Oct-11 15:22 CEST
Last Modified:              05-Jan-12 10:02 CET
====================================================================== 
Summary:                    gmime last version not supported
Description: 
Hi guys,

This pertains to the installation process, hope it is reported in the
right category.

Dbmail only can be installed with gmime version 2.4. I tried initially
with 2.6, as it is the latest from gmime, but it's not working. I wonder if
this small thing is solved, maybe bugs like 0000930 and others would
disappear?

Also, gmime and zdb are not detected, despite the fact that default paths
were used at their installation. Due to this, ./configure should look like
this:
[root@server dbmail-3.0.0-rc3]# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
../configure --with-sieve --with-zdb=/usr/local/

Other than this, I'm looking forward to see how it'll perform in my
production environment starting Monday!

Thank you,

Lian
====================================================================== 

---------------------------------------------------------------------- 
 (0003310) paul (administrator) - 27-Oct-11 15:43
 http://dbmail.org/mantis/view.php?id=935#c3310 
---------------------------------------------------------------------- 
On CENTOS /usr/local/lib/pkgconfig is *not* a standard PKG_CONFIG path.
Only /usr/lib/pkgconfig is afaik. 

You should most likely configure libzdb and gmime with --prefix=/usr

GMime 2.6 will be supported when it becomes available in mainline distros,
and not before then. Looking at the changes it seems there won't be much
involved. Might even work as-is. 

---------------------------------------------------------------------- 
 (0003311) cmayo (reporter) - 29-Oct-11 13:06
 http://dbmail.org/mantis/view.php?id=935#c3311 
---------------------------------------------------------------------- 
Fedora has a one line patch for newer gmime:
http://pkgs.fedoraproject.org/gitweb/?p=dbmail.git;a=blob;f=dbmail-3.0.0-fix-deprecated-gmime.patch

that I need to get it working (plus acinclude.m4 update of course) 

---------------------------------------------------------------------- 
 (0003312) paul (administrator) - 29-Oct-11 15:59
 http://dbmail.org/mantis/view.php?id=935#c3312 
---------------------------------------------------------------------- 
I've applied that patch (and fixed one broken unit-test) in 

http://git.dbmail.eu/paul/dbmail/commit/?id=105cfefa0a1cc7366b66c6759e05e46ae5a6e53c


---------------------------------------------------------------------- 
 (0003320) csebe (reporter) - 31-Oct-11 08:47
 http://dbmail.org/mantis/view.php?id=935#c3320 
---------------------------------------------------------------------- 
Hi again,

Thank you for your replies.
I applied that patch to the source, uninstalled gmime 2.4 and installed
gmime 2.6 and tried to ./configure dbmail.
It is still throwing:
>>>>
checking GMime headers... Package gmime-2.4 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `gmime-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gmime-2.4' found
<<<<
So I'd say that it is looking specifically for 2.4 and it's bailing out if
any other version found.
In the initial bug report I said too vaguely "it is not working". My
mistake. I meant: it doesn't pass ./configure when gmime is 2.6 (see
listing above); it passes only if gmime2.4 is found installed.

I also apologize for my limited knowledge that might make me miss
something that could be obvious for you.

Cheers,
Lian 

---------------------------------------------------------------------- 
 (0003321) cmayo (reporter) - 31-Oct-11 20:48
 http://dbmail.org/mantis/view.php?id=935#c3321 
---------------------------------------------------------------------- 
Attached is the patch I have used for acinclude.m4. Steps needed:

- Apply this patch
- autoreconf
- configure

N.B. the patch is a quick hack to get it working for me as I have both
gmime-2.4 and gmime-2.6 installed. 

---------------------------------------------------------------------- 
 (0003322) csebe (reporter) - 01-Nov-11 10:30
 http://dbmail.org/mantis/view.php?id=935#c3322 
---------------------------------------------------------------------- 
Thank you guys,

it's working now.

Cheers,
Lian 

---------------------------------------------------------------------- 
 (0003385) cavil83 (reporter) - 04-Jan-12 10:36
 http://dbmail.org/mantis/view.php?id=935#c3385 
---------------------------------------------------------------------- 
Hi 

Is this possible to build DBmail from git on Fedora 15 with gmime-2.6
installed from rawhide? With native gmime-2.5.1 We can't configure, even
with this patch. 
After installed gmime from rawhide We applied patch mentioned above but
compilation stooped at:

/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libgmime-2.6.so:
undefined reference to `g_mutex_lock'
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libgmime-2.6.so:
undefined reference to `g_mutex_unlock'
collect2: ld returned 1 exit status
make[3]: *** [dbmail-deliver] Błąd 1
make[3]: Opuszczenie katalogu
`/root/paczki/src/dbmail-1ec9c8de841202b2b1325708c488139366cb629c/src'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu
`/root/paczki/src/dbmail-1ec9c8de841202b2b1325708c488139366cb629c/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu
`/root/paczki/src/dbmail-1ec9c8de841202b2b1325708c488139366cb629c'
make: *** [all] Błąd 2

I also would apologize for my probably ignorance bu We're suffering from 2
bugs: 930 and 805. So We need quick fix for this. 

---------------------------------------------------------------------- 
 (0003386) paul (administrator) - 04-Jan-12 10:53
 http://dbmail.org/mantis/view.php?id=935#c3386 
---------------------------------------------------------------------- 
Bugs 930 and 805 both concern crashes of lmtpd due to assertions in the
code. The assertion was removed which means that failure to insert some
headers is preferred over crashing processes.

Looking at your error, it looks like glib2 is not being found by the
linker. The output from the configure run should provide details about your
glib installation.

I think you might be better off using the latest gmime-2.4 release
together with git-master. 

---------------------------------------------------------------------- 
 (0003387) cavil83 (reporter) - 05-Jan-12 10:02
 http://dbmail.org/mantis/view.php?id=935#c3387 
---------------------------------------------------------------------- 
Ok Thanks. I've build DBmail with gmime-2.4 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
27-Oct-11 15:22  csebe          New Issue                                    
27-Oct-11 15:43  paul           Note Added: 0003310                          
29-Oct-11 13:06  cmayo          Note Added: 0003311                          
29-Oct-11 13:06  cmayo          Issue Monitored: cmayo                       
29-Oct-11 15:59  paul           Note Added: 0003312                          
31-Oct-11 08:47  csebe          Note Added: 0003320                          
31-Oct-11 20:48  cmayo          Note Added: 0003321                          
31-Oct-11 20:49  cmayo          File Added: dbmail-3.0.0_rc3-gmime26.patch      
             
01-Nov-11 10:30  csebe          Note Added: 0003322                          
04-Jan-12 10:36  cavil83        Note Added: 0003385                          
04-Jan-12 10:53  paul           Note Added: 0003386                          
05-Jan-12 10:02  cavil83        Note Added: 0003387                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to