From owner-freebsd-ports Wed Mar 28 10:54:49 2001 Delivered-To: freebsd-ports@freebsd.org Received: from rfx-64-6-211-123.users.reflexcom.com (rfx-64-6-211-123.users.reflexcom.com [64.6.211.123]) by hub.freebsd.org (Postfix) with ESMTP id 1230537B71C; Wed, 28 Mar 2001 10:54:46 -0800 (PST) (envelope-from anguiano@rfx-64-6-211-123.users.reflexcom.com) Received: (from anguiano@localhost) by rfx-64-6-211-123.users.reflexcom.com (8.9.3/8.9.3) id KAA49387; Wed, 28 Mar 2001 10:54:45 -0800 (PST) (envelope-from anguiano@rfx-64-6-211-123.users.reflexcom.com) X-Authentication-Warning: rfx-64-6-211-123.users.reflexcom.com: anguiano set sender to anguiano@rfx-64-6-211-123.users.reflexcom.com using -f To: roam@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: curl-7.6.1 From: Ricardo Anguiano Reply-To: Ricardo Anguiano Date: 28 Mar 2001 10:54:44 -0800 Message-ID: <863dbxohaj.fsf@rfx-64-6-211-123.users.reflexcom.com> Lines: 61 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I just had a hard time building curl with openssl. By default curl is built without openssl. I have openssl installed. Here's a list of what I tried and failed with: (pwd: /usr/ports/ftp/curl) export USE_OPENSSL=1; make install pkg_delete curl-7.6.1 make clean vi Makefile, remove .if around USE_OPENSSL=YES; make install pkg_delete curl-7.6.1 make clean vi Makefile, s/USE_OPENSSL=YES/USE_OPENSSL=yes/; make install Here's what worked: (pwd: /usr/ports/ftp/curl) pkg_delete curl-7.6.1 make clean make install cd work/curl-7.6.1 gmake clean rm config.cache CPPFLAGS=-I/usr/local/include/ LDFLAGS=-L/usr/local/lib ./configure --with-ssl gmake cd /usr/local/lib mv libcurl.a libcurl.a.old mv libcurl.la libcurl.la.old mv libcurl.so libcurl.so.old mv libcurl.so.1 libcurl.so.1.old cd /usr/ports/ftp/curl/work/curl-7.6.1 cp ./lib/.libs/libcurl.so.1 /usr/local/lib cp ./lib/.libs/libcurl.so /usr/local/lib cp ./lib/.libs/libcurl.a /usr/local/lib cp ./lib/.libs/libcurl.la /usr/local/lib The whole point of this was to get gotmail (http://www.hawkins.emu.id.au/gotmail) to work. It works now :) Please let me know if there was an easier way to get curl built with openssl. Thanks, -Ricardo Anguiano PS here's my machine info and openssl version. root@home$ uname -a FreeBSD rfx-64-6-211-123.users.reflexcom.com 3.5-STABLE FreeBSD 3.5-STABLE #4: Mon Mar 26 21:47:18 PST 2001 toor@rfx-64-6-211-123.users.reflexcom.com:/usr/src/sys/compile/TETSUO i386 root@home$ pkg_info | grep -i ssl openssl-0.9.5a_1 SSL and crypto library To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message