Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 15:43:05 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        gnome@freebsd.org
Cc:        kiesel@schlund.de
Subject:   gnome2 build fails on ximian-connector (krb5)
Message-ID:  <20041111184305.GB33070@iib.unsam.edu.ar>

next in thread | raw e-mail | index | archive | help
Hi!

I think I'm now quite close to getting the installation of
2.8.1 done. I've installed gdesklets, gnomeapplets2 and
gnome2. In this latter case, the last component of gnome2
(ximian-connector) is failing on configure:

checking for Kerberos 5... no
configure: error: Could not find krb5. Install krb5 or heimdal packages.
===>  Script "configure" failed unexpectedly.

Intrigued by this (I never had to install kerberos as a
dependency if I'm not actually using it), I went to read the
Makefile, and I see:
COMMENT=  Evolution plugin to connect to Microsoft Exchange servers

Then the question arises: is it reasonable to include
ximian-connector as a default in the gnome2 installation? I
would vote no ... but others may have other opinions.

Other than that seems like there is some problem with the
port, because it is first succeeding on krb5:

===>  Extracting for ximian-connector-2.0.2
>> Checksum OK for ximian-connector-2.0.2.tar.bz2.
===>  Patching for ximian-connector-2.0.2
===>  Applying FreeBSD patches for ximian-connector-2.0.2
===>   ximian-connector-2.0.2 depends on executable: evolution-2.0 - found
===>   ximian-connector-2.0.2 depends on executable: gmake - found
===>   ximian-connector-2.0.2 depends on file: /usr/local/bin/libtool15 - found
===>   ximian-connector-2.0.2 depends on file: /usr/local/bin/intltool-extract - found
===>   ximian-connector-2.0.2 depends on shared library: krb5 - found
===>   ximian-connector-2.0.2 depends on shared library: ldap-2.2.7 - found
===>   ximian-connector-2.0.2 depends on shared library: X11.6 - found
===>  Configuring for ximian-connector-2.0.2
... ...
... ...
and then failing:

checking for Kerberos 5... no
configure: error: Could not find krb5. Install krb5 or heimdal packages.
===>  Script "configure" failed unexpectedly.

The port has the following:

.if ${OSVERSION} < 500000 && defined(MAKE_KERBEROS5) && \
  exists(/usr/lib/libkrb5.so) && !defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+=  --with-krb5=/usr
.elif ( ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5) ) || \
  defined(PACKAGE_BUILDING)
LIB_DEPENDS+=   krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=  --with-krb5=${LOCALBASE}
.elif ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
  exists(/usr/lib/libkrb5.so)
CONFIGURE_ARGS+=  --with-krb5=/usr
.else
LIB_DEPENDS+=   krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=  --with-krb5=${LOCALBASE}
.endif

and AFAIK I'm running 4.10-RELEASE-p3 and have not defined
MAKE_KERBEROS5 or PACKAGE_BUILDING, either in the
command-line or in make.conf. 

Fernan

-- 
Fernán Agüero | Instituto de Investigaciones Biotecnológicas
email         | fernan at { iib.unsam.edu.ar , mail.retina.ar }
wwww          | http://genoma.unsam.edu.ar/~fernan
phone, fax    | +54 11 { 4580-7255 ext 310, 4752-9639 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041111184305.GB33070>