Skip site navigation (1)Skip section navigation (2)
Date:      28 Mar 2001 10:54:44 -0800
From:      Ricardo Anguiano <anguiano@cs.ucdavis.edu>
To:        roam@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: curl-7.6.1
Message-ID:  <863dbxohaj.fsf@rfx-64-6-211-123.users.reflexcom.com>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863dbxohaj.fsf>