OVH Cloud OVH Cloud

Compilation source audacity wx-config ??

18 réponses
Avatar
olivier
Bonjour,

Je teste la compilation des sources d'audacity pour utiliser en natif
avec ALSA et j'ai un problème de fichier wx-config (chemin introuvable)
lors de la compilation avec ./configure.

J'ai regardé mes pacquages et j'ai le libwxgtk2.5 ainsi que wxGTK2.5.

Il ne devrait pas y avoir de problème mais je n'arrive pas à trouver le
fichier wx-config ??

J'ai fait un whereis wx-config : ça donne rien

J'ai fait un whereis wx : ça renvoie usr/share/wx/

si vous avez une idée sur le problème

Je suis sur Mandriva 2005 LE /KDE 3.3/

D'avance merci

10 réponses

1 2
Avatar
Emmanuel Fleury
olivier wrote:
Bonjour,

Je teste la compilation des sources d'audacity pour utiliser en natif
avec ALSA et j'ai un problème de fichier wx-config (chemin introuvable)
lors de la compilation avec ./configure.

J'ai regardé mes pacquages et j'ai le libwxgtk2.5 ainsi que wxGTK2.5.

Il ne devrait pas y avoir de problème mais je n'arrive pas à trouver le
fichier wx-config ??

J'ai fait un whereis wx-config : ça donne rien

J'ai fait un whereis wx : ça renvoie usr/share/wx/

si vous avez une idée sur le problème

Je suis sur Mandriva 2005 LE /KDE 3.3/


Je pense que ce fichier vient avec les outils de développement de cette
bibliothèque. Cherche un paquetage libwxgtk-dev ou quelque chose de ce
genre.

Amicalement
--
Emmanuel Fleury

Why is "abbreviation" such a long word?
-- Unknown

Avatar
cavelier
olivier wrote:

Bonjour,

Je teste la compilation des sources d'audacity pour utiliser en natif
avec ALSA et j'ai un problème de fichier wx-config (chemin introuvable)
lors de la compilation avec ./configure.

J'ai regardé mes pacquages et j'ai le libwxgtk2.5 ainsi que wxGTK2.5.

Il ne devrait pas y avoir de problème mais je n'arrive pas à trouver le
fichier wx-config ??

J'ai fait un whereis wx-config : ça donne rien

J'ai fait un whereis wx : ça renvoie usr/share/wx/

si vous avez une idée sur le problème

Je suis sur Mandriva 2005 LE /KDE 3.3/

D'avance merci
Bonjour.

Peux-tu me dire quelle option tu passes au script configure ?
J'ai toujours eu des problemes de crash avec audacity même en le recompilant
au point que je vais utiliser rezound.
Merci.
--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva

Avatar
olivier

Peux-tu me dire quelle option tu passes au script configure ?
J'ai toujours eu des problemes de crash avec audacity même en le recompilant
au point que je vais utiliser rezound.
Merci.


Bonjour,

Tout d'abord merci à Emmanuel pour sa réponse, j'ai fait urpmi pour
récupérer les devel du pacquage.

pour la compilation j'utilise :

./configure --with-portaudio=v19 --without-portmixer

par contre j'ai des erreurs en faisant le make (après un bon 5 minutes
de travail).

Donc pour l'instant audacity ne fonctionne pas.

J'ai le rpm de la dernière version mais, comme je souhaite utiliser la
liaison avec ALSA pour pourvoir enregistrer le son sur audacity (par
exemple la radio par realplayer), je dois recompiler audacity avec les
options de portaudiov19 (il faut enlever les portaudio d'origine et les
remlpacer par une autre version).

est-ce que tes problèmes de crash sont un crash audacity ou crash
système complet ?

A suivre si j'y arrive

Avatar
Emmanuel Fleury
olivier wrote:

par contre j'ai des erreurs en faisant le make (après un bon 5 minutes
de travail).


Si tu n'arrives pas à trouver n'hésite pas à copier/coller le message
d'erreur ici (complet si possible).

Amicalement
--
Emmanuel Fleury

Put your talent into your work, but your genius into your life.
-- Oscar Wilde

Avatar
cavelier
olivier wrote:


Peux-tu me dire quelle option tu passes au script configure ?
J'ai toujours eu des problemes de crash avec audacity même en le
recompilant au point que je vais utiliser rezound.
Merci.


Bonjour,



est-ce que tes problèmes de crash sont un crash audacity ou crash
système complet ?


Bonjour.
Crash audacity.
Mais comme il n'y a a pas de pilote oss dans ma mdv2006 pour mon audiophile
2496 je me demande si je vais pas claquer qques tunes dans un pilote oss en
ver pas libre pour essayer autrechose qu'une émulation à travers alsa.
Rezound souffre de pas mal de pb notamment il a du mal à charger les gros
fichiers.

--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva


Avatar
olivier
olivier wrote:

Si tu n'arrives pas à trouver n'hésite pas à copier/coller le message
d'erreur ici (complet si possible).

Amicalement


Merci pour la proposition, mais la liste est tellement importante que ce
n'est pas envisageable. Je vais voir si je peux faire le ménage et
garder uniquement les messages d'erreurs.

