Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2003 21:06:11 -0800 (PST)
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        "L. S. Colby" <ls.colby@verizon.net>, coop9211@uidaho.edu
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: libesmtp-1.0 - fails to compile
Message-ID:  <20030207050611.98838.qmail@web41505.mail.yahoo.com>
In-Reply-To: <3E4314E8.8050207@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It appears you're not using the system OpenSSL. 
Currently, libesmtp-1.0_1,1 is likely to compile only
with the system OpenSSL.

jmc

--- "L. S. Colby" <ls.colby@verizon.net> wrote:
> Hello,
> 
> 
> I have attached the result of portinstall libesmtp
> on:
> 
> freebsd 4.7 stable
> gnome2.1.99 - using marcus merge script to stay up
> to date with gnome 
> 2.2 cvs
> 
> 
> Colby
> > --->  Installing 'libesmtp-1.0_1,1' from a port
> (mail/libesmtp)
> --->  Building '/usr/ports/mail/libesmtp'
> ===>  Cleaning for libiconv-1.8_2
> ===>  Cleaning for gettext-0.11.5_1
> ===>  Cleaning for gmake-3.80
> ===>  Cleaning for libtool-1.3.4_4
> ===>  Cleaning for expat-1.95.6_1
> ===>  Cleaning for libesmtp-1.0_1,1
> ===>  Extracting for libesmtp-1.0_1,1
> >> Checksum OK for libesmtp-1.0.tar.bz2.
> ===>   libesmtp-1.0_1,1 depends on executable: gmake
> - found
> ===>   libesmtp-1.0_1,1 depends on executable:
> libtool - found
> ===>  Patching for libesmtp-1.0_1,1
> ===>  Applying FreeBSD patches for libesmtp-1.0_1,1
> ===>  Configuring for libesmtp-1.0_1,1
> creating cache ./config.cache
> checking for a BSD compatible install...
> /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking whether gmake sets ${MAKE}... yes
> checking for working aclocal-1.4... missing
> checking for working autoconf... found
> checking for working automake-1.4... missing
> checking for working autoheader... found
> checking for working makeinfo... found
> checking host system type... i386-portbld-freebsd4.7
> checking for gcc... cc
> checking whether the C compiler (cc -O2 -pipe
> -march=pentiumpro ) works... yes
> checking whether the C compiler (cc -O2 -pipe
> -march=pentiumpro ) 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 whether gmake sets ${MAKE}... (cached) yes
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking how to run the C preprocessor... cc -E
> checking build system type...
> i386-portbld-freebsd4.7
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU
> ld... yes
> checking for /usr/libexec/elf/ld option to reload
> object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependant libraries...
> pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output...
> ok
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions...
> yes
> checking whether the linker (/usr/libexec/elf/ld)
> supports shared libraries... yes
> checking how to hardcode library paths into
> programs... immediate
> checking whether stripping libraries is possible...
> yes
> checking dynamic linker characteristics...
> freebsd4.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked
> in... yes
> creating libtool
> checking host system type...
> i386-unknown-freebsdelf4.7
> checking for ranlib... ranlib
> checking whether we are using GNU C... yes
> checking for object suffix... o
> checking for executable suffix... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc supports -fno-rtti -fno-exceptions
> ... yes
> checking if cc static flag -static works... -static
> checking whether ln -s works... yes
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU
> ld... yes
> checking whether the linker (/usr/libexec/elf/ld)
> supports shared libraries... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking command to parse /usr/bin/nm -B output...
> ok
> checking how to hardcode library paths into
> programs... immediate
> checking for /usr/libexec/elf/ld option to reload
> object files... -r
> checking dynamic linker characteristics...
> freebsdelf4.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> checking for library containing dlsym... none
> required
> checking for pthread.h... yes
> checking for pthread_join in LIBS=-pthread with
> CFLAGS=-D_THREAD_SAFE with LDFLAGS=... yes
> checking for joinable pthread attribute...
> PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for
> pthreads... -D_THREAD_SAFE
> checking for cc_r... cc
> checking whether to use Posix Threads... yes
> checking for library containing getaddrinfo... none
> required
> checking for openssl/ssl.h... yes
> checking for SSL_library_init in -lssl... yes
> checking for openssl/md5.h... yes
> checking for MD5_Init in -lcrypto... yes
> checking whether to enable NTLM authentication...
> yes
> checking for openssl/md4.h... yes
> checking for MD4_Init in -lcrypto... yes
> checking whether to enable STARTTLS... yes
> checking whether to enable CHUNKING... yes
> checking whether to enable ETRN... yes
> checking whether to enable sendmail XUSR... yes
> checking whether to enable non-standard EHLO AUTH=
> response... yes
> checking for ANSI C header files... yes
> checking for sys/ioctl.h... yes
> checking for unistd.h... yes
> checking for working const... yes
> checking for inline... inline
> checking whether byte ordering is bigendian... no
> checking whether struct tm is in sys/time.h or
> time.h... time.h
> checking whether time.h and sys/time.h may both be
> included... yes
> checking for tm_zone in struct tm... yes
> checking size of unsigned short... 2
> checking size of unsigned int... 4
> checking size of unsigned long... 4
> checking for strdup... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strtol... yes
> checking for uname... yes
> checking for gethostname... yes
> checking for library containing socket... none
> required
> checking for library containing localtime_r... none
> required
> checking for strerror_r... yes
> checking for working strerror_r... yes
> checking for working snprintf... yes
> updating cache ./config.cache
> creating ./config.status
> creating libesmtp-config
> creating libesmtp.spec
> creating Makefile
> creating login/Makefile
> creating plain/Makefile
> creating crammd5/Makefile
> creating ntlm/Makefile
> creating config.h
> 
> *************************
> *** libESMTP features ***
> *************************
>             --with-auth-plugin-dir:
> /usr/local/lib/esmtp-plugins
>                       --with-lwres: no
>                     --with-openssl: yes
>                  --enable-pthreads: yes
>                      --enable-etrn: yes
>                      --enable-ntlm: yes
>                  --enable-chunking: yes
>                      --enable-xusr: yes
>                    --enable-nsauth: yes
>                     --enable-debug: no
> ===>  Building for libesmtp-1.0_1,1
> gmake  all-recursive
> gmake[1]: Entering directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0'
> Making all in login
> gmake[2]: Entering directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/login'
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c client-login.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-login.c  -fPIC -DPIC -o .libs/client-login.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-login.c -o client-login.o >/dev/null 2>&1
> mv -f .libs/client-login.lo client-login.lo
> /bin/sh ../libtool --mode=link cc  -D_THREAD_SAFE
> -D_THREAD_SAFE -O2 -pipe -march=pentiumpro         
> -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes         -Wstrict-prototypes
> -Wnested-externs -Wpointer-arith        
> -Wbad-function-cast -Wcast-align -Wsign-promo  -o
> sasl-login.la -rpath /usr/local/lib/esmtp-plugins
> -module -avoid-version client-login.lo  -lssl
> -lcrypto -pthread -L/usr/local/lib
> rm -fr .libs/sasl-login.la .libs/sasl-login.*
> .libs/sasl-login.*
> cc -shared  -Wl,--rpath
> -Wl,/usr/local/lib/esmtp-plugins  client-login.lo 
> -lssl -lcrypto -pthread -L/usr/local/lib 
> -Wl,-soname -Wl,sasl-login.so -o .libs/sasl-login.so
> creating sasl-login.la
> (cd .libs && rm -f sasl-login.la && ln -sf
> ../sasl-login.la sasl-login.la)
> gmake[2]: Leaving directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/login'
> Making all in plain
> gmake[2]: Entering directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/plain'
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c client-plain.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-plain.c  -fPIC -DPIC -o .libs/client-plain.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-plain.c -o client-plain.o >/dev/null 2>&1
> mv -f .libs/client-plain.lo client-plain.lo
> /bin/sh ../libtool --mode=link cc  -D_THREAD_SAFE
> -D_THREAD_SAFE -O2 -pipe -march=pentiumpro         
> -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes         -Wstrict-prototypes
> -Wnested-externs -Wpointer-arith        
> -Wbad-function-cast -Wcast-align -Wsign-promo  -o
> sasl-plain.la -rpath /usr/local/lib/esmtp-plugins
> -module -avoid-version client-plain.lo  -lssl
> -lcrypto -pthread -L/usr/local/lib
> rm -fr .libs/sasl-plain.la .libs/sasl-plain.*
> .libs/sasl-plain.*
> cc -shared  -Wl,--rpath
> -Wl,/usr/local/lib/esmtp-plugins  client-plain.lo 
> -lssl -lcrypto -pthread -L/usr/local/lib 
> -Wl,-soname -Wl,sasl-plain.so -o .libs/sasl-plain.so
> creating sasl-plain.la
> (cd .libs && rm -f sasl-plain.la && ln -sf
> ../sasl-plain.la sasl-plain.la)
> gmake[2]: Leaving directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/plain'
> Making all in crammd5
> gmake[2]: Entering directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/crammd5'
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c client-crammd5.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-crammd5.c  -fPIC -DPIC -o
> .libs/client-crammd5.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-crammd5.c -o client-crammd5.o >/dev/null 2>&1
> mv -f .libs/client-crammd5.lo client-crammd5.lo
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c hmacmd5.c
> rm -f .libs/hmacmd5.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> hmacmd5.c  -fPIC -DPIC -o .libs/hmacmd5.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> hmacmd5.c -o hmacmd5.o >/dev/null 2>&1
> mv -f .libs/hmacmd5.lo hmacmd5.lo
> /bin/sh ../libtool --mode=link cc  -D_THREAD_SAFE
> -D_THREAD_SAFE -O2 -pipe -march=pentiumpro         
> -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes         -Wstrict-prototypes
> -Wnested-externs -Wpointer-arith        
> -Wbad-function-cast -Wcast-align -Wsign-promo  -o
> sasl-cram-md5.la -rpath /usr/local/lib/esmtp-plugins
> -module -avoid-version -lcrypto client-crammd5.lo
> hmacmd5.lo  -lssl -lcrypto -pthread -L/usr/local/lib
> rm -fr .libs/sasl-cram-md5.la .libs/sasl-cram-md5.*
> .libs/sasl-cram-md5.*
> cc -shared  -Wl,--rpath
> -Wl,/usr/local/lib/esmtp-plugins  client-crammd5.lo
> hmacmd5.lo  -lcrypto -lssl -lcrypto -pthread
> -L/usr/local/lib  -Wl,-soname -Wl,sasl-cram-md5.so
> -o .libs/sasl-cram-md5.so
> creating sasl-cram-md5.la
> (cd .libs && rm -f sasl-cram-md5.la && ln -sf
> ../sasl-cram-md5.la sasl-cram-md5.la)
> gmake[2]: Leaving directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/crammd5'
> Making all in ntlm
> gmake[2]: Entering directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/ntlm'
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c client-ntlm.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-ntlm.c  -fPIC -DPIC -o .libs/client-ntlm.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> client-ntlm.c -o client-ntlm.o >/dev/null 2>&1
> mv -f .libs/client-ntlm.lo client-ntlm.lo
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I.. -I.  -I/usr/local/include 
> -D_THREAD_SAFE -D_THREAD_SAFE -O2 -pipe
> -march=pentiumpro          -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes        
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
>         -Wbad-function-cast -Wcast-align
> -Wsign-promo -c ntlmdes.c
> rm -f .libs/ntlmdes.lo
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.
> -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE
> -O2 -pipe -march=pentiumpro -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-promo -c
> ntlmdes.c  -fPIC -DPIC -o .libs/ntlmdes.lo
> In file included from
> /usr/local/include/openssl/ui_compat.h:63,
>                  from
> /usr/local/include/openssl/des_old.h:439,
>                  from
> /usr/local/include/openssl/des.h:101,
>                  from ntlmdes.c:27:
> /usr/local/include/openssl/ui.h:220: warning:
> function declaration isn't a prototype
> ntlmdes.c: In function `lm_deshash':
> ntlmdes.c:64: incompatible type for argument 1 of
> `memset'
> gmake[2]: *** [ntlmdes.lo] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0/ntlm'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/mail/libesmtp/work/libesmtp-1.0'
> gmake: *** [all-recursive-am] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/mail/libesmtp.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portinstall95064.0 make
> ** Fix the problem and try again.
> ** The following packages were not installed or
> upgraded (*:skipped / !:failed)
> 	! mail/libesmtp	(compiler error)
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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?20030207050611.98838.qmail>