Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/02/2010, à 17:42

nicolas902

installation tophat

Bonjour,

J'essaie d'installer un logiciel qui s'appelle tophat et je m'arrache les cheveux depuis un jour et demi. Je suis loin d'être chevronné en système unix, donc pour l'instant, j'ai réussi à améliorer ce qu'il manquait dans ./configure en installant des packages gcc et g++ via synaptic.

J'aurai voulu savoir comment résoudre les problèmes persistants, à savoir (principalement je pense, mais d'autres erreurs sont peut-être importantes, voir ci-après "./configure", "make","make install"):

checking for ANSI C header files... no
checking for GNU libc compatible malloc... no

Pourriez-vous me dire quels sont les packages manquants ou comment les trouver? (car je deviens fou et je ne peux pas éviter cette installation pour mon boulot hmm:/:/ )

Merci beaucoup par avance.


./configure
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/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.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking if gcc accepts -m64... yes
checking for gzread in -lz... yes
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... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for int32_t... yes
checking for size_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for memset... yes
checking for strdup... yes
checking for strrchr... yes
checking for strtol... yes
checking for strsep... yes
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: executing depfiles commands

-- 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.3.4-5ubuntu1) 4.3.4
Host System type: i686-pc-linux-gnu
Install prefix: /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13
Install eprefix: ${prefix}
make
make all-recursive
make[1]: entrant dans le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13 »
Making all in src
make[2]: entrant dans le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13/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
In file included from /usr/include/c++/4.3/bits/stl_algo.h:65,
from /usr/include/c++/4.3/algorithm:67,
from reads.cpp:16:
/usr/include/c++/4.3/cstdlib:124: error: ‘::malloc’ has not been declared
In file included from reads.cpp:20:
bwt_map.h: In member function ‘bool HitStream::next_read_hits(HitsForRead&)’:
bwt_map.h:586: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [reads.o] Erreur 1
make[2]: quittant le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13 »
make: *** [all] Erreur 2
make install
Making install in src
make[1]: entrant dans le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13/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
In file included from /usr/include/c++/4.3/bits/stl_algo.h:65,
from /usr/include/c++/4.3/algorithm:67,
from reads.cpp:16:
/usr/include/c++/4.3/cstdlib:124: error: ‘::malloc’ has not been declared
In file included from reads.cpp:20:
bwt_map.h: In member function ‘bool HitStream::next_read_hits(HitsForRead&)’:
bwt_map.h:586: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
make[1]: *** [reads.o] Erreur 1
make[1]: quittant le répertoire « /home/nico/Documents/stage/RNA-Seq-protocol/tophat-1.0.13/src »
make: *** [install-recursive] Erreur 1

Dernière modification par nicolas902 (Le 24/02/2010, à 17:44)

Hors ligne

#2 Le 03/03/2010, à 16:07

nicolas902

Re : installation tophat

voici la solution que l'on m'a donnée:

./configure CFLAGS="-m32" CXXFLAGS="-m32"

Ne me demandez pas ce que veut dire -m32, aucune idée.

Hors ligne