Hi,
I have installed tophat (v1.0.12) on Mac (10.6, gcc 4.2.1) and it works fine. Now I need to install tophat on Linux boxes (Debian gcc4.4 and Redhat gcc4.1.2), all failed.
Here is the configure result:
======================
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... ar
checking for perl... /usr/local/bin/perl
checking for bash... /bin/bash
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking if gcc accepts -m64... yes
checking for gzread in -lz... no
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for unistd.h... (cached) no
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... no
checking for int32_t... no
checking for size_t... no
checking for uint32_t... no
checking for uint64_t... no
checking for uint8_t... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for stdlib.h... (cached) no
checking for GNU libc compatible malloc... no
checking for memset... no
checking for strdup... no
checking for strrchr... no
checking for strtol... no
checking for strsep... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
-- TopHat 1.0.12 Configuration Results --
C compiler: gcc -Wall -g -m64 -O3 -DNDEBUG
C++ compiler: g++ -Wall -g -m64 -O3 -DNDEBUG
GCC version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Host System type: i686-pc-linux-gnu
Install prefix: /home/ds/software/tophat-1.0.12
Install eprefix: ${prefix}
See config.h for further configuration information.
Email <[email protected]> with questions and bug reports.
======================
Then make:
make all-recursive
make[1]: Entering directory `/home/ds/software/tophat-1.0.12'
Making all in src
make[2]: Entering directory `/home/ds/software/tophat-1.0.12/src'
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
reads.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cstddef:55: error: expected unqualified-id before 'unsigned'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cstddef:55: error: expected `;' before 'unsigned'
....
======================
I found there were several posts about similar installation problems of tophat, but couldn't find a solution for my case.
Any suggestions? Thanks a lot!
I have installed tophat (v1.0.12) on Mac (10.6, gcc 4.2.1) and it works fine. Now I need to install tophat on Linux boxes (Debian gcc4.4 and Redhat gcc4.1.2), all failed.
Here is the configure result:
======================
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... ar
checking for perl... /usr/local/bin/perl
checking for bash... /bin/bash
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking if gcc accepts -m64... yes
checking for gzread in -lz... no
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for unistd.h... (cached) no
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... no
checking for int32_t... no
checking for size_t... no
checking for uint32_t... no
checking for uint64_t... no
checking for uint8_t... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for stdlib.h... (cached) no
checking for GNU libc compatible malloc... no
checking for memset... no
checking for strdup... no
checking for strrchr... no
checking for strtol... no
checking for strsep... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
-- TopHat 1.0.12 Configuration Results --
C compiler: gcc -Wall -g -m64 -O3 -DNDEBUG
C++ compiler: g++ -Wall -g -m64 -O3 -DNDEBUG
GCC version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Host System type: i686-pc-linux-gnu
Install prefix: /home/ds/software/tophat-1.0.12
Install eprefix: ${prefix}
See config.h for further configuration information.
Email <[email protected]> with questions and bug reports.
======================
Then make:
make all-recursive
make[1]: Entering directory `/home/ds/software/tophat-1.0.12'
Making all in src
make[2]: Entering directory `/home/ds/software/tophat-1.0.12/src'
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
reads.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cstddef:55: error: expected unqualified-id before 'unsigned'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cstddef:55: error: expected `;' before 'unsigned'
....
======================
I found there were several posts about similar installation problems of tophat, but couldn't find a solution for my case.
Any suggestions? Thanks a lot!
Comment