I am trying to install bcl2fastq from source.  

However, during the make process, I am encountering an error: 

    make[2]: *** [c++/lib/demultiplex/CMakeFiles/casava_demultiplex.dir/BclDemultiplexer.cpp.o] Error 1
    make[1]: *** [c++/lib/demultiplex/CMakeFiles/casava_demultiplex.dir/all] Error 2
    make: *** [all] Error 2 

Does anyone know how you can get around this, and what this means? I have built the boost that comes with the redist folder and have pointed to this when configuring the bcl2fastq program. 
Please download bcl2fastq2-v2.17.1.14-Linux-x86_64.rpm from above link and follow the instructions below: (copy/pasted from: https://github.com/igorbarinov/bcl2fastq/blob/master/install-2.17.sh)
   

     sudo apt-get install alien --assume-yes
     sudo alien bcl2fastq2-v2.17.1.14-Linux-x86_64.rpm
      sudo dpkg -i bcl2fastq2_0v2.17.1.14-2_amd64.deb

I was able to generate deb (bcl2fastq2_0v2.17.1.14-2_amd64.deb) and install it. Let us know if you are not able to generate deb. bcl2fastq is available in /usr/local/bin.

my system: 

    $ cat /etc/lsb-release 
    DISTRIB_ID=LinuxMint
    DISTRIB_RELEASE=18.2
    DISTRIB_CODENAME=sonya
    DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya
Linux mint 18.2 is based on ubuntu xenial (16.0.4)

    $ uname -a
    Linux genomics 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

For some reason, if you fail to generate deb, i can upload the deb file and share a link to download.