Cordialement

Avatar
olivier


Si tu n'arrives pas à trouver n'hésite pas à copier/coller le message
d'erreur ici (complet si possible).

Amicalement


Voilà, j'ai refait un test et voici la liste.

J'ai laissé la partie préparation avec ./configure qui ne semble pas
poser de problème.

dans les messages de ./configure il est bien fait référence à un
problème de stabilité en utilisant ALSA avec audacity (ce qui rejoint le
propos de jean jacques).

Par contre il y a un problème au niveau de wx (j'utilise la version 2.5).

Autre question si j'ai un problème de stabilité après avoir installé les
sources d audacity. Comment faire pour retirer la totalité des fichiers
installés ?

Merci pour ton aide

Olivier
---------------------------------------------------------------------
./configure --with-portaudio=v19 --without -portmixer
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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for lib-src/libmad/frame.h... no
checking for lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for lib-src/libid3tag/frame.h... no
checking for lib-src/libsndfile/src/sndfile.h.in... yes
checking for lib-src/libsamplerate/src/samplerate.h... no
checking for lib-src/libresample/include/libresample.h... yes
checking for lib-src/libflac/include/FLAC/format.h... no
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 mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking FLAC/format.h usability... no
checking FLAC/format.h presence... no
checking for FLAC/format.h... no
checking for mad_decoder_init in -lmad... yes
checking for mad.h... (cached) yes
checking for vorbis_bitrate_addblock in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for zip... /usr/bin/zip
checking for wx-config... /usr/bin/wx-config
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for snd_pcm_open in -lasound... yes
checking for jack_client_new in -ljack... yes
checking for lrint... yes
checking for lrintf... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib-src/Makefile
config.status: creating lib-src/allegro/Makefile
config.status: creating lib-src/expat/Makefile
config.status: creating lib-src/libnyquist/Makefile
config.status: creating locale/Makefile
config.status: creating tests/Makefile
config.status: creating src/configunix.h
config.status: src/configunix.h is unchanged
configure: configuring in lib-src/portaudio-v19
configure: running /bin/sh './configure' --prefix=/usr/local
'--with-portaudio v19' '--without-portmixer' --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking for snd_pcm_open in -lasound... yes
checking host system type... i686-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking for jack... yes
checking JACK_CFLAGS...
checking JACK_LIBS... -ljack
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for pthread_create in -lpthread... yes
updating cache /dev/null
creating ./config.status
creating Makefile

Finished configure:
with libresample
without libid3tag
with libmad (system)
with LADSPA plug-ins
with Nyquist plug-ins
with vorbis (system)
without portmixer
with portaudio v19 (not yet compatible with portmixer)
with soundtouch
with help
prefix=/usr/local

Note: portaudio v19 supports ALSA and Jack, but may be less stable.

Run 'configure --help' for an explanation of these options,
otherwise run 'make' to build Audacity.
[root]# make
make -C lib-src
make[1]: Entering directory `/opt/audacity-src-1.2.3/lib-src'
make[1]: Rien à faire pour « all ».
make[1]: Leaving directory `/opt/audacity-src-1.2.3/lib-src'
make -C src
make[1]: Entering directory `/opt/audacity-src-1.2.3/src'
g++ -c -I../lib-src/portaudio-v19/pa_common
-I../lib-src/soundtouch/include -g -O2 -I../lib-src
/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx
-I../lib-src/libsndfile/src -I../lib-sr
c/libresample/include -Wall -Iinclude -I/usr/lib/wx/include/
-I/usr/lib/wx/include/gtk2-ansi-r
elease-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITSd -D_LAR
GE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA blockfile/LegacyBlockFile.cpp
-o obj/blockfile/Legacy
BlockFile.o
In file included from blockfile/LegacyBlockFile.cpp:21:
/usr/include/wx-2.5/wx/ffile.h:56: error: expected `,' or `...' before
'&' token
/usr/include/wx-2.5/wx/ffile.h:57: error: ISO C++ forbids declaration of
`wxString' with no typ
e
/usr/include/wx-2.5/wx/ffile.h:63: error: `wxString' has not been declared
/usr/include/wx-2.5/wx/ffile.h:63: error: ISO C++ forbids declaration of
`str' with no type
/usr/include/wx-2.5/wx/ffile.h:70: error: expected `,' or `...' before
'&' token
/usr/include/wx-2.5/wx/ffile.h:71: error: ISO C++ forbids declaration of
`wxString' with no typ
e
/usr/include/wx-2.5/wx/ffile.h:81: error: `wxSeekMode' has not been declared
/usr/include/wx-2.5/wx/ffile.h:81: error: ISO C++ forbids declaration of
`mode' with no type
/usr/include/wx-2.5/wx/ffile.h:98: error: ISO C++ forbids declaration of
`wxString' with no typ
e
/usr/include/wx-2.5/wx/ffile.h:98: error: expected `;' before '&' token
/usr/include/wx-2.5/wx/ffile.h:101: error: expected `;' before '~' token
/usr/include/wx-2.5/wx/ffile.h:112: error: `wxString' does not name a type
/usr/include/wx-2.5/wx/ffile.h:81: error: `wxFromStart' was not declared
in this scope
/usr/include/wx-2.5/wx/ffile.h: In member function `void
wxFFile::Attach(FILE*, int)':
/usr/include/wx-2.5/wx/ffile.h:57: error: `m_name' undeclared (first use
this function)
/usr/include/wx-2.5/wx/ffile.h:57: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/wx-2.5/wx/ffile.h:57: error: `name' undeclared (first use
this function)
/usr/include/wx-2.5/wx/ffile.h: In member function `bool
wxFFile::Write(int)':
/usr/include/wx-2.5/wx/ffile.h:72: error: `wxWX2MBbuf' does not name a type
/usr/include/wx-2.5/wx/ffile.h:73: error: `buf' undeclared (first use
this function)
/usr/include/wx-2.5/wx/ffile.h: In member function `bool
wxFFile::SeekEnd(long int)':
/usr/include/wx-2.5/wx/ffile.h:83: error: `wxFromEnd' undeclared (first
use this function)
In file included from /usr/include/wx-2.5/wx/utils.h:32,
from blockfile/LegacyBlockFile.cpp:22:
/usr/include/wx-2.5/wx/filefn.h: At global scope:
/usr/include/wx-2.5/wx/filefn.h:123: error: `wxFromEnd' used prior to
declaration
blockfile/LegacyBlockFile.cpp: In member function `virtual void
LegacyBlockFile::SaveXML(int, wxFFile&)':
blockfile/LegacyBlockFile.cpp:236: error: invalid conversion from `const
char*' to `int'
blockfile/LegacyBlockFile.cpp:236: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:237: error: invalid conversion from `const
char*' to `int'
blockfile/LegacyBlockFile.cpp:237: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:239: error: invalid conversion from `const
wxChar*' to `int'
blockfile/LegacyBlockFile.cpp:239: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:240: error: invalid conversion from `const
wxChar*' to `int'
blockfile/LegacyBlockFile.cpp:240: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:242: error: invalid conversion from `const
wxChar*' to `int'
blockfile/LegacyBlockFile.cpp:242: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:243: error: invalid conversion from `const
wxChar*' to `int'
blockfile/LegacyBlockFile.cpp:243: error: initializing argument 1 of
`bool wxFFile::Write(int)'
blockfile/LegacyBlockFile.cpp:244: error: invalid conversion from `const
char*' to `int'
blockfile/LegacyBlockFile.cpp:244: error: initializing argument 1 of
`bool wxFFile::Write(int)'
make[1]: *** [obj/blockfile/LegacyBlockFile.o] Erreur 1
make[1]: Leaving directory `/opt/audacity-src-1.2.3/src'
make: *** [audacity] Erreur 2
------------------------------------------

