krb5.h: No such file or directory

James M McNutt mcnutt at buffalo.edu
Thu Jul 10 13:38:31 EDT 2008


sorry forgot to include this is on Solaris 9


On Thu, 10 Jul 2008, James M McNutt wrote:

> we get "krb5.h: No such file or directory" when trying to build
> cyrus-imapd-2.3.12p2, is there a way to ignore krb5 I have
> --with-auth=unix?
>
> Thanks,
> -jim
>
> this is the same that we built cyrus-imapd-2.2.12 with
> =======================================================
> ./configure \
>      --with-auth=unix \
>      --disable-murder \
>      --with-dbdir=/usr/local/BerkeleyDB.4.2 \
>      --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include \
>      --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
>      --with-openssl=/usr/local/ssl \
>      --with-perl=/usr/local/bin/perl \
>      --with-sasl=/usr/local \
>      --disable-sieve \
>     --with-libwrap=no \
>     --with-ucdsnmp=no
>
> make depend
> make
>
> ### Making all in /home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/man
> make[1]: Entering directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/man'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/man'
> ### Making all in /home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/com_err/et
> make[1]: Entering directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/com_err/et'
> gcc -c -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -g -O2 error_message.c
> gcc -c -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -g -O2 et_name.c
> gcc -c -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -g -O2 init_et.c
> gcc -c -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -g -O2 com_err.c
> rm -f libcom_err.a
> ar cr libcom_err.a error_message.o et_name.o init_et.o com_err.o
> ranlib libcom_err.a
> make[1]: Leaving directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/com_err/et'
> ### Making all in /home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/lib
> make[1]: Entering directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/lib'
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> libconfig.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> imapopts.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> hash.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> mpool.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> xmalloc.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> strhash.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> xstrlcat.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> xstrlcpy.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> assert.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> util.c
> rm -f libcyrus_min.a
> ar cr libcyrus_min.a libconfig.o imapopts.o hash.o mpool.o xmalloc.o
> strhash.o xstrlcat.o xstrlcpy.o assert.o util.o
> ranlib libcyrus_min.a
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> acl.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> bsearch.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> charset.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> glob.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> retry.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> libcyr_cfg.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> mkgmtime.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> prot.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> parseaddr.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> imclient.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> imparse.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> lsort.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> stristr.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> rfc822date.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> cyrusdb.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> mkchartable.c
> gcc -L/usr/local/ssl/lib -R/usr/local/ssl/lib
> -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib  -o
> mkchartable mkchartable.o xstrlcpy.o xstrlcat.o xmalloc.o assert.o
> ### Building chartables...
> rm -f chartable.c
> ./mkchartable \
>  -m ./charset/unifix.txt        \
>  -m ./charset/unidata2.txt \
>  ./charset/*.t \
>  > chartable.c \
>  || (rm -f chartable.c && exit 1)
> mkchartable: expanding unicode mappings...
> mkchartable: expanding unicode mappings...
> mkchartable: expanding unicode mappings...
> mkchartable: building expansion table...
> mkchartable: mapping unicode...
> mkchartable: mapping UTF-8...
> mkchartable: mapping UTF-7...
> mkchartable: mapping ./charset/big5.t...
> mkchartable: mapping ./charset/gb2312.t...
> mkchartable: mapping ./charset/iso-2022-jp.t...
> mkchartable: mapping ./charset/iso-2022-kr.t...
> mkchartable: mapping ./charset/iso-8859-1.t...
> mkchartable: mapping ./charset/iso-8859-15.t...
> mkchartable: mapping ./charset/iso-8859-2.t...
> mkchartable: mapping ./charset/iso-8859-3.t...
> mkchartable: mapping ./charset/iso-8859-4.t...
> mkchartable: mapping ./charset/iso-8859-5.t...
> mkchartable: mapping ./charset/iso-8859-6.t...
> mkchartable: mapping ./charset/iso-8859-7.t...
> mkchartable: mapping ./charset/iso-8859-8.t...
> mkchartable: mapping ./charset/iso-8859-9.t...
> mkchartable: mapping ./charset/koi8-r.t...
> mkchartable: mapping ./charset/us-ascii.t...
> mkchartable: mapping ./charset/windows-1250.t...
> mkchartable: mapping ./charset/windows-1251.t...
> mkchartable: mapping ./charset/windows-1252.t...
> mkchartable: mapping ./charset/windows-1255.t...
> mkchartable: mapping ./charset/windows-1256.t...
> ### Done building chartables.
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> chartable.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> imapurl.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> nonblock_fcntl.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> lock_fcntl.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> gmtoff_gmtime.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> map_shared.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> acl_afs.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> auth.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> auth_krb.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> auth_unix.c
> gcc -c -I.. -I/usr/local/BerkeleyDB.4.2/include  -I/usr/local/ssl/include
> -I../com_err/et -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \
> auth_krb5.c
> auth_krb5.c:60:18: krb5.h: No such file or directory
> auth_krb5.c: In function `mycanonifyid':
> auth_krb5.c:104: error: `krb5_context' undeclared (first use in this
> function)
> auth_krb5.c:104: error: (Each undeclared identifier is reported only once
> auth_krb5.c:104: error: for each function it appears in.)
> auth_krb5.c:104: error: parse error before "context"
> auth_krb5.c:105: error: `krb5_principal' undeclared (first use in this
> function)
> auth_krb5.c:121: error: `context' undeclared (first use in this function)
> auth_krb5.c:124: error: `princ' undeclared (first use in this function)
> auth_krb5.c:139: error: `princ_dummy' undeclared (first use in this
> function)
> make[1]: *** [auth_krb5.o] Error 1
> make[1]: Leaving directory
> `/home/staff/tks/mcnutt/cyrus-imapd-2.3.12p2/lib'
> make: *** [all] Error 1
>
>
>
>
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



More information about the Info-cyrus mailing list