After spending numerous hours trying to install bcl2fastq 2.20 in my server I decided to ask for help. 

I am trying to install bcl2fastq 2.20 in Ubuntu 18.04. I have followed multiple recommendations for fixing inconveniences while installing bcl2fastq with newer boost versions (as in these posts  [here][1] and [here][2]  ).

I don't get any errors after running configure from the build directory. My error appears after typing make afterwards. 


     $ make
    Scanning dependencies of target BCL2FASTQ_OPT
    [  0%] Built target BCL2FASTQ_OPT
    Scanning dependencies of target bcl2fastq_common
    [  1%] Building CXX object cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/Logger.cpp.o
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp: In constructor ‘bcl2fastq::common::detail::LogStream::LogStream()’:
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:122:13: error: ‘clog’ is not a member of ‘std’
     , ias_(std::clog)
                 ^~~~
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:122:13: note: suggested alternative: ‘log’
     , ias_(std::clog)
                 ^~~~
                 log
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp: In constructor ‘bcl2fastq::common::detail::LogStream::LogStream(bcl2fastq::common::LogLevel::value_type)’:
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:130:13: error: ‘clog’ is not a member of ‘std’
     , ias_(std::clog)
                 ^~~~
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:130:13: note: suggested alternative: ‘log’
     , ias_(std::clog)
                 ^~~~
                 log
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp: In copy constructor ‘bcl2fastq::common::detail::LogStream::LogStream(const bcl2fastq::common::detail::LogStream&)’:
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:146:13: error: ‘clog’ is not a member of ‘std’
     , ias_(std::clog)
                 ^~~~
    /media/software/bcl2fastq/bcl2fastq/src/cxx/lib/common/Logger.cpp:146:13: note: suggested alternative: ‘log’
     , ias_(std::clog)
                 ^~~~
                 log
    cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/build.make:57: recipe for target 'cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/Logger.cpp.o' failed
    make[2]: *** [cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/Logger.cpp.o] Error 1
    CMakeFiles/Makefile2:257: recipe for target 'cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/all' failed
    make[1]: *** [cxx/lib/common/CMakeFiles/bcl2fastq_common.dir/all] Error 2
    Makefile:126: recipe for target 'all' failed
    make: *** [all] Error 2

ANy ideas on how to fix this? 
Suggestions are highly appreciated.


  [1]: https://backwardincompatible.com/post/169360794395/compiling-illumina-bcl2fastq-220-on-ubuntu-with
  [2]: https://gist.github.com/jblachly/f8dc0f328d66659d9ee005548a5a2d2e
I finally found a post on how to install bcl2fastq v2.20 from a tarball. I followed the instructions and installed it with no errors!!! https://sarahpenir.github.io/linux/Installing-bcl2fastq/