# This uses downloaded tarballs in /mit/git/tarballs because the # autotools available on athena are too old right now. # configure added unnecessary -pthread to CFLAGS due to botched AIX fix. # Applied patch here. Upstream fix proposed. # On Athena 9.4 (solaris, multics): # We need to specify our OpenSSL include path early, or it'll find the headers in /usr/athena/include # We also need to specify our OpenSSL lib dir in the run path. # While we're at it, we'll do that for zlib too. # We disable most protocols so we don't bring in any other libraries that might link the system OpenSSL. # Also, maybe it'll build faster that way. # Oh, and we now grab a CA Cert bundle from mozilla via curl.se and use that so we have any CAs at all. CPPFLAGS="-I/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/include -I/afs/sipb.mit.edu/project/git/builds/zlib-1.3/sun4x_510/include" \ LDFLAGS="-R/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/lib -R/afs/sipb.mit.edu/project/git/builds/zlib-1.3/sun4x_510/lib" \ ./configure --prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.3.0/common \ --exec-prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.3.0/sun4x_510 \ --with-openssl=/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510 \ --with-zlib=/afs/sipb.mit.edu/project/git/builds/zlib-1.3/sun4x_510 \ --with-gssapi=/usr/athena \ --with-ca-bundle=/afs/sipb.mit.edu/project/git/certs/cacert.pem \ --disable-dependency-tracking \ --disable-ldap --disable-ldaps \ --disable-rtsp --disable-telnet --disable-tftp \ --disable-pop3 --disable-imap --disable-smtp \ --disable-dict --disable-smb --disable-gopher --disable-mqtt gmake gmake install # Link common for each architecture: (cd /afs/sipb.mit.edu/project/git/builds/curl-8.3.0; \ for arch in `ls -d *_*`; do \ (cd $arch; \ ln -sf ../common/* . ) \ done;) # To deploy: (cd /afs/sipb.mit.edu/project/git/curl ; ln -sf ../builds/curl-8.3.0/*_* .)