[fetchmail]Re: SSL authentication problems with Gmail

Sebastian Tennant sebyte@smolny.plus.com
Mon, 02 Jan 2006 23:21:06 +0000


--=-=-=

Matthias Andree <matthias.andree@gmx.de> wrote:

> Sebastian Tennant <sebyte@smolny.plus.com> writes:
>
>>   So it's either a bug in my version of fetchmail (upgrding is the
>>   next thing I'm going to try) or I'm doing something wrong when I
>>   generate the google hash.  (The Thawte cert. is part of ca-certificates)
>
> Let us know if 6.3.1 is still giving you problems, older versions didn't
> set the default certificate path properly.

I'm fairly new to compiling things so bear with me...

I unpacked the 6.3.1 tarball in my workspace directory, downloaded
the openssl source from the Debian apt repositories (testing) and
copied it across to my workspace too.  Then I ran:

  $ cd fetchmail-6.3.1
  $ ./configure --with-ssl=/home/sebyte/workspace/openssl-0.9.8a
  [...]
  configure: error: cannot link with SSL - check config.log

I read the INSTALL file for building with ssl and the directory I
specified on the comand line definitely includes the include/
directory...

I hope I've attached the relevant section from the config.log.

> Then, please unsubscribe from this list (see the footer of this message
> for instructions) and resubscribe at
> <https://lists.berlios.de/mailman/listinfo/fetchmail-users> - this list
> at ccil.org is going to be discontinued soon.

I'll unsubscribe as soon as fetchmail's working and then there won't
be any need to resubscribe ;-)

sdt


--=-=-=
Content-Disposition: attachment; filename=fetchmail_build_error.txt
Content-Description: config.log snippet showing the error

configure:12595: gcc -o conftest -g -O2   conftest.c  -L/home/sebyte/workspace/openssl-0.9.8a/lib -lcrypt  -lresolv -lssl -lcrypto  >&5
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
configure:12601: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "fetchmail"
| #define PACKAGE_TARNAME "fetchmail"
| #define PACKAGE_VERSION "6.3.1"
| #define PACKAGE_STRING "fetchmail 6.3.1"
| #define PACKAGE_BUGREPORT "fetchmail-users@lists.berlios.de"
| #define PACKAGE "fetchmail"
| #define VERSION "6.3.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_SGTTY_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_RESOLV_H 1
| #define YYTEXT_POINTER 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_STRSTR 1
| #define HAVE_STRCASECMP 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STPCPY 1
| #define HAVE_VPRINTF 1
| #define HAVE_TCSETATTR 1
| #define HAVE_SETSID 1
| #define HAVE_GETEUID 1
| #define HAVE_SETEUID 1
| #define HAVE_STRERROR 1
| #define HAVE_SYSLOG 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_VSYSLOG 1
| #define HAVE_ATEXIT 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRFTIME 1
| #define HAVE_SETRLIMIT 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_SIGACTION 1
| #define HAVE_STRDUP 1
| #define HAVE_SETLOCALE 1
| #define HAVE_RES_SEARCH 1
| #define HAVE_LIBCRYPT 1
| #define HAVE_VOIDPOINTER 1
| #define HAVE_WAITPID 1
| #define HAVE_WAIT3 1
| #define HAVE_UNION_WAIT 1
| #define SYS_SIGLIST_DECLARED 1
| #define PID_DIR "/var/run"
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define POP3_ENABLE 1
| #define IMAP_ENABLE 1
| #define ETRN_ENABLE 1
| #define ODMR_ENABLE 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETNAMEINFO 1
| #define SSL_ENABLE 1
| /* end confdefs.h.  */

--=-=-=--