A NOTE has been added to this issue. 
====================================================================== 
http://www.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:              01-Nov-11 10:30 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://www.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://www.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://www.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://www.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://www.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://www.dbmail.org/mantis/view.php?id=935#c3322 
---------------------------------------------------------------------- 
Thank you guys,

it's working now.

Cheers,
Lian 

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                          
======================================================================

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

Reply via email to