# 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/mit/git/openssl/sun4x_510/include -I/mit/git/zlib/sun4x_510/include" \ LDFLAGS="-R/mit/git/zlib/sun4x_510/lib -R/mit/git/openssl/sun4x_510/lib" \ ./configure --prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.10.0/common \ --exec-prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.10.0/sun4x_510 \ --with-openssl=/mit/git/openssl/sun4x_510 --with-zlib=/mit/git/zlib/sun4x_510 \ --with-gssapi=/usr/athena \ --with-ca-bundle=/mit/git/certs/cacert.pem \ --disable-dependency-tracking \ --disable-ldap --disable-ldaps \ --disable-rtsp --disable-telnet --disable-tftp \ --disable-pop3 \ --disable-dict --disable-smb --disable-gopher --disable-mqtt \ --without-libpsl # Linking libcurl no longer gets the passed in LDFLAGS, but we still need these -L early, so here they are. # Also some early -R to make sure we search upgradable paths first at runtime. CURL_LDFLAGS_LIB="-L/mit/git/openssl/sun4x_510/lib -L/mit/git/zlib/sun4x_510/lib -R/mit/git/openssl/sun4x_510/lib -R/mit/git/zlib/sun4x_510/lib" \ gmake gmake install # Link common for each architecture: (cd /afs/sipb.mit.edu/project/git/builds/curl-8.10.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.10.0/*_* .)