Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 11:33:27 +0900 (JST)
From:      <haro@tk.kubota.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19081: fetchmail port compile error on 3-STABLE
Message-ID:  <200006070233.LAA20513@jkpc15.tk.kubota.co.jp>

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

>Number:         19081
>Category:       ports
>Synopsis:       fetchmail port compile error on 3-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 06 19:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Munehiro Matsuda
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Kubota Corp.
>Environment:

	3.4-STABLE with KAME/IPv6 kit

>Description:

	When installing fetchmail from ports on 3-STABLE, w/o ssl library
	installed, get the following compile error:


===>  Extracting for fetchmail-5.3.8
>How-To-Repeat:

	On 3-STABLE system, w/o ssl library, with ports-cur from CTM:
	
	# cd /usr/ports/mail/fetchmail
	# make

>Fix:

	Apply following patch

--- /usr/ports/mail/fetchmail/Makefile.org	Fri Jun  2 17:14:26 2000
+++ /usr/ports/mail/fetchmail/Makefile	Wed Jun  7 11:31:15 2000
@@ -34,7 +34,7 @@
 .if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)
 CONFIGURE_ARGS+=--with-ssl=/usr
 .endif
-.else if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
+.elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
 CONFIGURE_ARGS+=-with-includes=${LOCALBASE}/include/openssl --with-ssl=${LOCALBASE}
 .endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for fetchmail-5.3.8.tar.gz.
 ===>   fetchmail-5.3.8 depends on shared library: intl.1 - found
 ===>  Patching for fetchmail-5.3.8
 ===>  Applying FreeBSD patches for fetchmail-5.3.8
 ===>  Configuring for fetchmail-5.3.8
 creating cache ./config.cache
 checking host system type... i386--freebsd3.4
 <*snip*>
 creating config.h
 You can ignore any makedepend error messages:
 makedepend: warning:  checkalias.c (reading i18n.h, line 6): cannot find include file "libintl.h"
 	not in /usr/include/libintl.h
 	not in /usr/include/libintl.h
 makedepend: warning:  socket.c, line 347: cannot find include file "ssl.h"
 	not in ssl.h
 	not in ssl.h
 	not in /usr/include/ssl.h
 	not in /usr/include/ssl.h
 makedepend: warning:  socket.c, line 349: cannot find include file "pem.h"
 	not in pem.h
 	not in pem.h
 	not in /usr/include/pem.h
 	not in /usr/include/pem.h
 makedepend: warning:  socket.c, line 350: cannot find include file "x509.h"
 	not in x509.h
 	not in x509.h
 	not in /usr/include/x509.h
 	not in /usr/include/x509.h
 ===>  Building for fetchmail-5.3.8
 expect conflicts:  2 shift/reduce
 bison -y -dt ./rcfile_y.y
 conflicts:  2 shift/reduce
 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. -I/usr/local/include -I/usr/local/include -O -pipe 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. -I/usr/local/include -I/usr/local/include -O -pipe rcfile_l.c
 cc -DHAVE_CONFIG_H  -DLOCALEDIR='"/usr/local/share/locale"' -c  -I. -I. -I/usr/local/include -I/usr/local/include -O -pipe socket.c
 socket.c:347: ssl.h: No such file or directory
 socket.c:349: pem.h: No such file or directory
 socket.c:350: x509.h: No such file or directory
 socket.c:352: parse error before `*'
 socket.c:352: warning: data definition has no type or storage class
 socket.c:353: parse error before `*'
 socket.c:353: warning: data definition has no type or storage class
 socket.c:355: parse error before `*'
 socket.c:355: warning: data definition has no type or storage class
 socket.c: In function `SockWrite':
 socket.c:362: `SSL' undeclared (first use this function)
 socket.c:362: (Each undeclared identifier is reported only once
 socket.c:362: for each function it appears in.)
 socket.c:362: `ssl' undeclared (first use this function)
 socket.c: In function `SockRead':
 socket.c:389: `SSL' undeclared (first use this function)
 socket.c:389: `ssl' undeclared (first use this function)
 socket.c: In function `SockPeek':
 socket.c:490: `SSL' undeclared (first use this function)
 socket.c:490: `ssl' undeclared (first use this function)
 socket.c: At top level:
 socket.c:538: parse error before `*'
 socket.c:550: parse error before `X509_STORE_CTX'
 socket.c: In function `SSL_verify_callback':
 socket.c:556: `X509' undeclared (first use this function)
 socket.c:556: `x509_cert' undeclared (first use this function)
 socket.c:557: parse error before `int'
 socket.c:559: `ctx' undeclared (first use this function)
 socket.c:560: invalid lvalue in assignment
 socket.c:561: `depth' undeclared (first use this function)
 socket.c:617: `X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT' undeclared (first use this function)
 socket.c:621: `X509_V_ERR_CERT_NOT_YET_VALID' undeclared (first use this function)
 socket.c:622: `X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD' undeclared (first use this function)
 socket.c:625: `X509_V_ERR_CERT_HAS_EXPIRED' undeclared (first use this function)
 socket.c:626: `X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD' undeclared (first use this function)
 socket.c:632: `ok_return' undeclared (first use this function)
 socket.c: In function `SSLOpen':
 socket.c:654: warning: assignment makes pointer from integer without a cast
 socket.c:661: warning: assignment makes pointer from integer without a cast
 socket.c:671: `SSL_VERIFY_PEER' undeclared (first use this function)
 socket.c:683: `SSL_FILETYPE_PEM' undeclared (first use this function)
 socket.c: In function `SockClose':
 socket.c:703: `SSL' undeclared (first use this function)
 socket.c:703: `ssl' undeclared (first use this function)
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 	
 


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?200006070233.LAA20513>