Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cufflinks 2 - install error

    Hi,
    I'm trying to install Cufflink2.0.2 in order to compare new version and "old" version (1.3.0) and to upgrade my pipeline. I type:

    Code:
    ./configure --prefix=$HOME/path/to/my/Cufflinks2/dir --with-boost=/path/to/boost/library --with-bam=path/to/Samtools/dir [COLOR="Red"]--with-eigen=/path/to/Eigen/eigen-eigen-5097c01bcdc4/Eigen[/COLOR]
    up to here, so good (I used the same command without --with-eigen option to install old version); however when i type "make" command, I see this error message:

    Code:
    [user@server]$ make
    make  all-recursive
    make[1]: Entering directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2'
    Making all in src
    make[2]: Entering directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../src  -I/usr/include  -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wunused -Wuninitialized -m64 -O3  -DNDEBUG  -pthread -I/home/software_analisi/boost/librerie/include -I/home/software_analisi/SAMTools/include -I/home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen/include -MT clustering.o -MD -MP -MF ".deps/clustering.Tpo" -c -o clustering.o clustering.cpp; \
            then mv -f ".deps/clustering.Tpo" ".deps/clustering.Po"; else rm -f ".deps/clustering.Tpo"; exit 1; fi
    In file included from clustering.h:38,
                     from clustering.cpp:10:
    abundances.h:21:23: [COLOR="Red"]error: Eigen/Dense: No such file or directory[/COLOR]
    progressbar.h: In constructor âProgressBar::ProgressBar(std::string, double)â:
    progressbar.h:28: warning: converting to âintâ from âdoubleâ
    progressbar.h: In member function âvoid ProgressBar::update(const char*, double)â:
    progressbar.h:61: warning: converting to âintâ from âlong doubleâ
    progressbar.h: In member function âvoid ProgressBar::remaining(int)â:
    progressbar.h:81: warning: converting to âintâ from âlong doubleâ
    abundances.h: At global scope:
    abundances.h:379: error: âEigenâ was not declared in this scope
    abundances.h:379: error: template argument 1 is invalid
    abundances.h:379: error: template argument 2 is invalid
    abundances.h:465: error: âEigenâ was not declared in this scope
    abundances.h:465: error: template argument 1 is invalid
    abundances.h:465: error: template argument 2 is invalid
    abundances.h:558: error: âEigenâ was not declared in this scope
    abundances.h:558: error: template argument 1 is invalid
    abundances.h:558: error: template argument 2 is invalid
    abundances.h:641: error: âEigenâ was not declared in this scope
    abundances.h:641: error: template argument 1 is invalid
    abundances.h:641: error: template argument 2 is invalid
    abundances.h:645: error: expected â,â or â...â before â::â token
    abundances.h:648: error: ISO C++ forbids declaration of âEigenâ with no type
    abundances.h:650: error: expected â,â or â...â before â::â token
    abundances.h:653: error: ISO C++ forbids declaration of âEigenâ with no type
    clustering.h:85: error: âEigenâ was not declared in this scope
    clustering.h:85: error: template argument 1 is invalid
    clustering.h:85: error: template argument 2 is invalid
    clustering.h: In function âvoid cluster_transcripts(const AbundanceGroup&, std::vector<AbundanceGroup, std::allocator<AbundanceGroup> >&, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<long unsigned int, long int>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >*, int*)â:
    clustering.h:129: error: âEigenâ was not declared in this scope
    clustering.h:129: error: template argument 1 is invalid
    clustering.h:129: error: template argument 2 is invalid
    clustering.h:129: error: invalid type in declaration before â=â token
    clustering.h:135: error: âEigenâ cannot appear in a constant-expression
    clustering.h:135: error: template argument 1 is invalid
    clustering.h:135: error: template argument 2 is invalid
    clustering.h:135: error: invalid type in declaration before â=â token
    clustering.h:144: error: âEigenâ cannot appear in a constant-expression
    clustering.h:144: error: template argument 1 is invalid
    clustering.h:144: error: template argument 2 is invalid
    clustering.h:144: error: request for member âsizeâ in âtrans_assigned_countsâ, which is of non-class type âconst intâ
    clustering.h:144: error: request for member âsizeâ in âtrans_assigned_countsâ, which is of non-class type âconst intâ
    clustering.h:144: error: âEigenâ is not a class or namespace
    clustering.h:170: error: request for member âsizeâ in âassigned_countsâ, which is of non-class type âintâ
    clustering.h:175: error: invalid types âconst int[size_t]â for array subscript
    clustering.h:177: error: invalid types âint[size_t]â for array subscript
    make[2]: *** [clustering.o] Error 1
    make[2]: Leaving directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/software_analisi/Cufflinks2/cufflinks-2.0.2'
    make: *** [all] Error 2
    Do you have any suggestions to solve my issue?

    Thanks.

  • #2
    Did you actually compile Eigen with cmake? From your directory structure, it looks likes you just extracted the tarball.

    Comment


    • #3
      Yes, I compiled eigen in this way:
      Code:
      mkdir /home/software_analisi/altri_software/Eigen/bin
      cd [COLOR="Red"]/home/software_analisi/altri_software/Eigen/bin[/COLOR]
      /home/software_analisi/altri_software/cmake/cmake-2.8.10.2/bin/cmake /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4
      make install
      However (is not REQUIRED ) to compile eigen.


      Code:
      ./configure --prefix=/home/software_analisi/Cufflinks2/bin --with-boost=/home/software_analisi/boost/librerie --with-bam=/home/software_analisi/SAMTools --with-eigen=[COLOR="Blue"]/home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen[/COLOR]


      the directory /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen in --with-eigen option is not the same of /home/software_analisi/altri_software/Eigen/bin/Eigen

      Comment


      • #4
        Does the Eigen directory that you installed have include as a subdirectory? Does include contain the following files and directories? :

        Eigen/ <---- this is /home/software_analisi/altri_software/Eigen/eigen-eigen-5097c01bcdc4/Eigen
        --- include/
        ------ Eigen/{Array,...,Dense,...UmfPackSupport}
        ------ unsupported/
        ------ signature_of_eigen3_matrix_library

        Comment


        • #5
          I have not "include" directory in ../../eigen-eigen-5097c01bcdc4/Eigen

          So, do i have to create ../../eigen-eigen-5097c01bcdc4/Eigen/include and put all files in it?????

          my directory tree is in attachments.

          Thanks a lot.
          Attached Files

          Comment


          • #6
            Yeah, COPY (in case we do something wrong) the library files into Eigen/include. Try that. Otherwise, re-read the Eigen documentation and make sure you've installed it properly.

            Comment


            • #7
              ok I solve my problem; in particular (for other users):
              You have to:
              Code:
              tar -zxvf eigen-eigen-5097c01bcdc4.tar.gz; (for actual eigen package: version 3.1.2)
              cd eigen-eigen-5097c01bcdc4;
              mkdir /your/path/include
              cp -R eigen-eigen-5097c01bcdc4/Eigen [COLOR="Red"]/your/path[/COLOR]/include
              ./configure --prefix=/bin/path --with-boost=/boost/path --with-bam=/sam/path --with-eigen=[COLOR="Red"]/your/path[/COLOR]
              make
              make install
              .

              Thanks a lot aafc.

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Essential Discoveries and Tools in Epitranscriptomics
                by seqadmin


                The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
                Yesterday, 07:01 AM
              • seqadmin
                Current Approaches to Protein Sequencing
                by seqadmin


                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                04-04-2024, 04:25 PM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              55 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              51 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              45 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-04-2024, 09:00 AM
              0 responses
              55 views
              0 likes
              Last Post seqadmin  
              Working...
              X