Author Topic: [ SOLVED ] claws-mail 3.8.0 / zlib.pc  (Read 1273 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
[ SOLVED ] claws-mail 3.8.0 / zlib.pc
« on: December 29, 2011, 03:04:48 PM »
Hi All,

Trying to build claws-mail 3.8.0 package, have got the package built but at testing phase I realized that SSL support wasn't included.  :(

The output from the rpmbuild command:
Quote
checking whether to use IPv6... yes
checking for IPv6 support... yes
checking whether to use GnuTLS... yes
checking for GNUTLS... no
Building without gnutls
checking for GNUTLS... no
checking for library containing encrypt... -lcrypt
checking for GTK... yes

Looking into config.log:
Quote
configure:17265: checking whether to use GnuTLS
configure:17275: result: yes
configure:17280: checking for GNUTLS
configure:17287: $PKG_CONFIG --exists --print-errors "gnutls >= 2.2"
configure:17290: $? = 0
configure:17304: $PKG_CONFIG --exists --print-errors "gnutls >= 2.2"
configure:17307: $? = 0
configure:17321: result: no
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'

to the PKG_CONFIG_PATH environment variable
Package 'zlib', required by 'GnuTLS', not found
configure:17360: checking for GNUTLS
configure:17367: $PKG_CONFIG --exists --print-errors "gnutls >= 2.11"
configure:17370: $? = 0
configure:17384: $PKG_CONFIG --exists --print-errors "gnutls >= 2.11"
configure:17387: $? = 0
configure:17401: result: no
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
Package 'zlib', required by 'GnuTLS', not found

rpm -qa | grep gnutls
Quote
gnutls-2.12.7-1pclos2011
vlc-plugin-gnutls-1.1.13-1pclos2011
libgnutls-devel-2.12.7-1pclos2011
libgnutls26-2.12.7-1pclos2011

rpm -qa | grep zlib
Quote
zlib1-devel-1.2.3-8pclos2010
zlib1-1.2.3-8pclos2010

the pkgconfig file zlib.pc doesn't exist on my filesystem (32 bit).

 ??? I'm lost here ... and need some help.

AS

« Last Edit: December 29, 2011, 03:45:18 PM by as »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: claws-mail 3.8.0 / zlib.pc
« Reply #1 on: December 29, 2011, 03:26:50 PM »
Maybe you need zlip higher as zlib1-devel-1.2.3-8pclos2010

Here in 64 i have
zlib1-devel-1.2.5-2pclos2011


So you should first update zlip  ::)

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151
Re: claws-mail 3.8.0 / zlib.pc
« Reply #2 on: December 29, 2011, 03:34:07 PM »
probably need to add somthing like
Quote
prefix=/usr
 exec_prefix=/usr
 libdir=/usr/lib
 includedir=/usr/include
 sharedlibdir=/usr/lib
 Name: zlib
 Description: zlib compression library
 Version: 1.2.3
 Requires:
 Libs: -L${libdir} -L${sharedlibdir} -lz
 Cflags: -I${includedir}



to  /usr/lib/pkgconfig/

as per  this thread

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: claws-mail 3.8.0 / zlib.pc
« Reply #3 on: December 29, 2011, 03:44:50 PM »
Thanks Jase, that worked!  :)
Thanks Leiche too, your solution would work as I see zlib.pc is included into the 1.2.5 64 bit version. ;)

AS

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: [ SOLVED ] claws-mail 3.8.0 / zlib.pc
« Reply #4 on: January 03, 2012, 09:05:46 AM »
A follow up:

right now are three days I'm running claws-mail-3.8.0, including some plugins, without any visible issue  :)

Anyone would like to test it ? Should I upload the resulting RPMS and/or SRPMS ?

Note, I started from the available specfiles, that was 3.7.9 and not the current 3.7.10 version, also, for some reason (some dependency ...) I had to remove the geolocation plugin, anyway it wasn't available in previous versions.

AS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [ SOLVED ] claws-mail 3.8.0 / zlib.pc
« Reply #5 on: January 03, 2012, 09:14:37 AM »
AS,   
No issues detected? Put the SRPM in the srpm dropbox directory. If you have a 64bit SRPM, put it in the x86_64 directory.     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: [ SOLVED ] claws-mail 3.8.0 / zlib.pc
« Reply #6 on: January 03, 2012, 09:30:24 AM »
AS,   
No issues detected? Put the SRPM in the srpm dropbox directory. If you have a 64bit SRPM, put it in the x86_64 directory.     
no issue for the main applications, and I use only a few plugins, the others are actually untested.

 ??? which dropbox directory ? Public ? ... first time here ...

I had built the 64bit version too, but prefer to rebuild it using latest specfiles ;)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [ SOLVED ] claws-mail 3.8.0 / zlib.pc
« Reply #7 on: January 03, 2012, 09:39:12 AM »
You need access to Texstar's SRPM directory. If you haven't already, contact him at his gmail email.     

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: [ SOLVED ] claws-mail 3.8.0 / zlib.pc
« Reply #8 on: January 03, 2012, 09:42:21 AM »
You need access to Texstar's SRPM directory. If you haven't already, contact him at his gmail email.     

OK, Thank you!  ;)