From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 18:53:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BB1716A4CE for ; Sat, 26 Mar 2005 18:53:44 +0000 (GMT) Received: from floyd.gnulife.org (ns1.gnulife.org [199.86.32.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7560F43D31 for ; Sat, 26 Mar 2005 18:53:43 +0000 (GMT) (envelope-from jamie@gnulife.org) Received: from floyd.gnulife.org (localhost.gnulife.org [127.0.0.1]) by floyd.gnulife.org (8.12.11/8.12.11) with ESMTP id j2QIqh5Y006527 for ; Sat, 26 Mar 2005 12:52:43 -0600 (CST) (envelope-from jamie@gnulife.org) Received: from localhost (jamie@localhost)j2QIqhYx006524 for ; Sat, 26 Mar 2005 12:52:43 -0600 (CST) (envelope-from jamie@gnulife.org) X-Authentication-Warning: floyd.gnulife.org: jamie owned process doing -bs Date: Sat, 26 Mar 2005 12:52:43 -0600 (CST) From: Jamie Ostrowski To: freebsd-questions@freebsd.org Message-ID: <20050326124153.C6399@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Missing libraries when making c-client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 18:53:44 -0000 Greetings, I am having some trouble installing imap from source. I am building a machine for my boss who *insists* that I cannot use anything from the ports collection on the machine, so I can't use the imap port. The build is failing, and it seems as though it can't find some openssl include files, judging from the errors I am getting. This is on a stock 4.11 system. When I untar the imap-2004c1 source, I read the readme doc, and I ran make bsf since it is a FreeBSD install. It will not compile, though. Here is where it is failing: 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 Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make bsf SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c osdep.c:138: x509.h: No such file or directory osdep.c:139: ssl.h: No such file or directory osdep.c:141: pem.h: No such file or directory osdep.c:142: buffer.h: No such file or directory osdep.c:143: bio.h: No such file or directory osdep.c:144: crypto.h: No such file or directory etc etc etc... In the Makefile, under the "bsf" target, we see that the path to the stock openssl libraries in FreeBSD is declared: bsf bso: an $(BUILD) BUILDTYPE=$@ \ SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private LOCKPGM=/usr/sbin/mlock" ...and an ls of /usr/include/openssl does include x509.h, ssl.h, pem.h, etc. Does anyone have any explanation for why it isn't finding those files? Any direction I can go from here? I would rather not build an additional openssl package from a source tree as I would like to just use what is on the system. It would make things cleaner (fewer moving parts) when cvsupping and building world, etc. I would prefer to use the native libraries. Thanks, - Jamie The Moon is Waning Gibbous (100% of Full)