audacity 1.3.10 problem beim starten

  • hallo


    wenn ich versuche audacity zu starten (im terminal) bekomme ich folgendes:


    sndrv_pcm_hw_params: Zusicherung »err >= 0« nicht erfüllt
    Abgebrochen


    weiss jemand wo eventuell das problem liegt?


    ich verwende debian "sid", kernel 2.6.32-trunk-686


    vielen dank für eure hilfe!


    jaskah

  • hallo


    danke für deine antwort.


    ich habe versucht v. 1.3.11 to installieren und bekomme folgende fehler meldungen:


    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    make -C lib-src
    make[1]: Entering directory `/home/jason/Downloads/audacity-src-1.3.11-beta/lib-src'
    make -C FileDialog
    make[2]: Entering directory `/home/jason/Downloads/audacity-src-1.3.11-beta/lib-src/FileDialog'
    g++ -c -g -O2 -I. -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread FileDialog.cpp -o FileDialog.o
    In file included from /usr/include/wx-2.8/wx/window.h:23,
    from /usr/include/wx-2.8/wx/sizer.h:17,
    from generic/FileDialogPrivate.h:20,
    from FileDialog.h:36,
    from FileDialog.cpp:17:
    /usr/include/wx-2.8/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’:
    /usr/include/wx-2.8/wx/cursor.h:65: error: ‘wxIsBusy’ was not declared in this scope
    /usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ has not been declared
    /usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxSetCursor’ was not declared in this scope
    /usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
    /usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ was not declared in this scope
    /usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ has not been declared
    /usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxSetCursor’ was not declared in this scope
    In file included from /usr/include/wx-2.8/wx/window.h:26,
    from /usr/include/wx-2.8/wx/sizer.h:17,
    from generic/FileDialogPrivate.h:20,
    from FileDialog.h:36,
    from FileDialog.cpp:17:
    /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’:
    /usr/include/wx-2.8/wx/region.h:251: error: invalid use of incomplete type ‘struct wxRegion’
    /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
    /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Subtract(const wxRect&)’:
    /usr/include/wx-2.8/wx/region.h:256: error: invalid use of incomplete type ‘struct wxRegion’
    /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
    /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Xor(const wxRect&)’:
    /usr/include/wx-2.8/wx/region.h:261: error: invalid use of incomplete type ‘struct wxRegion’
    /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
    In file included from /usr/include/wx-2.8/wx/sizer.h:17,
    from generic/FileDialogPrivate.h:20,
    from FileDialog.h:36,
    from FileDialog.cpp:17:
    /usr/include/wx-2.8/wx/window.h: At global scope:
    /usr/include/wx-2.8/wx/window.h:82: error: field ‘font’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:85: error: field ‘colFg’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:89: error: field ‘colBg’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:920: error: ‘wxUpdateUIEvent’ has not been declared
    /usr/include/wx-2.8/wx/window.h:1116: error: ‘wxSysColourChangedEvent’ has not been declared
    /usr/include/wx-2.8/wx/window.h:1117: error: ‘wxInitDialogEvent’ has not been declared
    /usr/include/wx-2.8/wx/window.h:1118: error: ‘wxMouseEvent’ has not been declared
    /usr/include/wx-2.8/wx/window.h:1133: error: ‘WXWidget’ does not name a type
    /usr/include/wx-2.8/wx/window.h:1135: error: ‘WXWidget’ has not been declared
    /usr/include/wx-2.8/wx/window.h:1230: error: field ‘m_cursor’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:1231: error: field ‘m_font’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:1232: error: field ‘m_backgroundColour’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:1233: error: field ‘m_foregroundColour’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:1240: error: field ‘m_updateRegion’ has incomplete type
    /usr/include/wx-2.8/wx/window.h:562: error: ‘wxNavigationKeyEvent’ has not been declared
    /usr/include/wx-2.8/wx/window.h: In member function ‘const wxRegion& wxWindowBase::GetUpdateRegion() const’:
    /usr/include/wx-2.8/wx/window.h:761: error: ‘m_updateRegion’ was not declared in this scope
    /usr/include/wx-2.8/wx/window.h: In member function ‘wxRegion& wxWindowBase::GetUpdateRegion()’:
    /usr/include/wx-2.8/wx/window.h:762: error: ‘m_updateRegion’ was not declared in this scope
    /usr/include/wx-2.8/wx/window.h: In member function ‘const wxCursor& wxWindowBase::GetCursor() const’:
    /usr/include/wx-2.8/wx/window.h:850: error: ‘m_cursor’ was not declared in this scope
    /usr/include/wx-2.8/wx/window.h: In member function ‘wxWindow* wxWindowBase::GetGrandParent() const’:
    /usr/include/wx-2.8/wx/window.h:1547: error: invalid use of incomplete type ‘struct wxWindow’
    /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’
    In file included from generic/FileDialogPrivate.h:20,
    from FileDialog.h:36,
    from FileDialog.cpp:17:
    /usr/include/wx-2.8/wx/sizer.h: In member function ‘void wxSizerItem::SetMinSize(const wxSize&)’:
    /usr/include/wx-2.8/wx/sizer.h:292: error: invalid use of incomplete type ‘struct wxWindow’
    /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’
    In file included from FileDialog.h:36,
    from FileDialog.cpp:17:
    generic/FileDialogPrivate.h: At global scope:
    generic/FileDialogPrivate.h:42: error: expected class-name before ‘{’ token
    generic/FileDialogPrivate.h:86: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:87: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:88: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:89: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:90: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:91: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:92: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:93: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:94: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:95: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:96: error: ‘wxCommandEvent’ has not been declared
    generic/FileDialogPrivate.h:47: error: ‘wxFileSelectorPromptStr’ was not declared in this scope
    generic/FileDialogPrivate.h:50: error: ‘wxFileSelectorDefaultWildcardStr’ was not declared in this scope
    generic/FileDialogPrivate.h:56: error: ‘wxFileSelectorPromptStr’ was not declared in this scope
    generic/FileDialogPrivate.h:59: error: ‘wxFileSelectorDefaultWildcardStr’ was not declared in this scope
    generic/FileDialogPrivate.h: In constructor ‘FileDialog::FileDialog()’:
    generic/FileDialogPrivate.h:44: error: class ‘FileDialog’ does not have any field named ‘wxFileDialogBase’
    generic/FileDialogPrivate.h: In member function ‘virtual void FileDialog::SetMessage(const wxString&)’:
    generic/FileDialogPrivate.h:66: error: ‘SetTitle’ was not declared in this scope
    generic/FileDialogPrivate.h: At global scope:
    generic/FileDialogPrivate.h:235: error: expected class-name before ‘{’ token
    generic/FileDialogPrivate.h:244: error: ‘wxLC_LIST’ was not declared in this scope
    In file included from FileDialog.cpp:17:
    FileDialog.h:58: error: ‘wxFileSelectorPromptStr’ was not declared in this scope
    FileDialog.h:62: error: ‘wxFileSelectorDefaultWildcardStr’ was not declared in this scope
    FileDialog.cpp: In function ‘wxString FileSelector(const wxChar*, const wxChar*, const wxChar*, const wxChar*, const wxChar*, int, wxWindow*, wxString, void (*)(void*, int), void*)’:
    FileDialog.cpp:91: error: ‘wxFD_SAVE’ was not declared in this scope
    FileDialog.cpp:121: error: ‘class FileDialog’ has no member named ‘GetPath’
    make[2]: *** [FileDialog.o] Fehler 1
    make[2]: Leaving directory `/home/jason/Downloads/audacity-src-1.3.11-beta/lib-src/FileDialog'
    make[1]: *** [FileDialog-recursive] Fehler 2
    make[1]: Leaving directory `/home/jason/Downloads/audacity-src-1.3.11-beta/lib-src'
    make: *** [audacity] Fehler 2
    dhcppc1:/home/jason/Downloads/audacity-src-1.3.11-beta#
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    weiss jemand hier was los ist?


    danke!

  • Ist wx-widgets installiert?


    Ohne wx-widgets (inklusive devel-Pakete) gibt es keine Grafik-Oberfläche. Ausserdem brauchst du dann noch die devel-Pakete der von dir verwendeten Grafik-Oberfläche (GTK, KDE, usw.).


    Auch noch hilfreich zu wissen:


    In den tarballs von der Audacity Homepage sind so gut wie keine externen Bibliotheken enthaltem, weil es unter den verschiedenen Linux-Distributionen zu viele Inkompatibilitäten im Audio-Bereich gibt (OSS, ALSA, ESD, PulseAudio, usw.). In der CVS Version ist der SourceCode sämtlicher benötigten externen Bibliotheken bereits enthalten (ausser die Pakete für die Grafik-Oberfläche, siehe oben).


    Es funktioniert meist wesentlich einfacher, wenn du dir eine Kopie von Audacity CVS HEAD runterlädtst:


    [m]cvs -d:pserver:anonymous@audacity.cvs.sourceforge.net:/cvsroot/audacity checkout audacity[/m]


    Du erhältst dann ein Unterverzeichnis mit Namen 'audacity', dann spielst du erst mal:


    [m]cd audacity[/m]


    Und im 'audacity' Verzeichnis dann:


    [m]./configure[/m]


    Am Ende von 'configure' erscheint eine Liste, welche Bibliotheken alles gefunden wurden und ob noch was fehlt. Im Zweifelsfall diese Liste hier reinposten.


    Wenn das so weit durchgelaufen ist spielst du:


    [m]make
    sudo make install
    [/m]


    Du kannst vor 'make install' Audacity auch erst mal im aktuellen Verzeichnis starten mit:


    [m]./audacity[/m]


    Wenn währenddessen noch eine alte Version von Audacity installiert ist erscheinen manche Menü-Einträge doppelt, weil Audacity z.B. externe Plug-Ins doppelt findet. Dieser Effekt verschwindet aber sobald Audacity mit 'make install' installiert wurde.