Chargement...
 
Skip to main content

4 - Toutes les autres applications, les émulateurs...


[archlinux] Problème compilation fmit

Articles: 27
Bonjour,

je tourne sous arch et j'ai essayé d'installer fmit, qui est un très bon tuner, que je faisait tourner sans problème avec ubuntu studio. Étant saxophoniste, le fait de voir l'évolution de la précision de la note est intéressant.

Mais voilè, j'ai un problème durant la compilation. fmit se trouve dans AUR et j'ai essayé de l'installer avec yaourt, mais ça plante. Bien sur, j'ai modifié le PKGBUILD pour qu'il puisse tourner sous x86_64.
Voici les messages durant la compilation et le ./configure.

==> Dépendances de fmit
- jack-audio-connection-kit (déjà installé)
- glut (un paquetage fournissant glut est déjà installé)
- qt3 (déjà installé)
- libxi (déjà installé)
- fftw (déjà installé)
- freeglut (déjà installé)
==> Editer le PKGBUILD (recommandé) ? O/n("A" pour annuler)
==> ------------------
==>n

==> Continuer la compilation de fmit? O/n
==> ------------------
==>o


==> Compilation et installation du paquetage
==> Création du paquet fmit 0.97.7-1 x86_64 (mer fév 4 14:17:59 CET 2009)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> Téléchargement de fmit-0.97.7.tar.gz...
2009-02-04 14:17:59 http://download.gna.org/fmit/fmit-0.97.7.tar.gz
Résolution de download.gna.org... 78.40.121.79
Connexion vers download.gna.org|78.40.121.79|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 274622 (268K) application/x-tar
Saving to: `fmit-0.97.7.tar.gz.part'

100%===================================================> 274622 407K/s in 0,7s

2009-02-04 14:18:00 (407 KB/s) - « fmit-0.97.7.tar.gz.part » sauvegardé 274622/274622

==> Validation des fichiers sources avec md5sums...
fmit-0.97.7.tar.gz ... Réussite
==> Extraction des sources...
-> bsdtar -x -f fmit-0.97.7.tar.gz
==> Entre dans l'environnement fakeroot...
==> Début de la compilation...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable debugging... no
checking for ranlib... ranlib
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /bin/install -c
checking for ANSI C header files... yes
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 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 inline... inline
checking for working volatile... yes
checking for size_t... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports Standard Template Library... yes
checking whether the compiler has numeric_limits... yes
checking whether the compiler has stringstream... yes
checking whether the compiler supports basic templates... yes
checking whether the compiler supports exceptions... yes
checking whether the compiler has complex... yes
checking return type of signal handlers... void
checking for pow... yes
checking for sqrt... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_plan_dft_1d in -lfftw3... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Qt... yes:
QT_CXXFLAGS=-I/opt/qt/include -DQT_THREAD_SUPPORT
QT_DIR=/opt/qt
QT_LIBS=-L/opt/qt/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi
QT_UIC=/opt/qt/bin/uic
QT_MOC=/opt/qt/bin/moc
checking correct functioning of Qt installation... success
checking for OpenGL... yes
checking for GL... yes
checking for GLU... yes
checking for glut... yes
checking whether to enable ALSA... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9... found.
checking for snd_ctl_open in -lasound... yes
checking whether to enable OSS... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking whether to enable JACK... yes
checking jack/jack.h usability... yes
checking jack/jack.h presence... yes
checking for jack/jack.h... yes
checking for main in -ljack... yes
checking whether to enable PortAudio... no
checking packager string... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating libs/Makefile
config.status: creating libs/CppAddons/Makefile
config.status: creating libs/Music/Makefile
config.status: creating ui/Makefile
config.status: creating src/Makefile
config.status: creating src/modules/Makefile
config.status: creating tr/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Now type 'make', followed by 'make install' as root.

f g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/qt/include -DQT_THREAD_SUPPORT -Wall -I../../libs -O3 -ffast-math -DCAPTURE_ALSA -DCAPTURE_OSS -DCAPTURE_JACK -MT Autocorrelation.o -MD -MP -MF ".deps/Autocorrelation.Tpo" -c -o Autocorrelation.o Autocorrelation.cpp; \
then mv -f ".deps/Autocorrelation.Tpo" ".deps/Autocorrelation.Po"; else rm -f ".deps/Autocorrelation.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/qt/include -DQT_THREAD_SUPPORT -Wall -I../../libs -O3 -ffast-math -DCAPTURE_ALSA -DCAPTURE_OSS -DCAPTURE_JACK -MT LPC.o -MD -MP -MF ".deps/LPC.Tpo" -c -o LPC.o LPC.cpp; \
then mv -f ".deps/LPC.Tpo" ".deps/LPC.Po"; else rm -f ".deps/LPC.Tpo"; exit 1; fi
rm -f libMusic.a
ar cru libMusic.a Algorithm.o Convolution.o CumulativeDiff.o FreqAnalysis.o Music.o TimeAnalysis.o CumulativeDiffAlgo.o MultiCumulativeDiffAlgo.o CombedFT.o CFFTW3.o SPWindow.o Filter.o Autocorrelation.o LPC.o
ranlib libMusic.a
make3: quittant le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/libs/Music »
make3: entrant dans le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/libs »
make3: Rien à faire pour « all-am ».
make3: quittant le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/libs »
make2: quittant le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/libs »
Making all in ui
make2: entrant dans le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/ui »
/opt/qt/bin/uic ConfigForm.ui > ConfigForm.h
/bin/sh: line 1: 12444 Erreur de segmentation /opt/qt/bin/uic ConfigForm.ui > ConfigForm.h
make2: *** ConfigForm.h Erreur 139
make2: quittant le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7/ui »
make1: *** all-recursive Erreur 1
make1: quittant le répertoire « /tmp/yaourt-tmp-phil/aur-fmit/fmit/src/fmit-0.97.7 »
make: *** all Erreur 2
==> ERREUR: La compilation a échoué.
Abandon...
Error: Makepkg n'a pas pu construire le paquetage fmit.
Articles: 27
Ok, mais là il y a un truc que je pige pas. Je viens de réussir à l'installer via une compilation classique ./configure, make et make install.

Je comprends pas comment ça se fait qu'elle ne fonctionne pas via yaourt alors qu'il est censé exécuter la même manœuvre que j'ai faite manuellement.
Articles: 649 France
Salut !
Si ça peut te rassurer, je tourne aussi sur Archlinux en 32 bits et j'ai le meme problème que toi.
Apparement ça vient de QT. Il y a un truc qu'il ne doit pas trouver, ou il doit y avoir un lien foireu.

En tout cas si ça marche en compilant toi meme.... Est ce que c'est la meme version ?
SInon tu peux tenter de faire ton propre PKGBUILD
Ex : tu créer un repertoire /home/ph11/fmit

dans lequel tu met ton PKGBUIL. Ensuite tu tapes
$ makepkg PKGBUILD
Ce qui va te créer un paquet tout compilé de fmit que tu pourras installer avec la commande :

$ yaourt -U fmit-le-paqeut-que-tu-viens-de-commpiler.tar

De cette manière ça sera plus propre sur ton systeme.
Articles: 27
Merci pour la réponse.
C'est exactement la même réponse, j'ai même fait en entrant le modèle d'instructions du PKGBUILD dans le répertoire temporaire où se trouve le tarball et ça marchait. C'est vraiment bizarre.