Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • potatoo
    Junior Member
    • Aug 2012
    • 1

    SPP -- ChIP-seq program installation 2??

    Hi guys,
    I've tried install spp (http://compbio.med.harvard.edu/Supplements/ChIP-seq/) to my macbook pro or my ubuntu, met the same error. Stcuking for ages!! hope anyone can help

    Here is some detailed infor:
    macbook pro 10.7.4 OSX Lion
    ubuntu 12.04
    I've successfully installed boost C++, and R( both are the most recent one).

    below is the error message I got, every time, and on both machine :

    ----------------------
    g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -fPIC -g -O2 -c bamread.cpp -o bamread.o
    In file included from /usr/include/c++/4.2.1/backward/strstream:51,
    from bamread.cpp:8:
    /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
    bamread.cpp:14:31: error: boost/tokenizer.hpp: No such file or directory
    bamread.cpp: In function ‘SEXPREC* read_bam(SEXPREC*, SEXPREC*)’:
    bamread.cpp:71: error: ‘boost’ has not been declared
    bamread.cpp:71: error: expected initializer before ‘<’ token
    bamread.cpp:72: error: ‘boost’ has not been declared
    bamread.cpp:72: error: expected primary-expression before ‘char’
    bamread.cpp:72: error: expected `;' before ‘char’
    bamread.cpp:73: error: ‘boost’ has not been declared
    bamread.cpp:73: error: expected primary-expression before ‘char’
    bamread.cpp:73: error: expected `;' before ‘char’
    make: *** [bamread.o] Error 1
    ERROR: compilation failed for package ‘spp’
    * removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/spp’

    --------------------


    PS. I've looked up in the forum, a relative post (http://seqanswers.com/forums/showthr...&highlight=spp) has similar problem, but not quite same, and the link of patch is brocken.

    Many thanks.
    Attached Files
  • Louella
    Junior Member
    • Oct 2012
    • 1

    #2
    Hi Potatoo,

    I am getting exactly the same error message when I tried installing spp version version 1.11 on my Mac and Linux pc. Any luck in fixing this bug?

    Louella
    Last edited by Louella; 10-03-2012, 09:25 AM.

    Comment

    • qtrinh
      Member
      • May 2008
      • 20

      #3
      Hi,
      You are missing the boost library. Install the boost library and try again. Here are my notes from a while back:

      # install dependencies
      sudo yum update
      sudo yum install gcc-c++.x86_64
      sudo yum install gcc-gfortran.x86_64
      sudo yum install readline-static.x86_64
      sudo yum install make.x86_64
      sudo yum install zlib-devel.x86_64
      sudo yum install boost-devel.x86_64

      # install R
      wget http://cran.r-project.org/src/base/R-2/R-2.14.1.tar.gz

      tar xvf R-2.14.1.tar.gz
      cd R-2.14.1
      # configure R with no X
      sudo ./configure --with-x=no

      sudo make
      sudo make install


      # Run R then install the following
      install.packages("bitops")
      install.packages("caTools")


      # get spp
      wget http://www.ebi.ac.uk/~anshul/public/...package.tar.gz
      tar xvf spp_package.tar.gz
      cd spp_package
      sudo R CMD INSTALL spp_1.10.1.tar.gz

      Q

      Comment

      • mthomas
        Junior Member
        • Jan 2016
        • 1

        #4
        Hi,

        I also struggled on this issue, hope this can help (on mac OSX 10.8.5)

        download latest version of spp (1.11) from http://compbio.med.harvard.edu/Supplements/ChIP-seq/

        download the source for boost library and compile:

        ./bootstrap.sh
        ./b2
        ## do not forget the last step !
        sudo ./b2 install

        R CMD INSTALL spp_1.11.tar.gz

        Morgane

        Comment

        Latest Articles

        Collapse

        • 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
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 10:26 AM
        0 responses
        13 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        33 views
        0 reactions
        Last Post SEQadmin2  
        Working...