Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • tophat install errors

    Could you please give me some advice for handling tophat installation errors?

    I am installing tophat following manual's instruction. When I run ./configure, everything seems okay and there is no error. However, when I run make, I get following errors.

    Any advice would be greatly appreciated.

    PHP Code:
    make  all-recursive
    make
    [1]: Entering directory `/home/seo/Desktop/NGS_related/programs/tophat-1.3.1'
    Making all in src
    make[2]: Entering directory 
    `/home/seo/Desktop/NGS_related/programs/tophat-1.3.1/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -Wall -Wno-strict-aliasing -march=i686 -O3  -DNDEBUG -I/usr/local/include -I./SeqAn-1.2 -Wall -Wno-strict-aliasing -march=i686 -O3  -DNDEBUG -I/usr/local/include -MT extract_reads.o -MD -MP -MF ".deps/extract_reads.Tpo" -c -o extract_reads.o extract_reads.cpp; \
        then mv -f ".deps/extract_reads.Tpo" ".deps/extract_reads.Po"; else rm -f ".deps/extract_reads.Tpo"; exit 1; fi
    In file included from /usr/local/include/bam/bgzf.h:29:0,
                     from /usr/local/include/bam/bam.h:52,
                     from common.h:18,
                     from reads.h:15,
                     from extract_reads.cpp:17:
    /usr/local/include/zlib.h:1583:39: error: declaration of C function ‘off_t gzseek64(void*, off_t, int)’ conflicts with
    /usr/local/include/zlib.h:1567:30: error: previous declaration ‘off64_t gzseek64(void*, off64_t, int)’ here
    /usr/local/include/zlib.h:1584:39: error: declaration of C function ‘off_t gztell64(void*)’ conflicts with
    /usr/local/include/zlib.h:1568:30: error: previous declaration ‘off64_t gztell64(void*)’ here
    /usr/local/include/zlib.h:1585:41: error: declaration of C function ‘off_t gzoffset64(void*)’ conflicts with
    /usr/local/include/zlib.h:1569:30: error: previous declaration ‘off64_t gzoffset64(void*)’ here
    /usr/local/include/zlib.h:1586:46: error: declaration of C function ‘uLong adler32_combine64(uLong, uLong, off_t)’ conflicts with
    /usr/local/include/zlib.h:1570:26: error: previous declaration ‘uLong adler32_combine64(uLong, uLong, off64_t)’ here
    /usr/local/include/zlib.h:1587:44: error: declaration of C function ‘uLong crc32_combine64(uLong, uLong, off_t)’ conflicts with
    /usr/local/include/zlib.h:1571:26: error: previous declaration ‘uLong crc32_combine64(uLong, uLong, off64_t)’ here
    make[2]: *** [extract_reads.o] Error 1
    make[2]: Leaving directory `/home/seo/Desktop/NGS_related/programs/tophat-1.3.1/src'
    make[1]: *** [all-recursiveError 1
    make
    [1]: Leaving directory `/home/seo/Desktop/NGS_related/programs/tophat-1.3.1'
    make: *** [all] Error 2 

  • #2
    I found that this is caused by a bug of zlib 1.2.5.



    I solved this problem by downgrading zlib from 1.2.5 to 1.2.4. Now tophat works perfectly!!

    Comment


    • #3
      Hi all!
      I'm trying to install tophat but I get exactly the same error:

      /usr/local/include/zlib.h:1583:39: error: declaration of C function ‘off_t gzseek64(void*, off_t, int)’ conflicts with
      /usr/local/include/zlib.h:1567:30: error: previous declaration ‘off64_t gzseek64(void*, off64_t, int)’ here
      /usr/local/include/zlib.h:1584:39: error: declaration of C function ‘off_t gztell64(void*)’ conflicts with
      /usr/local/include/zlib.h:1568:30: error: previous declaration ‘off64_t gztell64(void*)’ here
      /usr/local/include/zlib.h:1585:41: error: declaration of C function ‘off_t gzoffset64(void*)’ conflicts with
      /usr/local/include/zlib.h:1569:30: error: previous declaration ‘off64_t gzoffset64(void*)’ here
      /usr/local/include/zlib.h:1586:46: error: declaration of C function ‘uLong adler32_combine64(uLong, uLong, off_t)’ conflicts with
      /usr/local/include/zlib.h:1570:26: error: previous declaration ‘uLong adler32_combine64(uLong, uLong, off64_t)’ here
      /usr/local/include/zlib.h:1587:44: error: declaration of C function ‘uLong crc32_combine64(uLong, uLong, off_t)’ conflicts with
      /usr/local/include/zlib.h:1571:26: error: previous declaration ‘uLong crc32_combine64(uLong, uLong, off64_t)’ her

      I've no idea how dowgrading zlib library and I've just installed zlib-1.2.5 as I think the bug was solved...
      According to tophat "getting started" I copied libbam.a file in /usr/local/lib and a bam directory in /usr/local/include so I just did ./configure in order to install tophat.
      Could anyone help me?
      Thanks a lot in advance.

      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...
        04-22-2024, 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
      59 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      56 views
      0 likes
      Last Post seqadmin  
      Working...
      X