Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 16:52:55 -0500
From:      Bjorn Nelson <o_sleep@babbleheaven.com>
To:        anders@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: cclient-2002d
Message-ID:  <01342FD2-4B93-11D8-AF91-003065B84EC8@babbleheaven.com>

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

--Apple-Mail-8--308388124
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Anders,

I couldn't build mail/cclient on a 5.2-RELEASE fairly stock machine.  I 
ended up needing to install security/openssl before it would build.  
Just wanted to let you know.

view the attached error report for reference.

--Apple-Mail-8--308388124
Content-Disposition: attachment;
	filename=cclient_err.txt
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	x-unix-mode=0644;
	name="cclient_err.txt"

bash-2.05b# make install
===>  Building for cclient-2002d,1
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd EXTRASPECIALS='' BUILDTYPE=bsf
Building c-client for bsf...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make bsf EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd  
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd `cat SPECIALS` OS=bsf CHECKPW=pam  SIGTYPE=psx CRXTYPE=nfs  SPOOLDIR=/var  ACTIVEFILE=/usr/local/news/lib/active  RSHPATH=/usr/bin/rsh  LOCKPGM=/usr/local/libexec/mlock  BASECFLAGS="-DNFSKLUDGE"  BASELDFLAGS="-lpam"
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
sh -c 'rm -rf *.so libc-client4.so.8'
Once-only environment setup...
echo cc > CCTYPE
echo -DNFSKLUDGE '' > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto  -DMAILSPOOL=\"/var/mail\"  -DANONYMOUSHOME=\"/var/mail/anonymous\"  -DACTIVEFILE=\"/usr/local/news/lib/active\" -DNEWSSPOOL=\"/var/news\"  -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/local/libexec/mlock\" > OSCFLAGS
echo -lpam  > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o  dummy.o pseudo.o netmsg.o flstring.o fdstring.o  rfc822.o nntp.o smtp.o imap4r1.o pop3.o  unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE
echo bsf > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths  md5 pla log
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
ln -s os_bsf.h osdep.h
ln -s os_bsf.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
sh -c '(test -f /usr/include/sys/statvfs.h -a bsf != sc5 -a bsf != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_pam.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/local/include -I/usr/local/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/local/certs\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/local/lib -lssl -lcrypto -lcrypt  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
cc -O -pipe -march=pentiumpro -DNFSKLUDGE  `cat OSCFLAGS` -c osdep.c
osdep.c:217:18: x509.h: No such file or directory
osdep.c:218:17: ssl.h: No such file or directory
osdep.c:220:17: pem.h: No such file or directory
osdep.c:221:20: buffer.h: No such file or directory
osdep.c:222:17: bio.h: No such file or directory
osdep.c:223:20: crypto.h: No such file or directory
osdep.c:224:18: rand.h: No such file or directory
osdep.c:235: error: syntax error before "SSL_CTX"
osdep.c:248: error: syntax error before "X509_STORE_CTX"
osdep.c:252: error: syntax error before '*' token
osdep.c:252: error: syntax error before '*' token
osdep.c:252: warning: data definition has no type or storage class
osdep.c: In function `ssl_start_work':
osdep.c:398: error: `BIO' undeclared (first use in this function)
osdep.c:398: error: (Each undeclared identifier is reported only once
osdep.c:398: error: for each function it appears in.)
osdep.c:398: error: `bio' undeclared (first use in this function)
osdep.c:399: error: `X509' undeclared (first use in this function)
osdep.c:399: error: `cert' undeclared (first use in this function)
osdep.c:405: error: structure has no member named `context'
osdep.c:409: error: structure has no member named `context'
osdep.c:412: error: structure has no member named `context'
osdep.c:412: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
osdep.c:413: error: structure has no member named `context'
osdep.c:413: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
osdep.c:415: error: structure has no member named `context'
osdep.c:417: error: structure has no member named `con'
osdep.c:417: error: `SSL' undeclared (first use in this function)
osdep.c:417: error: syntax error before ')' token
osdep.c:419: error: `BIO_NOCLOSE' undeclared (first use in this function)
osdep.c:420: error: structure has no member named `con'
osdep.c:421: error: structure has no member named `con'
osdep.c:422: error: structure has no member named `con'
osdep.c:422: error: structure has no member named `con'
osdep.c:424: error: structure has no member named `con'
osdep.c:429: error: structure has no member named `con'
osdep.c: At top level:
osdep.c:454: error: syntax error before "X509_STORE_CTX"
osdep.c: In function `ssl_open_verify':
osdep.c:459: error: `ok' undeclared (first use in this function)
osdep.c:461: error: `ctx' undeclared (first use in this function)
osdep.c: In function `ssl_getdata':
osdep.c:596: error: structure has no member named `con'
osdep.c:596: error: structure has no member named `con'
osdep.c:599: error: structure has no member named `con'
osdep.c:621: error: structure has no member named `con'
osdep.c:623: error: structure has no member named `con'
osdep.c:623: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
osdep.c: In function `ssl_sout':
osdep.c:655: error: structure has no member named `con'
osdep.c:660: error: structure has no member named `con'
osdep.c: In function `ssl_abort':
osdep.c:685: error: structure has no member named `con'
osdep.c:686: error: structure has no member named `con'
osdep.c:687: error: structure has no member named `con'
osdep.c:688: error: structure has no member named `con'
osdep.c:690: error: structure has no member named `context'
osdep.c:691: error: structure has no member named `context'
osdep.c:692: error: structure has no member named `context'
osdep.c: In function `ssl_server_init':
osdep.c:786: error: structure has no member named `context'
osdep.c:792: error: structure has no member named `context'
osdep.c:792: error: `SSL_OP_ALL' undeclared (first use in this function)
osdep.c:794: error: structure has no member named `context'
osdep.c:798: error: structure has no member named `context'
osdep.c:802: error: structure has no member named `context'
osdep.c:803: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
osdep.c:808: error: structure has no member named `context'
osdep.c:809: error: structure has no member named `context'
osdep.c:811: error: structure has no member named `con'
osdep.c:811: error: structure has no member named `context'
osdep.c:815: error: structure has no member named `con'
osdep.c:817: error: structure has no member named `con'
osdep.c: At top level:
osdep.c:850: error: syntax error before '*' token
osdep.c:850: error: syntax error before '*' token
osdep.c: In function `ssl_genkey':
osdep.c:853: error: syntax error before '*' token
osdep.c:854: error: `key' undeclared (first use in this function)
osdep.c:856: error: `export' undeclared (first use in this function)
osdep.c:856: error: `keylength' undeclared (first use in this function)
osdep.c:856: error: `RSA_F4' undeclared (first use in this function)
osdep.c: In function `ssl_server_input_wait':
osdep.c:881: error: structure has no member named `con'
osdep.c:881: error: structure has no member named `con'
osdep.c:883: error: structure has no member named `con'
osdep.c:884: error: structure has no member named `con'
*** Error code 1

Stop in /usr/ports/mail/cclient/work/imap-2002d/c-client.
*** Error code 1

Stop in /usr/ports/mail/cclient/work/imap-2002d/c-client.
*** Error code 1

Stop in /usr/ports/mail/cclient/work/imap-2002d.
*** Error code 1

Stop in /usr/ports/mail/cclient/work/imap-2002d.
*** Error code 1

Stop in /usr/ports/mail/cclient.

--Apple-Mail-8--308388124
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



-Bjorn






--Apple-Mail-8--308388124--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01342FD2-4B93-11D8-AF91-003065B84EC8>