Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jov14
    Member
    • Oct 2014
    • 18

    problems configuring installation of Bcl2fastq

    Hi,
    I want to install Bcl2fastq on my system running Ubuntu 14.04.2 LTS. I have admin rights.

    However the configure step always aborts with an error.

    After running configure I first ran into the typical Error messages of "No support for gzip compression" and "No support for bzip2 compression", so i followed early recommendations here and here, and copied "libz.so", "libpthread*" and "libbz2.so" from /usr/lib/x86_64-linux-gnu/ to /usr/lib.

    after that, running "configure" produced this new error message:
    Code:
    CMake Error at cmake/cxxConfigure.cmake:95 (message):
      libxml2 was not found
    As this problem has not been discussed earlier, I tried to use the same approach by copying the libxml2-associated files to /user/lib using the following command:
    Code:
    sudo cp /usr/lib/x86_64-linux-gnu/libxml2* /usr/local/lib
    As this did not help I followed the setup instruction at the end of this thread and this very helpful setup-script to ensure that all dependancies are met.

    However I still get the same error message:
    Code:
    -- Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) 
    CMake Error at cmake/cxxConfigure.cmake:95 (message):
      libxml2 was not found
    Call Stack (most recent call first):
      c++/CMakeLists.txt:33 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Couldn't configure the project:
    
    /tmp/bcl2fastq-build/bootstrap/bin/cmake -H"/tmp/bcl2fastq/src" -B"/tmp/bcl2fastq-build" -G"Unix Makefiles"  -DCASAVA_PREFIX:PATH=/usr/local/tools/bcl2fastq-1.8.4 -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/tools/bcl2fastq-1.8.4 -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
    
    Moving CMakeCache.txt to CMakeCache.txt.removed
    Any suggestions?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Start with

    Code:
    $ sudo apt-get install libxml2 libxml2-dev
    see if that fixes the error.

    Comment

    • jov14
      Member
      • Oct 2014
      • 18

      #3
      Thanks a lot!
      I was sure I had libxml2 installed, but i seem to have been mistaken...
      Configure now completed without errors. However, now I run into the following errors during "make" at 51%
      Code:
      [ 51%] Building CXX object c++/lib/io/CMakeFiles/casava_io.dir/PtreeXml.cpp.o
      /tmp/bcl2fastq/src/c++/lib/io/PtreeXml.cpp: In function ‘std::ostream& casava::io::operator<<(std::ostream&, const ptree&)’:
      /tmp/bcl2fastq/src/c++/lib/io/PtreeXml.cpp:123:123: error: no matching function for call to ‘xml_writer_make_settings(char, int)’
               boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings(' ', 2));
      The final error message is:
      Code:
      make[2]: *** [c++/lib/io/CMakeFiles/casava_io.dir/PtreeXml.cpp.o] Error 1
      make[1]: *** [c++/lib/io/CMakeFiles/casava_io.dir/all] Error 2
      make: *** [all] Error 2
      boost is definitively installed. Do you have suggestions for this also?

      Comment

      • fanli
        Senior Member
        • Jul 2014
        • 197

        #4
        Might be an issue with your Boost version. From a different topic, but similar error:
        src/save_map.cpp:904:41: error: no matching function for call to 'xml_writer_make_settings' write_xml(filename,pt,std::locale(),boost::property_tree::xml_writer_make_settings(' ',4)); ^~~~~~~~~~~~~...


        I was able to install successfuly with Boost 1.55

        Comment

        • jov14
          Member
          • Oct 2014
          • 18

          #5
          I have boost version 1.54 installed, which seems to be the newest version of boost in the official Ubuntu repositories.
          So I guess that means I should download the most current version of boost directly and compile it manually?
          I'll try.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Illumina software is picky about version of boost libraries. A local copy here is using boost v.1.44 (which the software built itself).

            Comment

            • jov14
              Member
              • Oct 2014
              • 18

              #7
              Hi, everyone.
              while trying to figure out how to install which boost library, I simultaneously tried the alternative approach of installing via the Illumina-supplied rpm-package using the instructions here

              This now works fine, once expat-2.1.0 and xml-parser-2.41 were installed.

              So right now, I am abandoning trying to compile bcl2fastq from source and just work with the successfully installed rpm-package version.

              Thanks everyone!

              Comment

              • liorgalanti
                Junior Member
                • Jan 2018
                • 3

                #8
                This is for the latest bcl2fastq version 2.20.0 but it seems to be a similar error.

                compiling the latest Illumina bcl2fastq2 version 2.20 and 2.19 on ubuntu 16.04.3 seems to yield the following error: https://gist.github.com/moonwatcher/5698a70fe4be81d1277ee0296c4c8b0c The...

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                  by SEQadmin2


                  Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                  The systematic characterization of the human proteome has
                  ...
                  07-20-2026, 11:48 AM
                • SEQadmin2
                  Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by SEQadmin2



                  Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                  ...
                  07-09-2026, 11:10 AM
                • SEQadmin2
                  Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                  by SEQadmin2



                  Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                  There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                  07-08-2026, 05:17 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 07-20-2026, 11:10 AM
                0 responses
                21 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-13-2026, 10:26 AM
                0 responses
                33 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-09-2026, 10:04 AM
                0 responses
                44 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                30 views
                0 reactions
                Last Post SEQadmin2  
                Working...