Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 17:44:41 -0500
From:      "David J. Kanter" <djkanter@nwu.edu>
To:        ports@freebsd.org
Subject:   Cannot make fetchmail port with OpenSSL/Kerberos
Message-ID:  <20000620174441.A63300@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
I have FBSD 3.4 and am running into problems makeing fetchmail with
OpenSSL/Kerberos support. When I run make KRB5_HOME=/usr/local all from the
fetchmail port directory (is this the correct syntax?) I run into an OpenSSL
snag:

===>  Extracting for fetchmail-5.4.1
>> Checksum OK for fetchmail-5.4.1.tar.gz.
===>   fetchmail-5.4.1 depends on shared library: intl.1 - found
===>  Patching for fetchmail-5.4.1
===>  Applying FreeBSD patches for fetchmail-5.4.1
===>  Configuring for fetchmail-5.4.1
creating cache ./config.cache
checking host system type... i386--freebsd3.4
checking for gcc... cc
checking whether the C compiler (cc -I/usr/local/include -O -L/usr/local/lib) works... yes
checking whether the C compiler (cc -I/usr/local/include -O -L/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to run the C preprocessor... cc -E
checking whether cc understands -c and -o together... yes
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for unistd.h... yes
checking for termios.h... yes
checking for termio.h... no
checking for sgtty.h... yes
checking for stdarg.h... yes
checking for alloca.h... no
checking for sys/itimer.h... no
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for memory.h... yes
checking for sys/wait.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking for net/socket.h... no
checking for working const... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
Adding -lkvm to standard libraries
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for inline... inline
checking for off_t... yes
checking for working alloca.h... (cached) no
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... no
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... checking for gettext in -lintl... yes
yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... no
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  cs es fr pl pt_BR gl
checking for socket... yes
using libc's socket
checking for gettext... no
checking for gettext in -lintl... (cached) yes
checking for inet_addr... yes
using libc's inet_addr
checking for strchr in -lcposix... no
checking for strstr... yes
checking for strcasecmp... (cached) yes
checking for memmove... yes
checking for getopt_long... no
checking for MD5Init... yes
checking for vprintf... yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for tcsetattr... yes
checking for stty... no
checking for setsid... yes
checking for geteuid... yes
checking for seteuid... yes
checking for gethostbyname... yes
checking for res_search... yes
checking for herror... yes
checking for strrchr... yes
checking for strerror... yes
checking for setlinebuf... yes
checking for syslog... yes
checking for snprintf... yes
checking for vprintf... (cached) yes
checking for vsnprintf... yes
checking for vsyslog... yes
checking for atexit... yes
checking for inet_aton... yes
checking for strftime... yes
checking for setrlimit... yes
checking for socketpair... yes
checking for sigprocmask... yes
checking for res_search... (cached) yes
using libc's resolver functions
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for RSAPublicDecrypt in -lrsaref... yes
checking use of void pointer type... yes
checking for ANSI volatile... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... yes
checking sys_siglist declaration in signal.h or unistd.h... yes
root-mode pid file will go in /var/run
checking size of short... 2
checking size of int... 4
checking size of long... 4
Enabling internationalization support...
checking for inner_connect... no
Enabling OpenSSL support in /usr/local
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
You can ignore any makedepend error messages:
===>  Building for fetchmail-5.4.1
expect conflicts:  2 shift/reduce
bison -y -dt ./rcfile_y.y
mv y.tab.c rcfile_y.c
mv -f y.tab.h rcfile_y.h
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O rcfile_y.c
flex  ./rcfile_l.l
mv lex.yy.c rcfile_l.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O rcfile_l.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O socket.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O getpass.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O pop2.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O pop3.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O imap.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O etrn.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O fetchmail.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O idle.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O env.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O options.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O daemon.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O driver.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O sink.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O rfc822.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O smtp.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O xmalloc.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O uid.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O mxget.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O md5ify.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O rpa.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O interface.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O netrc.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O base64.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O error.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O unmime.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O conf.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O checkalias.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O smbdes.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O smbencrypt.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O smbmd4.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O smbutil.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O ipv6-connect.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O getopt.c
cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -DKERBEROS_V5 -I/usr/local/include -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include -O getopt1.c
cc -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o  etrn.o fetchmail.o idle.o env.o options.o daemon.o driver.o sink.o  rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o  interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o  smbdes.o smbencrypt.o smbmd4.o smbutil.o ipv6-connect.o  getopt.o getopt1.o -lrsaref -lcrypt -lintl  -lmd -lkvm -lkrb5 -lcrypto -lcom_err -lssl -lcrypto -lfl -o fetchmail
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Hmm. tee didn't pick up these errors on the console:

conflicts:  2 shift/reduce
/usr/local/lib/libkrb5.so: warning: mktemp() possibly used unsafely;
consider using mkstemp()
/usr/local/lib/libcrypto.so: undefined reference to ERR_load_RSAREF_strings'
/usr/local/lib/libcrypto.so: undefined reference to RSA_PKCS1_RSAref'

Do you know what I've done wrong? Thanks.
-- 
David Kanter
djkanter@nwu.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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