Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't install Audacity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Fri Oct 20, 2006 3:27 am    Post subject: I can't install Audacity Reply with quote

I tried to install audacity but received the following errors:
Code:

libaudacity.a(SimpleBlockFile.o): In function `SimpleBlockFile::SaveXML(int, wxFFile&)':
SimpleBlockFile.cpp:(.text+0x12ae): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
SimpleBlockFile.cpp:(.text+0x1366): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
SimpleBlockFile.cpp:(.text+0x13d6): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
SimpleBlockFile.cpp:(.text+0x145b): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
SimpleBlockFile.cpp:(.text+0x14c7): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
libaudacity.a(SimpleBlockFile.o):SimpleBlockFile.cpp:(.text+0x154d): more undefined references to `wxFFile::Write(wxString const&, wxMBConv&)' follow
libaudacity.a(SimpleBlockFile.o): In function `SimpleBlockFile::BuildFromXML(DirManager&, wchar_t const**)':
SimpleBlockFile.cpp:(.text+0x1aa2): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
SimpleBlockFile.cpp:(.text+0x1ac6): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
libaudacity.a(SimpleBlockFile.o): In function `SimpleBlockFile::Copy(wxFileName)':
SimpleBlockFile.cpp:(.text+0x1eaa): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
SimpleBlockFile.cpp:(.text+0x1edd): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
libaudacity.a(PCMAliasBlockFile.o): In function `PCMAliasBlockFile::PCMAliasBlockFile(wxFileName, wxFileName, int, int, int)':
PCMAliasBlockFile.cpp:(.text+0x1d): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
libaudacity.a(PCMAliasBlockFile.o):PCMAliasBlockFile.cpp:(.text+0x2c): more undefined references to `wxFileName::wxFileName(wxFileName const&)' follow
libaudacity.a(PCMAliasBlockFile.o): In function `PCMAliasBlockFile::SaveXML(int, wxFFile&)':
PCMAliasBlockFile.cpp:(.text+0x149e): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
PCMAliasBlockFile.cpp:(.text+0x1556): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
PCMAliasBlockFile.cpp:(.text+0x15c5): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
PCMAliasBlockFile.cpp:(.text+0x1671): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
PCMAliasBlockFile.cpp:(.text+0x16f8): undefined reference to `wxFFile::Write(wxString const&, wxMBConv&)'
libaudacity.a(PCMAliasBlockFile.o):PCMAliasBlockFile.cpp:(.text+0x1749): more undefined references to `wxFFile::Write(wxString const&, wxMBConv&)' follow
libaudacity.a(PCMAliasBlockFile.o): In function `PCMAliasBlockFile::BuildFromXML(DirManager&, wchar_t const**)':
PCMAliasBlockFile.cpp:(.text+0x1f53): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
PCMAliasBlockFile.cpp:(.text+0x1f68): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
PCMAliasBlockFile.cpp:(.text+0x1f92): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
PCMAliasBlockFile.cpp:(.text+0x1fa4): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
libaudacity.a(BlockFile.o): In function `BlockFile::BlockFile(wxFileName, int)':
BlockFile.cpp:(.text+0xf0): undefined reference to `wxFileName::wxFileName(wxFileName const&)'
libaudacity.a(BlockFile.o):BlockFile.cpp:(.text+0x180): more undefined references to `wxFileName::wxFileName(wxFileName const&)' follow
/usr/X11R6/lib/libwx_gtk2u_qa-2.6.so: undefined reference to `wxSizer::Add(wxSizer*, wxSizerFlags const&)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxHelpControllerBase::DisplayTextPopup(wxString const&, wxPoint const&)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxPopupWindowBase::IsTopLevel() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnStartAdvise(wxString const&, wxString const&)'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxTextCtrl::wxTextCtrl()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc8()'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxCalendarCtrl::wxCalendarCtrl()'
/usr/X11R6/lib/libwx_gtk2u_qa-2.6.so: undefined reference to `wxSizer::Add(wxWindow*, wxSizerFlags const&)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxHelpControllerBase::GetParentWindow() const'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxScrolledWindow::OnDraw(wxDC&)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxLongToLongHashMap_wxImplementation_HashTable::GetBucketForNode(wxLongToLongHashMap_wxImplementation_HashTable*, wxLongToLongHashMap_wxImplementation_HashTable::Node*)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc1()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxOutputStream::LastWrite() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc4()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc7()'
/usr/X11R6/lib/libwx_gtk2u_core-2.6.so: undefined reference to `wxObject::~wxObject()'
/usr/X11R6/lib/libwx_gtk2u_core-2.6.so: undefined reference to `wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnStopAdvise(wxString const&, wxString const&)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxHelpControllerBase::DisplayContextPopup(int)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnExecute(wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::GetLength() const'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxScrolledWindow::PrepareDC(wxDC&)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxFileSystem::wxFileSystem()'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxClassInfo::IsKindOf(wxClassInfo const*) const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc3()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxNotifyEvent::Clone() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxFileInputStream::IsSeekable() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc6()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxCommandEvent::Clone() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc5()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxLongToLongHashMap_wxImplementation_HashTable::DeleteNode(_wxHashTable_NodeBase*)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnPoke(wxString const&, wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxOutputStream::Close()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxPopupTransientWindow::CanDismiss()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnAdvise(wxString const&, wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::IsSeekable() const'
/usr/X11R6/lib/libwx_gtk2u_core-2.6.so: undefined reference to `wxObjectList::Find(wxListKey const&) const'
/usr/X11R6/lib/libwx_gtk2u_qa-2.6.so: undefined reference to `wxFileName::wxFileName(wxString const&, wxString const&, wxPathFormat)'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxButton::ShouldInheritColours() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc2()'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxVScrolledWindow::OnGetLinesHint(unsigned int, unsigned int) const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc9()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxInputStream::LastRead() const'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxTreeCtrl::wxTreeCtrl()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxDialog::~wxDialog()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnRequest(wxString const&, wxString const&, int*, wxIPCFormat)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxBitmapButton::SetLabel(wxBitmap const&)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxLongToLongHashMap_wxImplementation_HashTable::CopyNode(wxLongToLongHashMap_wxImplementation_HashTable::Node*)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxHelpControllerBase::SetParentWindow(wxWindow*)'
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.0b/work/audacity-src-1.3.0b-beta/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.3.0b failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  audacity-1.3.0b.ebuild, line 54:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

(Actually I got a ton of others but they were all similar. I didn't want to put the whole thing in and the first one scrolled out of my buffer.)
My guess was a problem with wxGTK so I attempted to reinstall that:
Code:

i686-pc-linux-gnu-g++ -shared -fPIC -o lib/libwx_gtk2_xrc-2.6.so.0.3.1  xrcdll_xh_bmpbt.o xrcdll_xh_bmp.o xrcdll_xh_bttn.o xrcdll_xh_cald.o xrcdll_xh_chckb.o xrcdll_xh_chckl.o xrcdll_xh_choic.o xrcdll_xh_choicbk.o xrcdll_xh_combo.o xrcdll_xh_datectrl.o xrcdll_xh_dlg.o xrcdll_xh_frame.o xrcdll_xh_mdi.o xrcdll_xh_gauge.o xrcdll_xh_gdctl.o xrcdll_xh_html.o xrcdll_xh_listb.o xrcdll_xh_listbk.o xrcdll_xh_listc.o xrcdll_xh_menu.o xrcdll_xh_notbk.o xrcdll_xh_panel.o xrcdll_xh_radbt.o xrcdll_xh_radbx.o xrcdll_xh_scrol.o xrcdll_xh_scwin.o xrcdll_xh_sizer.o xrcdll_xh_slidr.o xrcdll_xh_spin.o xrcdll_xh_split.o xrcdll_xh_statbar.o xrcdll_xh_stbmp.o xrcdll_xh_stbox.o xrcdll_xh_stlin.o xrcdll_xh_sttxt.o xrcdll_xh_text.o xrcdll_xh_tglbtn.o xrcdll_xh_toolb.o xrcdll_xh_tree.o xrcdll_xh_unkwn.o xrcdll_xh_wizrd.o xrcdll_xmlres.o xrcdll_xmlrsall.o -Llib -Llib -Llib -Llib -Llib -pthread   -L/usr/X11R6/lib    -Llib   -Wl,-soname,libwx_gtk2_xrc-2.6.so.0          -pthread   -L/usr/X11R6/lib -Wl,--version-script,version-script -lz -ldl -lm  -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base-2.6
(cd lib/; rm -f libwx_gtk2_xrc-2.6.so libwx_gtk2_xrc-2.6.so.0; ln -s libwx_gtk2_xrc-2.6.so.0.3.1 libwx_gtk2_xrc-2.6.so.0; ln -s libwx_gtk2_xrc-2.6.so.0 libwx_gtk2_xrc-2.6.so)
i686-pc-linux-gnu-g++ -o wxrc wxrc_wxrc.o -pthread   -L/usr/X11R6/lib    -L../../lib   -lwx_base_xml-2.6 -lexpat -lwx_base-2.6          -pthread   -L/usr/X11R6/lib -Wl,--version-script,../../version-script -lz -ldl -lm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: wxrc: hidden symbol `wxObject::ReservedObjectFunc8()' in wxrc_wxrc.o is referenced by DSO
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [wxrc] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/gtk2_build/utils/wxrc'
make: *** [wxrc] Error 2