Avatar
Emmanuel Fleury
Je suppose que tu as pris la version CVS ou la dernière archive de
Audacity. Je pense qu'il y a une version 2.6 de Wx qui est sortie, il
est possible que ces erreurs soient dûent à ça. Essaye de mettre à jour
ta bibliothèque (argh, les dépendances commencent).

Amicalement
--
Emmanuel Fleury

God is real, unless declared as an integer.
-- Unknown
Avatar
cavelier
olivier wrote:



Si tu n'arrives pas à trouver n'hésite pas à copier/coller le message
d'erreur ici (complet si possible).

Amicalement


Voilà, j'ai refait un test et voici la liste.

J'ai passé l'option portaudio etj'ai cela:


widgets/../xml/XMLTagHandler.h:21: warning: 'class XMLTagHandler' has
virtual functions but non-virtual destructor
widgets/../Envelope.h:37: warning: 'struct EnvPoint' has virtual functions
but non-virtual destructor
MeterToolBar.cpp: In member function 'virtual void
MeterToolBar::OnPaint(wxPaintEvent&)':
MeterToolBar.cpp:104: error: variable 'wxPaintDC dc' has initializer but
incomplete type
MeterToolBar.cpp:109: error: no matching function for call to
'MeterToolBar::DrawBackground(<type error>, int&, int&)'
ToolBar.h:115: note: candidates are: void ToolBar::DrawBackground(wxDC&,
int, int)
make[1]: *** [obj/MeterToolBar.o] Erreur 1
make[1]: Leaving directory `/home/cavelier/audacity-src-1.2.3/src'
make: *** [audacity] Erreur 2
Cela se termine aussi mal.
Bon marre de audacity.
Je cherche ailleurs.
--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva


Avatar
olivier
Je suppose que tu as pris la version CVS ou la dernière archive de
Audacity. Je pense qu'il y a une version 2.6 de Wx qui est sortie, il
est possible que ces erreurs soient dûent à ça. Essaye de mettre à jour
ta bibliothèque (argh, les dépendances commencent).

Amicalement


J'ai fait ça mais j'ai toujours le même problème avec la version 2.6 ou
2.5 wx c'est pareil.

J'avoue ne pas trop savoir comment faire ...

Peut-être trouver autre chose pour enregistrer la radio.

Codialement

olivier

1 2