Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • poisson200
    Member
    • Feb 2010
    • 63

    #1

    TopHat on a 32 bit machine

    Dear Bioinformaticians.

    Can TopHat be installed on a 32bit Ubuntu (Linux ubuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux) installation? I tried and get the following:

    g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -m64 -O3 -DNDEBUG -I./SeqAn-1.1 -Wall -g -m64 -O3 -DNDEBUG -MT reads.o -MD -MP -MF .deps/reads.Tpo -c -o reads.o reads.cpp
    In file included from /usr/include/features.h:378,
    from /usr/include/assert.h:37,
    from /usr/include/c++/4.4/cassert:45,
    from reads.cpp:14:
    /usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory

    It looks like the configure script is expecting the system to be 64bit. I tried make clean, edited all files to change -m64 to -m32 but when I run configure, it always ends up with:

    -- TopHat 1.0.13 Configuration Results --
    C compiler: gcc -Wall -g -m64 -O3 -DNDEBUG
    C++ compiler: g++ -Wall -g -m64 -O3 -DNDEBUG
    GCC version: gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
    Host System type: i686-pc-linux-gnu
    Install prefix: /home/john/Documents/software/tophat-1.0.13
    Install eprefix: ${prefix}

    Both the gcc and g++ have the -m64 flag. Does anyone know how I can fix this? I saw another 2 threads about similar problems installing MAQ but the fixes don't work for TopHat.

    Thanks a lot for any help.

    Kind regards,

    P
  • jmarshall
    Samtools maintainer
    • Jul 2009
    • 39

    #2
    Originally posted by poisson200 View Post
    Both the gcc and g++ have the -m64 flag. Does anyone know how I can fix this? I saw another 2 threads about similar problems installing MAQ but the fixes don't work for TopHat.
    Have you tried the tophat configure patch suggested in this thread: http://seqanswers.com/forums/showthread.php?t=3781 ?

    Originally posted by jmarshall View Post
    You can try changing CFLAGS="-m64" on line 4028 of configure to CXXFLAGS="-m64" and rerunning configure, which will hopefully cause different flags to be shown on the "C compiler" and "C++ compiler" lines shown above and will build a 32-bit executable, which you do have a compiler for.

    Comment

    • poisson200
      Member
      • Feb 2010
      • 63

      #3
      Originally posted by jmarshall View Post
      Have you tried the tophat configure patch suggested in this thread: http://seqanswers.com/forums/showthread.php?t=3781 ?
      Hello Marshall,
      Thank you for the suggestion, I just tried it but, alas, it did not work, just the same result:

      g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -m64 -O3 -DNDEBUG -I./SeqAn-1.1 -Wall -g -m64 -O3 -DNDEBUG -MT reads.o -MD -MP -MF .deps/reads.Tpo -c -o reads.o reads.cpp
      In file included from /usr/include/features.h:378,
      from /usr/include/assert.h:37,
      from /usr/include/c++/4.4/cassert:45,
      from reads.cpp:14:
      /usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory

      As you can see, g++ is still running with -m64 option.

      Kind regards,

      P

      Comment

      • jmarshall
        Samtools maintainer
        • Jul 2009
        • 39

        #4
        Curious. It works for me, and apparently it worked for the person who was asking in that other thread. Did you "make clean" and rerun configure? Probably best to start from a freshly unpacked tophat directory, edit configure, and only then run configure etc.

        If the worst comes to the worst, you could just remove the three occurrences of -m64 in each of Makefile and src/Makefile by hand...

        John

        Comment

        • poisson200
          Member
          • Feb 2010
          • 63

          #5
          Thanks for your advice John.
          I have tried all variants, including editing the Makefiles themselves. Now I get:
          john@ubuntu:~/Documents/software/tophat-1.0.13$ make
          make all-recursive
          make[1]: Entering directory `/home/john/Documents/software/tophat-1.0.13'
          Making all in src
          make[2]: Entering directory `/home/john/Documents/software/tophat-1.0.13/src'
          g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -m32 -O3 -DNDEBUG -I./SeqAn-1.1 -Wall -g -m32 -O3 -DNDEBUG -MT reads.o -MD -MP -MF .deps/reads.Tpo -c -o reads.o reads.cpp
          In file included from /usr/include/c++/4.4/bits/stl_algobase.h:61,
          from /usr/include/c++/4.4/bits/char_traits.h:41,
          from /usr/include/c++/4.4/string:42,
          from reads.cpp:15:
          /usr/include/c++/4.4/cstddef:52: error: expected unqualified-id before ‘unsigned’
          /usr/include/c++/4.4/cstddef:52: error: expected ‘;’ before ‘unsigned’
          /usr/include/c++/4.4/cstddef:52: error: declaration does not declare anything
          In file included from /usr/include/c++/4.4/string:42,
          from reads.cpp:15:

          As you see the -m32 is there but now something else is broken. It could be idiot syndrome in the sense I am missing something obvious.

          Thanks.

          P.

          Comment

          • aghazalp
            Junior Member
            • Jun 2010
            • 4

            #6
            same problem here

            Hi,

            it seems like I have the same problem and I tried to change the CFLAGS to CXXFLAGS but it doesnt seem to work for me either. I am using Ubuntu 8.1

            Comment

            • Life_Dogma
              Junior Member
              • May 2012
              • 4

              #7
              How to install Tophat-2.0.2 on ubuntu 12.04 32bit????

              Comment

              • arvid
                Senior Member
                • Jul 2011
                • 156

                #8
                I'm not quite sure why you really want to do that. Why not spend the time on installing a 64-bit Ubuntu as dual boot instead, in case you really have to stick to your 32-bit installation?

                IMHO I don't quite see the point on working with NGS data on 32-bit OSs these days - you'll run into installation and RAM issues with many software packages, and you'll probably spend more time (=money) on fixing your setup than it would cost (in time and money) to get an appropriate setup. Just my 2 cents.

                Comment

                • Life_Dogma
                  Junior Member
                  • May 2012
                  • 4

                  #9
                  So your advice is to change to ubuntu 64-bit????? since im working on NGS data.

                  Comment

                  • arvid
                    Senior Member
                    • Jul 2011
                    • 156

                    #10
                    Yes, or any other 64-bit distribution. You do have a 64-bit processor, don't you (I haven't seen a 32-bit processor in years in new PCs)? How much RAM do you have on the machine?

                    Though some people keep saying there are 32-bit programs that don't run on 64-bit Linux, I haven't encountered anything since 2008 causing real problems on my 64-bit installs. On Windows it's another story, however...

                    Comment

                    • Life_Dogma
                      Junior Member
                      • May 2012
                      • 4

                      #11
                      Thank you so much for your help arvid, you saved me time and money

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                        by SEQadmin2



                        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                        ...
                        10-14-2026, 09:55 AM
                      • SEQadmin2
                        New Genomics Technologies Take Aim at Long-Standing Limits
                        by SEQadmin2


                        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                        ...
                        09-28-2026, 10:25 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, Yesterday, 11:13 AM
                      0 responses
                      17 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, Yesterday, 10:48 AM
                      0 responses
                      18 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      36 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      42 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...