Skip to content

Instantly share code, notes, and snippets.

@YasuhiroABE
Last active February 15, 2018 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YasuhiroABE/bff5031f317327e6be99009d41b03bb2 to your computer and use it in GitHub Desktop.
Save YasuhiroABE/bff5031f317327e6be99009d41b03bb2 to your computer and use it in GitHub Desktop.
Build the latest lftp on Solaris 11.3

Prerequisites

  • Solaris 11.3
  • Solaris Studio 12.4
  • GNU Tools (readline, etc.)
#!/bin/bash
# Prerequisites
# * Solaris 11.3
# * Solaris Studio 12.4
# * GNU Tools (readline, etc.)
#
# If you don't want to use the xstow/stow command, please modify the r-value of the prefix option.
LFTP_VERSION="4.8.3"
wget http://lftp.yar.ru/ftp/lftp-${LFTP_VERSION}.tar.bz2
tar xvjf lftp-${LFTP_VERSION}.tar.bz2
cd lftp-${LFTP_VERSION}
env CXX=CC ./configure --without-gnutls --with-readline=/usr/local/gnu --prefix=${HOME}/stow/lftp-${LFTP_VERSION}/
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment