[gobolinux-users] Error in compile of Audacity

Jonas Karlsson jonka750 at student.liu.se
Thu Apr 5 19:49:39 UTC 2007


Try 2.6.4 instead, which is the latest 2.6.x release

-- 
/Jonas

On Thu, 05 Apr 2007 21:37:26 +0200, Viola Zoltán <violazoli at gmail.com>  
wrote:

> Hm, I probe Compile wxgtk 2.6.2 to Audacity, but:
>
> ./src/common/strconv.cpp: In member function
> 'wxEncodingNameCache_wxImplementation_HashTable::Node**
> wxEncodingNameCache_wxImplementation_HashTable::GetNodePtr(const
> wxFontEncoding&) const':
> ./src/common/strconv.cpp:2519: warning: dereferencing type-punned pointer
> will break strict-aliasing rules
> ./bk-deps g++ -c -o basedll_stream.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/stream.cpp
> ./bk-deps g++ -c -o basedll_string.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/string.cpp
> ./bk-deps g++ -c -o basedll_sysopt.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/sysopt.cpp
> ./bk-deps g++ -c -o basedll_textbuf.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/textbuf.cpp
> ./bk-deps g++ -c -o basedll_textfile.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/textfile.cpp
> ./bk-deps g++ -c -o basedll_tokenzr.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/tokenzr.cpp
> ./bk-deps g++ -c -o basedll_txtstrm.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/txtstrm.cpp
> ./bk-deps g++ -c -o basedll_uri.o -I.pch/wxprec_basedll
> -D__WXGTK__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  
> -fPIC
> -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS
> -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread
> -I/Programs/GTK+/2.8.19/include/gtk-2.0
> -I/Programs/GTK+/2.8.19/lib/gtk-2.0/include
> -I/Programs/ATK/1.11.2/include/atk-1.0  
> -I/Programs/Cairo/1.2.6/include/cairo
> -I/Programs/Pango/1.13.2/include/pango-1.0-I/Programs/GLib/2.12.2/include/glib-
> 2.0 -I/Programs/GLib/2.12.2/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -O2 -O2 -march=i686 -fomit-frame-pointer -pipe -pthread  
> -Wall
> -Wundef -Wno-ctor-dtor-privacy ./src/common/uri.cpp
> ./src/common/uri.cpp: In member function 'void wxURI::Resolve(const  
> wxURI&,
> int)':
> ./src/common/uri.cpp:890: error: no match for 'operator+' in
> 'wxStringBase::substr(size_t, size_t) const(0u, ((size_t)(((int)bp) -
> ((int)base->wxURI::m_path.wxString::<anonymous>.wxStringBase::c_str()))))  
> +
> wxStringBase::substr(size_t, size_t) const(((size_t)(((int)op) -
> ((int)((wxURI*)this)->wxURI::m_path.wxString::<anonymous>.wxStringBase::c_str()))),
> ((wxURI*)this)->wxURI::m_path. wxString::Length())'
> ./include/wx/longlong.h:932: note: candidates are: wxULongLong
> operator+(long unsigned int, const wxULongLong&)
> ./include/wx/longlong.h:919: note:                 wxLongLong  
> operator+(long
> int, const wxLongLong&)
> ./include/wx/string.h:1486: note:                 wxString  
> operator+(const
> wxCharBuffer&, const wxString&)
> ./include/wx/string.h:1484: note:                 wxString  
> operator+(const
> wxString&, const wxCharBuffer&)
> make: *** [basedll_uri.o] Error 1
> Compile: Build process failed.
>
> Zoli
>
> 2007/4/4, Jonas Karlsson <jonka750 at student.liu.se>:
>>
>> I said you should install any 2.6.x version of your favourite wxbinding,
>> which seems to be wxgtk. I also said you could try a 2.8.x version, but  
>> I
>> didn't know if Audacity worked with that. Now it seems like it  
>> (Audacity)
>> doesn't work with 2.8.x, so then I recommend you to do as I said and
>> install a 2.6.x version.
>>
>> /Jonas
>>
>> On Wed, 04 Apr 2007 21:53:18 +0200, Viola Zoltán <violazoli at gmail.com>
>> wrote:
>>
>> > I have WxGTK 2.8.0, and Audacity will not work...
>> >
>> > Zoli
>> >
>> > 2007/4/4, Jonas Karlsson <jonka750 at student.liu.se>:
>> >>
>> >> On Wed, 04 Apr 2007 15:01:31 +0200, Viola Zoltán  
>> <violazoli at gmail.com>
>> >> wrote:
>> >>
>> >> > Hm... It is a dependencies problem:
>> >> >
>> >> > configure: Expat libraries are available in the local tree
>> >> > checking for ./lib-src/twolame/libtwolame/twolame.h... no
>> >> > configure: libtwolame library is NOT available in the local tree
>> >> > configure: Figuring out what libraries to enable
>> >> > configure: Using SYSTEM libraries for LIBVORBIS
>> >> > configure: Using SYSTEM libraries for LIBMAD
>> >> > configure: Using SYSTEM libraries for LIBSNDFILE
>> >> > configure: Using SYSTEM libraries for LIBFLAC
>> >> > configure: Using SYSTEM libraries for LIBID3TAG
>> >> > configure: Using SYSTEM libraries for LIBSAMPLERATE
>> >> > configure: Using LOCAL libraries for LIBRESAMPLE
>> >> > configure: Using LOCAL libraries for LIBSOUNDTOUCH
>> >> > configure: Using LOCAL libraries for LIBNYQUIST
>> >> > configure: Using SYSTEM libraries for LIBEXPAT
>> >> > configure: disabling LIBTWOLAME
>> >> > checking for zip... /System/Links/Executables/zip
>> >> > checking for wx-config... /System/Links/Executables/wx-config
>> >> > configure: Checking that the installed version of wxWidgets is  
>> 2.6.x
>> >> > configure: error: Unable to locate a suitable configuration of
>> >> wxWidgets
>> >> > v2.6.x.
>> >> > 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
>> >> > PrepareProgram: configure failed.
>> >> > Compile: Preparation step failed.
>> >> >
>> >> Yes, it says that it can't find wxWidgets 2.6.x or higher. Have you
>> >> installed that? If not, install any wx-package 2.6.x (there's a  
>> recipe
>> >> for
>> >> wxGTK 2.6.2 for example) and try again (the latest release of  
>> wxWidgets
>> >> is
>> >> 2.8.3, but I don't know if Audacity works with 2.8.x, but you could
>> >> try).
>> >>
>> >> --
>> >> /Jonas
>> >>
>> >> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>> >> _______________________________________________
>> >> gobolinux-users mailing list
>> >> gobolinux-users at lists.gobolinux.org
>> >> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>> >>
>> >
>> >
>> >
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>> _______________________________________________
>> gobolinux-users mailing list
>> gobolinux-users at lists.gobolinux.org
>> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>>
>
>
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-users mailing list