!!! ERROR: x11-libs/wxGTK-2.6.3.3 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  wxGTK-2.6.3.3.ebuild, line 146:   Called configure_build 'gtk2' 'unicode' '
                --with-sdl
                --disable-joystick
                        --enable-opengl
                        --with-opengl
                        --with-gnomeprint --with-gtk=2'
  wxGTK-2.6.3.3.ebuild, line 62:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Any thoughts here. What do I need to do to get this to work? Let me know if you'd like some extra info.
Back to top
View user's profile Send private message
arghnoname
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 84
Location: Washington, DC

PostPosted: Fri Oct 20, 2006 4:18 am    Post subject: Reply with quote

If I had to guess it looks like you're missing a wx lib.

This SHOULD get hit as a dependency of the ebuild of course...

You can always check the bug tracker (bugs.gentoo.org I think) or go to the stable version of Audacity if you're unstable or vice versa.

Doing a quick emerge --search popped up x11-libs/wxGTK. Maybe that's what you're missing. I use audacious and I have it installed.
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Sat Oct 21, 2006 6:01 am    Post subject: Reply with quote

arghnoname wrote:
If I had to guess it looks like you're missing a wx lib.

This SHOULD get hit as a dependency of the ebuild of course...

You can always check the bug tracker (bugs.gentoo.org I think) or go to the stable version of Audacity if you're unstable or vice versa.

Doing a quick emerge --search popped up x11-libs/wxGTK. Maybe that's what you're missing. I use audacious and I have it installed.

Right but a re-install of wxGTK doesn't work either.

I didn't see anything on bugzilla and I don't want to submit one without presenting the problem here first.
Back to top
View user's profile Send private message
arghnoname
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 84
Location: Washington, DC

PostPosted: Sat Oct 21, 2006 7:50 am    Post subject: Reply with quote

Code:
`/var/tmp/portage/x11-libs/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/gtk2_build/utils/wxrc'


I didn't notice that line in your code before. Did you try (re)-emerging wxPython? Failing that, does a revdep rebuild have any result?
Back to top
View user's profile Send private message
Frustrated
n00b
n00b


Joined: 19 May 2005
Posts: 74

PostPosted: Sun Oct 22, 2006 4:12 am    Post subject: Reply with quote

arghnoname wrote:
Code:
`/var/tmp/portage/x11-libs/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/gtk2_build/utils/wxrc'


I didn't notice that line in your code before. Did you try (re)-emerging wxPython? Failing that, does a revdep rebuild have any result?

Ooooh... Good call. I guess I was in that directory when it failed.

Seems I don't even have wxpython installed?!

I'll try to install it now...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum