View Full Version : Problema compilazione Audacity
Mattia-007
25-04-2015, 11:22
Ciao a tutti! :)
Visto che ho installato Fedora 21 da ormai diversi mesi, adesso vorrei iniziare a cimentarmi in cose un pochino più avanzate. :p
Ho scaricato il pacchetto di source di Audacity (source tarball) (http://web.audacityteam.org/download/source), ho installato le varie librerie e ho dato ./configure tutto è andato a buon fine, quindi ho dato make ma mi compare questo errore: collect2: error: ld returned 1 exit status
Makefile:1863: set di istruzioni per l'obiettivo "audacity" non riuscito
make[2]: *** [audacity] Errore 1
make[2]: uscita dalla directory "/home/Mattia/Audacity/src"
Makefile:1269: set di istruzioni per l'obiettivo "all" non riuscito
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory "/home/Mattia/Audacity/src"
Makefile:646: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make: *** [all-recursive] Errore 1
Ho cercato su Google ma non ho trovato niente.
Qualche idea? :confused:
Grazie in anticipo e buona giornata! :)
il compilatore cel'hai?
http://unix.stackexchange.com/questions/1338/what-is-the-fedora-equivalent-of-the-debian-build-essential-package
Mattia-007
25-04-2015, 16:02
Ho installato i vari pacchetti indicati nel tuo link ma non funziona comunque, stesso errore.
le dipendenze ?
http://web.audacityteam.org/download/source
... È necessaria la libreria wxWidgets. Audacity 2.1.0 richiede wxGTK 2.8.12. È anche necessaria la libreria libsndfile ed è inclusa in Audacity ottenuta da SVN. L'installazione di altre librerie è opzionale.
CMake è necessario per costruire libsoxr che è ora la libreria di ricampionamento predefinita di Audacity...
poi ... letto?
http://wiki.audacityteam.org/wiki/CompilingAudacityForBeginners
Mattia-007
25-04-2015, 20:10
Si le ho installate, infatti il configuratore (si chiama così?) non da nessun errore.
come sono gli errori in inglese?
esegui:
LANG=en ; make
Mattia-007
25-04-2015, 21:26
Ecco a te:
collect2: error: ld returned 1 exit status
Makefile:1863: recipe for target 'audacity' failed
make[2]: *** [audacity] Error 1
make[2]: Leaving directory '/home/Mattia/Audacity/src'
Makefile:1269: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/Mattia/Audacity/src'
Makefile:646: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Ecco a te:
Serve più output.
Posta più righe.
l'ho provato su una vm fedora_20
sudo yum install wxGTK-devel.i686 libsndfile.i686 svn cmake
svn checkout http://audacity.googlecode.com/svn/audacity-src/trunk/ audacity-read-only
cd audacity-read-only
./configure
make
ed ha compilato regolarmente
Mattia-007
24-12-2015, 22:58
Ci sto provando ancora (adesso sono su Ubuntu MATE), e ho un problema durante la configurazione:
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for wx-config... /usr/local/bin/wx-config
Warning: No config found to match: /usr/local/bin/wx-config --unicode=yes --version
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
configure: Checking that the chosen version of wxWidgets is 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x or higher.
The currently available configurations are listed below. If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.
Default config is gtk2-ansi-release-2.8
Default config will be used for output
Also available in /usr/local:
gtk3-unicode-3.0
Qualche idea?
P.S.: Buon Natale! :)
che guida hai seguito?
tipo
http://wiki.audacityteam.org/wiki/Compiling_Audacity_for_Beginners
Mattia-007
26-12-2015, 14:54
Si, ho seguito questa (http://wiki.audacityteam.org/wiki/Compiling_Audacity_for_Beginners#Example_long_steps).
Ho provato a dare anche sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg ma il problema persiste. :\
sto' provando su una vm con xubuntu-15.10
scaricando da svn: audacity-read-only
ma ho problemi alla compilazione (make)
tu su che sistema sei? quali sorgenti scarichi?
Mattia-007
02-01-2016, 22:20
Sono su Ubuntu MATE e sto utilizzando il pacchetto source Audacity-minsrc-2.1.1.
l'ho provato i sorgenti audacity-minsrc-2.1.1 su una xubuntu-15.10
e dopo aver installato le dipendenze:
build-essential
libwxgtk2.8-dev
libwxgtk2.8-dbg
zlib
linux-headers-`uname -r`
zlib1g-dev
cmake
libsndfile1
libsoxr0
ho eseguito:
cd audacity-minsrc-2.1.1
./configure
make
sudo make install
e ha funzionato
Mattia-007
05-01-2016, 22:36
Ubuntu MATE 14.04.3 LTS.
Ho installato tutte le dipendenze da te elencate ma il problema persiste. :mc:
installa anche: libexpat1-dev libgtk-3-dev libgtk2.0-dev r-cran-rgtk2
ho provato anche su una 14.04 e ha funzionato
Mattia-007
07-01-2016, 16:30
Grazie! :)
Purtroppo però il problema persite. :muro:
da errore al ".config" o al "make" ?
se si ferma al "make" devi dare un "make clean" prima di ricominciare
riesci a incollarmi gli ultimi messaggi?
Mattia-007
10-01-2016, 01:30
Da errore al ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for C compiler vendor... gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
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 ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... yes
checking whether the linker accepts the -rdynamic flag... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for alloca.h... yes
checking for libudev.h... no
checking CFLAGS for strict prototypes... -Wstrict-prototypes
checking wall_flags for maximum warnings... -Wall
checking whether the C++ compiler accepts the -Wall flag... yes
checking whether the C++ preprocessor accepts the -Wall flag... yes
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for wx-config... /usr/local/bin/wx-config
Warning: No config found to match: /usr/local/bin/wx-config --unicode=yes --version
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
configure: Checking that the chosen version of wxWidgets is 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x or higher.
The currently available configurations are listed below. If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.
Default config is gtk2-ansi-release-2.8
Default config will be used for output
Also available in /usr/local:
gtk3-unicode-3.0
ripetuto da una ubu14.04 da zero
installato:
sudo apt-get install build-essential libwxgtk2.8-dev libwxgtk2.8-dbg linux-headers-`uname -r` zlib1g-dev cmake libexpat1-dev libgtk-3-dev libgtk2.0-dev r-cran-rgtk
il .configure finisce bene
dove a te da errore a me dice:
...
checking for wx-config... /usr/bin/wx-config
configure: Checking that the chosen version of wxWidgets is 2.8.x
Great, you're using wxWidgets 2.8.12!
...
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.