[Kolab-devel] [issue3341] Solaris 10 Sparc Kolab V2.2.1 Beta 1 SSL/TLS libraries were missing or unusable

ComCept Soliva soliva at comcept.ch
Wed Mar 25 16:51:58 CET 2009


 
Hi Thomas

I did with the new install-kolab.sh from csv a test to see if it is working
regarding -maxdepth/-mindepth. In this test I changed the install-kolab.sh
in following way to cover openssl with_zlib:

DEFINE="-D openssl::with_zlib -D openldap::with_pth=no -D sasl::with_ldap -D
sasl::with_login -D sasl::with_ntlm -D postfix::with_sasl -D
postfix::with_ssl -D postfix::with_ldap -D imapd::with_kolab_nocaps"

as a pity I have to say still it does not work:

Installing /tmp/install-kolab....29111/openldap-2.3.43-20081212.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.27772
+ cd /kolab/RPM/TMP
+ set +x


checking for inet_ntop... yes
checking INET6_ADDRSTRLEN... yes
checking struct sockaddr_storage... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_library_init in -lssl... no
checking for spt in -lssl... no
checking OpenSSL library version (CRL checking capability)... yes
configure: error: Could not locate TLS/SSL package
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.12751 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.12751 (%build)
+ exit 1 


If I check the dir following package are in the RPM/SCR Dir:

-rw-r--r--   1 kolab    kolab    4339164 Mar 25 08:05
binutils-2.18-20080101.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab    4403047 Mar 25 15:40
db-4.5.20.2-20070628.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab     124883 Mar 25 15:46
fsl-1.7.0-20080101.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab    16673288 Mar 25 14:25
gcc-4.2.2-20080101.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab     193343 Mar 25 07:47
make-3.81-20080101.sparc64-solaris10-kolab.rpm
lrwxrwxrwx   1 root     root          81 Mar 25 07:43
openpkg-20071227-20071227.sparc64-solaris10-kolab.rpm ->
/tmp/install-kolab....29111/openpkg-20071227-20071227.sparc64-solaris10-kola
b.rpm
-rw-r--r--   1 kolab    kolab     116408 Mar 25 15:06
openpkg-tools-1.4.6-20071231.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab    2267034 Mar 25 15:32
openssl-0.9.8g-20080101.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab    11001844 Mar 25 15:06
perl-5.10.0-20080103.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab     176070 Mar 25 15:48
readline-5.2.12-20080101.sparc64-solaris10-kolab.rpm
-rw-r--r--   1 kolab    kolab      64940 Mar 25 15:07
zlib-1.2.3-20080101.sparc64-solaris10-kolab.rpm

In the log I find only the warning:

 WARNING: enabling ZLib compression causes packages depending on OpenSSL to
fail building! Installing
/tmp/install-kolab....29111/openssl-0.9.8g-20080101.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.17930

and finally the package is correct installed:

Processing files: openssl-0.9.8g-20080101
Wrote: /kolab/RPM/PKG/openssl-0.9.8g-20080101.sparc64-solaris10-kolab.rpm
Executing(%clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.12170
+ cd /kolab/RPM/TMP
+ cd openssl-0.9.8g
+ rm -rf /kolab/RPM/TMP/openssl-0.9.8g-root
+ exit 0
Executing(--clean): env -i /kolab/lib/openpkg/bash --norc --noprofile
--posix -e /kolab/RPM/TMP/rpm-tmp.29009
+ cd /kolab/RPM/TMP
+ rm -rf openssl-0.9.8g
+ exit 0
Preparing...
##################################################
openssl
##################################################
:::: /tmp/install-kolab....29111/openssl-0.9.8g-20080101.src.rpm = 0 ::::


Any idea

Mail: soliva at comcept.ch 
-----Ursprüngliche Nachricht-----
Von: ComCept Soliva [mailto:soliva at comcept.ch] 
Gesendet: Dienstag, 24. März 2009 06:50
An: 'Kolab issue tracker'
Cc: 'wilde at intevation.de'; 'p at rdus.de'
Betreff: [issue3341] Solaris 10 Sparc Kolab V2.2.1 Beta 1 SSL/TLS libraries
were missing or unusable

Hi Thomas

ok understood meaning do not touche apache.spec to exclude "without zlib"
instead use "with zlib" in openssl. To define this from beginning in
install-kolab.sh you mention below the DEFINE= option/variable but what this
means? Would this mean:

PACKAGES="openpkg-tools openldap postfix kolabd kolab-webadmin kolab-fbview
kolab-webclient"
DEFINE="-D openssl::with_zlib -D openldap::with_pth=no -D sasl::with_ldap -D
sasl::with_login -D sasl::with_ntlm -D postfix::with_sasl -D
postfix::with_ssl -D postfix::with_ldap -D imapd::with_kolab_nocaps"

What I do not understand regarding this DEFINE= option/variable is that I
tried at the point I recognized the issue -as of proposal of Gunar- to use
within this DEFINE option/variable apache::without_zlib and this was never
working. We know that apache without zlib is not the correct approach but
why thid DEFINE variable/option did not help/affect anything (even
without_zlib appeared in the beginning of the compilation appeared it was
not affecting anything)? Is it important where the variable/option is
defined meaning in beginn of DEFINE or at the end...?

At least I know there are other fix's already solved from the horde package
meaning "find with option which is not supported" etc. from this point of
view it would make sense to use within the next try the newes source
available....? Is this possible and what is the diffrent meaning I have to
download and install the stuff as usual?

Many thanks for a short feedback Thomas

Andrea



-----Ursprüngliche Nachricht-----
Von: Thomas Arendsen Hein [mailto:kolab-issues at intevation.de] 
Gesendet: Montag, 23. März 2009 18:09
An: p at rdus.de; soliva at comcept.ch; wilde at intevation.de
Betreff: [issue3341] Solaris 10 Sparc Kolab V2.2.1 Beta 1 SSL/TLS libraries
were missing or unusable


Thomas Arendsen Hein <thomas at intevation.de> added the comment:

http://www.mail-archive.com/openpkg-users@openpkg.org/msg03468.html mentions
to
not use --without-zlib on apache, but instead using with_zlib in openssl.
(you can add it to the DEFINE="..." line in install-kolab.sh)

Be careful to recompile all dependencies of openssl, too, since  OpenPKG
uses
static linking in most places.

----------
assignedto: thomas -> soliva
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3341>
___________________________________________________




More information about the devel mailing list