Installer mon 1er programme

ph82 Messages postés 43 Statut Membre -  
 ph82 -
Bonjour,
Ca y est mon 1er Linux fonctionne enfin;
Je cherche à installer le logiciel Brahms(séquenceur musical), Apparement je m'y prend mal, quelqu'un pourrait-il m'aider (détails suivent) ?
Merci
------------------------------------------------
Il est proposé sous ma forme d'un .tgz (http://brahms.sourceforge.net/) avec les instructions suivantes :

To install the package, download brahms-1.02.tgz, type
tar -xzvf brahms-1.02.tgz
cd brahms
./configure
make
make install

Lorsque je le fais voilà ce qui s'affiche :

[root@localhost Brahms]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

13 réponses

  1. ph82 Messages postés 43 Statut Membre 2
     
    Je te remercie pour ton attention; mais pas sur de comprendre tes propos. voici ce que je trouve en faisant ./configure :
    [root@localhost Brahms]# ./configure
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for a BSD compatible install... (cached) /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... found
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for c++... (cached) c++
    checking whether the C++ compiler (c++ ) works... yes
    checking whether the C++ compiler (c++ ) is a cross-compiler... no
    checking whether we are using GNU C++... (cached) yes
    checking whether c++ accepts -g... (cached) yes
    checking whether c++ supports -fno-exceptions... (cached) yes
    checking whether c++ supports -fno-check-new... (cached) yes
    checking whether c++ supports -fexceptions... (cached) yes
    checking how to run the C++ preprocessor... (cached) c++ -E
    checking whether c++ supports -frepo... (cached) yes
    checking for ld used by GCC... (cached) /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
    checking for /usr/bin/ld option to reload object files... (cached) -r
    checking for BSD-compatible nm... (cached) /usr/bin/nm -B
    checking whether ln -s works... (cached) yes
    checking how to recognise dependant libraries... (cached) pass_all
    checking for ranlib... (cached) ranlib
    checking for strip... (cached) strip
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    loading cache ./config.cache within ltconfig
    checking whether -lc should be explicitly linked in... (cached) yes
    checking for objdir... .libs
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
    checking if gcc static flag works... (cached) no
    finding the maximum length of command line arguments... (cached) 73729
    checking if gcc supports -c -o file.o... (cached) yes
    checking if gcc supports -fno-rtti -fno-exceptions ... no
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking command to parse /usr/bin/nm -B output... ok
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for dlfcn.h... (cached) yes
    checking whether a program can dlopen itself... (cached) yes
    checking whether a statically linked program can dlopen itself... (cached) yes
    creating libtool
    loading cache ./config.cache
    loading cache ./config.cache within ltconfig
    checking host system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
    checking for objdir... .libs
    checking for c++ option to produce PIC... -fPIC -DPIC
    checking if c++ PIC flag -fPIC -DPIC works... yes
    checking if c++ static flag -static works... no
    finding the maximum length of command line arguments... (cached) 73729
    checking if c++ supports -c -o file.o... (cached) yes
    checking if c++ supports -fno-rtti -fno-exceptions ... yes
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking command to parse /usr/bin/nm -B output... ok
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for dlfcn.h... (cached) yes
    checking whether a program can dlopen itself... (cached) yes
    checking whether a statically linked program can dlopen itself... (cached) yes
    appending configuration tag "CXX" to libtool
    checking for object suffix... o
    checking for executable suffix... no
    checking for msgfmt... msgfmt
    checking for gmsgfmt... msgfmt
    found msgfmt program is not GNU msgfmt; ignore it
    checking for xgettext... :
    checking for main in -lutil... yes
    checking for main in -lcompat... no
    checking for crypt in -lcrypt... yes
    checking for socklen_t... socklen_t
    checking for dnet_ntoa in -ldnet... no
    checking for dnet_ntoa in -ldnet_stub... no
    checking for inet_ntoa... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for res_init... no
    checking for killpg in -lucb... no
    checking size of int... 4
    checking size of long... 4
    checking size of char *... 4
    checking size of char... 1
    checking for dlopen in -ldl... (cached) yes
    checking for shl_unload in -ldld... no
    checking for extra includes... no
    checking for extra libs... no
    checking for libz... configure: error: not found. Check your installation and lo ok into config.log
    [root@localhost Brahms]#
    0
  2. ph82
     
    J'ai trouvé rosegarden d'installé d'office qui a l'air de faire pareil, séquenceur midi et editeur de partitions, je vais faire avec.
    Mercçi qd même de m'avoir aidé, si ça n'a pas abouti.
    Pierre
    1
  3. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Salut,

    Il faut que tu installes la partie "developpement" de ta distribution (compilateur "gcc" et toute la clique...).
    Quelle distrib utilises-tu ?
    0
  4. ph82 Messages postés 43 Statut Membre 2
     
    Salut,
    Mandrake 10.1
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Ouvres le centre de contrôle de Mandrake => Configurer votre ordinateur
    Choisis le "Gestionnaire de logiciels" puis "Installer", là affiche "Tous les paquetages par groupe" et installe toute la partie "Développement" (tu seras tranquille comme ça).
    0
  7. ph82 Messages postés 43 Statut Membre 2
     
    Certains paquetages ne peuvents être installés "Désolé,... apparait pour de nombreux groupes ... ?
    0
  8. ph82 Messages postés 43 Statut Membre 2
     
    ok
    Ca avance merci
    je n'ai coché que ce qui commençait par gcc et accepté les dépendances ,puis inséré les cd au fur et à mesure et l'étape "./configure" du probleme du message d'origine ne s'est pas reposé.

    maintenant, c'est la commande make qui ne mène à rien :
    -----------------------------------------
    [root@localhost Brahms]# make
    make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
    -----------------------------------------
    Merci d'avance
    0
  9. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Donc ton "./configure" c'est bien déroulé, sans aucun message d'erreurs ?

    As-tu bien à la fin du "./configure" un fichier "makefile" de créer dans le répertoire ?
    Fais un "ls" pour vérifier.
    0
  10. ph82 Messages postés 43 Statut Membre 2
     
    Bonjour,
    Suivant la remarque de Renisaac, j'ai fini par trouver le paquetage contenant Brahms.
    J'ai donc lancé l'installation, redemarré, mais si l'icone est bien présente, elle ne lance pas le programme.
    Simple question : est-ce habituel de ramer autant pour installer un programme sous Linux ?
    Merci
    0
  11. saga9 Messages postés 5912 Date d'inscription   Statut Contributeur Dernière intervention   876
     
    Salut,
    si tu optes pour une installation via les sources je dirais une fois sur deux oui!
    Si tu passes pas les rpm et par le gestionnaire de rpm de mandrake, ca se fait vite fait bien fait!!
    0
  12. renisaac Messages postés 2073 Statut Contributeur 139
     
    re-

    Peux-tu lancer ton programme par console, pour voir les message d'erreurs? (ouvrir un console, et simplement taper le nom du programme)

    Renisaac
    0
    1. ph82 Messages postés 43 Statut Membre 2
       
      Merci à toi d'être toujours là;
      Voici ce que j'obtiens :
      --------------------------
      [pierre@localhost pierre]$ brahms
      brahms: symbol lookup error: /usr/lib/libBrahmsArts.so.0: undefined symbol: _ZTv0_n32_N4Arts13MidiPort_stub4timeEv
      ------------------------------
      0