Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • garchon
    Junior Member
    • Feb 2015
    • 3

    bcl2fastq2 install issue

    Hi,

    I am trying to install the bcl2fastq2 soft with no success on linux debian.
    I believe I followed the steps given by the Illumina notice.

    From the output below, I understand it can't find or use the sys/stat.h.
    But the file is definitely there:
    hjg@aurigny:/tmp/bcl2fastq2-v2.15.0.4-build$ locate sys/stat.h
    /usr/include/x86_64-linux-gnu/sys/stat.h

    In anticipation, thanks very much for your help.

    Here is the output of the configure command:

    hjg@aurigny:/tmp/bcl2fastq2-v2.15.0.4-build$ sudo ${SOURCE}/src/configure --prefix=${INSTALL_DIR}

    cmake version "2.8.9" is already installed at /tmp/bcl2fastq2-v2.15.0.4-build/bootstrap_cmake/bin/cmake
    nothing to be done
    Using installed /tmp/bcl2fastq2-v2.15.0.4-build/bootstrap_cmake/bin/cmake
    -- The C compiler identification is GNU 4.7.2
    -- The CXX compiler identification is GNU 4.7.2
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/g++
    -- Check for working CXX compiler: /usr/bin/g++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- install prefix: /usr/local/bin/bcl2fastq2-v2.15.0.4
    -- install exec prefix: .
    -- install bin dir: ./bin
    -- install lib dir: ./lib/bcl2fastq-2.15.0.4
    -- install libexec dir: ./libexec/bcl2fastq-2.15.0.4
    -- install include dir: include/bcl2fastq-2.15.0.4
    -- install data dir: share/bcl2fastq-2.15.0.4
    -- install doc dir: doc/bcl2fastq-2.15.0.4
    -- install man dir: man
    -- Could NOT find Boost
    -- Boost 1.54.0 not found. Boost will be built from the distribution...
    Decompressing /tmp/bcl2fastq/src/../redist/boost_1_54_0.tar.bz2
    Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
    Unicode/ICU support for Boost.Regex?... not found.
    Backing up existing Boost.Build configuration in project-config.jam.2
    Generating Boost.Build configuration in project-config.jam...

    Bootstrapping is done. To build, run:

    ./b2

    To adjust configuration, edit 'project-config.jam'.
    Further information:

    - Command line help:
    ./b2 --help

    - Getting started guide:


    - Boost.Build documentation:


    Performing configuration checks

    - zlib : yes (cached)
    - has_icu builds : no (cached)

    Component configuration:

    - atomic : not building
    - chrono : building
    - context : not building
    - coroutine : not building
    - date_time : building
    - exception : not building
    - filesystem : building
    - graph : not building
    - graph_parallel : not building
    - iostreams : building
    - locale : not building
    - log : not building
    - math : not building
    - mpi : not building
    - program_options : building
    - python : not building
    - random : not building
    - regex : building
    - serialization : building
    - signals : not building
    - system : building
    - test : not building
    - thread : building
    - timer : building
    - wave : not building

    ...patience...
    ...patience...
    ...found 22368 targets...
    boost-1_54_0 installed successfully
    -- Successfuly built boost 1.54.0 from the distribution package...
    -- Verifying target directories access
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- inttypes.h found as /usr/include/inttypes.h
    -- malloc.h found as /usr/include/malloc.h
    -- mcheck.h found as /usr/include/mcheck.h
    -- memory.h found as /usr/include/memory.h
    -- signal.h found as /usr/include/signal.h
    -- stdint.h found as 1
    -- stdlib.h found as /usr/include/stdlib.h
    -- string.h found as /usr/include/string.h
    -- strings.h found as /usr/include/strings.h
    -- time.h found as /usr/include/time.h
    -- unistd.h found as /usr/include/unistd.h
    CMake Error at cmake/macros.cmake:84 (message):
    Required header sys/stat.h not found.
    Call Stack (most recent call first):
    cmake/cxxConfigure.cmake:44 (bcl2fastq_find_header_or_die)
    cxx/CMakeLists.txt:37 (include)


    -- Configuring incomplete, errors occurred!
    Couldn't configure the project:
    /tmp/bcl2fastq2-v2.15.0.4-build/bootstrap_cmake/bin/cmake -H'/tmp/bcl2fastq/src' -B'/tmp/bcl2fastq2-v2.15.0.4-build' -G'Unix Makefiles' -DBCL2FASTQ_NAME_SHORT:STRING="bcl2fastq" -DBCL2FASTQ_NAME_LONG:STRING="BCL to FASTQ file converter" -DBCL2FASTQ_COPYRIGHT:STRING="Copyright (c) 2007-2014 Illumina, Inc." -DBCL2FASTQ_VERSION_MAJOR:STRING="2" -DBCL2FASTQ_VERSION_MINOR:STRING="15" -DBCL2FASTQ_VERSION_PATCH:STRING="0" -DBCL2FASTQ_VERSION_BUILD:STRING="4" -DBCL2FASTQ_VERSION:STRING="2.15.0.4" -DBCL2FASTQ_SOURCE_DIR:STRING="/tmp/bcl2fastq/src" -DBCL2FASTQ_PREFIX:PATH="/usr/local/bin/bcl2fastq2-v2.15.0.4/" -DBCL2FASTQ_EXEC_PREFIX:PATH="" -DCMAKE_INSTALL_PREFIX:PATH="/usr/local/bin/bcl2fastq2-v2.15.0.4/" -DBCL2FASTQ_BINDIR:PATH="" -DBCL2FASTQ_LIBDIR:PATH="" -DBCL2FASTQ_LIBEXECDIR:PATH="" -DBCL2FASTQ_INCLUDEDIR:PATH="" -DBCL2FASTQ_DATADIR:PATH="" -DBCL2FASTQ_DOCDIR:PATH="" -DBCL2FASTQ_MANDIR:PATH="" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_PARALLEL:STRING="1"
    Moving CMakeCache.txt to CMakeCache.txt.removed
  • sarvidsson
    Senior Member
    • Jan 2015
    • 137

    #2
    Did you try to install the RPMs with alien instead of compiling from source? For bcl2fastq 1.8.4 this works on Ubuntu (an older Perl interpreter is needed as well).

    Comment

    • garchon
      Junior Member
      • Feb 2015
      • 3

      #3
      Thanks for the suggestion.
      I tried it.
      I downloaded the package from Basespace.
      However alien fails:

      hjg@aurigny:~$ sudo alien -k bcl2fastq2-v2.15.0.4-linux-x86_64.rpm
      Package build failed. Here's the log:
      dh_testdir
      dh_testdir
      dh_testroot
      dh_prep
      dh_installdirs
      dh_installdocs
      dh_installchangelogs
      parsechangelog/debian: avertissement: debian/changelog(l1): la version « v2.15.0.4-1*» n'est pas valable*: le numéro de version ne commence par par un chiffre
      LINE: bcl2fastq2 (v2.15.0.4-1) experimental; urgency=low
      find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
      xargs -0 -r -i cp -a {} debian/bcl2fastq2
      dh_compress
      dh_makeshlibs
      dh_installdeb
      dh_shlibdeps
      dh_gencontrol
      parsechangelog/debian: avertissement: debian/changelog(l1): la version « v2.15.0.4-1*» n'est pas valable*: le numéro de version ne commence par par un chiffre
      LINE: bcl2fastq2 (v2.15.0.4-1) experimental; urgency=low
      dpkg-gencontrol: avertissement: champ Depends du paquet bcl2fastq2*: variable de substitution inconnue ${shlibsepends}
      dh_md5sums
      dh_builddeb
      dpkg-deb*: erreur*:*analyse du fichier 'debian/bcl2fastq2/DEBIAN/control' vers la ligne 2 paquet 'bcl2fastq2'*:
      erreur dans la chaîne Version «*v2.15.0.4-1*»: le numéro de version ne commence pas par un chiffre
      dh_builddeb: dpkg-deb --build debian/bcl2fastq2 .. returned exit code 2
      make: *** [binary-arch] Erreur 1

      Something I would be doing wrong?

      Comment

      • sarvidsson
        Senior Member
        • Jan 2015
        • 137

        #4
        Weird - I just tried to alien the same RPM on my Ubuntu 14.04 without any problems.

        Did you try to simply remove the offending "v" from "v2.15.0.4-1"? Otherwise you can extract the files from the RPM with

        Code:
        rpm2cpio bcl2fastq2-v2.15.0.4-linux-x86_64.rpm | cpio -dium

        Comment

        • sarvidsson
          Senior Member
          • Jan 2015
          • 137

          #5
          Forgot to say that you'll still have to find out the dependencies, however - I guess at least boost, xsltproc and libxml2.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            @garchon: From your original message.

            You could try to make a soft-link for stat.h in /usr/local/include and see if that gets you past the original error.

            Code:
            $ sudo ln -s /usr/include/x86_64-linux-gnu/sys/stat.h /usr/include/sys/stat.h

            Comment

            • garchon
              Junior Member
              • Feb 2015
              • 3

              #7
              Sorry for my late feedback.
              Many thanks for your very helpful suggestions.

              To "sarvidsson":
              Removing the offending "v" did not work but "rpm2cpio bcl2fastq2-v2.15.0.4-linux-x86_64.rpm | cpio -dium" did the trick and generated a bcl2fastq executable. There are some differences though between the output of this local bcl2fastq and that of the basespace app. E.g. the header line of the reads end with the index sequences of the sample instead of the sample number. I contacted the illumina tech support to look into this and also about the default settings.

              To "Genomax":
              Making the soft link worked for stat.h and the configure command was completed fine.
              So, thanks.
              However, it's the linking that now bugs:

              $sudo make
              ..........
              Linking CXX executable bcl2fastq
              CMakeFiles/bcl2fastq.dir/bcl2fastq.cpp.o: In function `boost::filesystem:: operator/(boost::filesystem:: path const&, boost::filesystem:: path const&)':
              /usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem:: path:: operator/=(boost::filesystem:: path const&)'
              ............
              The /usr/local/include/boost version is 1.49, installed as a debian package.
              The v1.54 recommended by Illumina and installed during the build of bcl2fastq is found at /usr/local/lib/boost_1.54.0/
              The BOOST_ROOT was undefined. So I set it to /usr/local/lib/boost_1.54.0/ but it still does not work.

              Would you have more helpful ideas?
              Last edited by garchon; 03-10-2015, 05:15 AM.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Can you edit your post and enclose the error message above in [QUOTE] [/ QUOTE] (remove the space between / QUOTE when using) tags. It is hard to read otherwise.

                What you are seeing is expected behavior of the standalone bcl2fastq. It is actually a useful feature for us.
                Last edited by GenoMax; 03-10-2015, 05:33 AM.

                Comment

                • sklages
                  Senior Member
                  • May 2008
                  • 628

                  #9
                  Originally posted by garchon View Post
                  Sorry for my late feedback.
                  The /usr/local/include/boost version is 1.49, installed as a debian package.
                  The v1.54 recommended by Illumina and installed during the build of bcl2fastq is found at /usr/local/lib/boost_1.54.0/
                  The BOOST_ROOT was undefined. So I set it to /usr/local/lib/boost_1.54.0/ but it still does work.

                  Would you have more helpful ideas?
                  Try to additionally set (or wherever lib/include are located):
                  Code:
                  export BOOST_LIBRARYDIR=$BOOST_ROOT/lib
                  export BOOST_INCLUDEDIR=$BOOST_ROOT/include
                  Then configure and rebuild. At least this helped me in an older version of bcl2fastq ..

                  Where the errors you got with BOOST_ROOT set the same or just similar?

                  Comment

                  • yifangt
                    Member
                    • Feb 2011
                    • 61

                    #10
                    bcl2fastq installation failed

                    Hello,
                    I met the same problem when installing bcl2fastq-v2.17.1.14 from source.
                    Tried suggestions from this post, none worked.
                    It seems related to boost library as it tried to install boost_1_54_0 with the package. See the attached log.
                    I am using GNU/Linux 3.13.0-24-generic x86_64 Mint 17 Qiana
                    Any suggestions?

                    Thanks!

                    =========================================================================================

                    I just found out the solution by simply under root. As reference to those who hit the same wall, I freshly made subfold under bcl2fastq after unzip the tarball.
                    Code:
                    mkdir build && cd build
                    sudo ../src/configre --prefix=/path/where/to/install
                    sudo make && make install
                    bcl2fastq automatically handled the boost_1_54_0 installation even I have more updated version. Let it go ahead and it worked for me!
                    Attached Files
                    Last edited by yifangt; 12-08-2015, 02:59 PM.

                    Comment

                    • jstjohn
                      Member
                      • Jun 2010
                      • 35

                      #11
                      As an alternative to the symlink idea, you could just modify your environment. I had to edit/recompress boost 1.54.0 (b/c I am running gcc-4.8) as described here: https://svn.boost.org/trac/boost/ticket/7979. So yeah, I was able to install this to a local prefix w/out root access. Bonus

                      Code:
                      # needed by boost install
                      export CPLUS_INCLUDE_PATH=/usr/include/x86_64-linux-gnu:$CPLUS_INCLUDE_PATH
                      
                      #needed to modify/recompress boost 1.54 in ../redist
                      # applied the change noted here: https://svn.boost.org/trac/boost/ticket/7979
                      $SOURCE/src/configure --prefix=${INSTALL_DIR} --parallel=20 --static --build-type Release
                      make -j 20
                      make -j 20 install

                      Comment

                      • biocyberman
                        Junior Member
                        • Nov 2010
                        • 2

                        #12
                        @jstjohn 's answer helped me to install bcl2fastq on Ubuntu 14.04. I also removed linuxbrew which interfered with compilation.

                        Comment

                        Latest Articles

                        Collapse

                        • SEQadmin2
                          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                          by SEQadmin2


                          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                          ...
                          Yesterday, 10:05 AM
                        • SEQadmin2
                          Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                          by SEQadmin2


                          With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                          Introduction

                          Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                          05-22-2026, 06:42 AM
                        • SEQadmin2
                          Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                          by SEQadmin2

                          Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                          Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                          05-06-2026, 09:04 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, Yesterday, 12:03 PM
                        0 responses
                        19 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 11:40 AM
                        0 responses
                        14 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 05-28-2026, 11:40 AM
                        0 responses
                        29 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 05-26-2026, 10:12 AM
                        0 responses
                        31 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...