Needs an ebuild :-) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hi herd, I planned to take a look at wired as soon as it's released. It's out now, so I'll check it out. If everything works fine (which I don't see) expect an ebuild soon. Cheers, Marc.
Created attachment 43632 [details] An ebuild that fails I think the problem with this ebuild failing is GCC 3.4. Here is the output of the error: if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../audio -I../plugins -I../fileloader -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -ggdb -MT HelpPanel.o -MD -MP -MF ".deps/HelpPanel.Tpo" -c -o HelpPanel.o HelpPanel.cpp; \ then mv -f ".deps/HelpPanel.Tpo" ".deps/HelpPanel.Po"; else rm -f ".deps/HelpPanel.Tpo"; exit 1; fi HelpCtrl.cpp: In constructor `HelpCtrl::HelpCtrl(wxWindow*, wxWindowID, wxString, const wxPoint&, const wxSize&)': HelpCtrl.cpp:5: error: `wxHW_NO_SELECTION' undeclared (first use this function) HelpCtrl.cpp:5: error: (Each undeclared identifier is reported only once for each function it appears in.) HelpCtrl.cpp: In member function `void HelpCtrl::Load_Text(wxString)': HelpCtrl.cpp:25: error: no match for 'operator+=' in 'tmp += (&text)->wxString::operator+=(((const char*)"</font></strong></td></tr></table></body></html>"))' /usr/include/wx/string.h:563: note: candidates are: void wxString::operator+=(const wxString&) /usr/include/wx/string.h:565: note: void wxString::operator+=(const wxChar*) /usr/include/wx/string.h:567: note: void wxString::operator+=(wxChar) /usr/include/wx/string.h:579: note: void wxString::operator+=(const wxCharBuffer&) make[1]: *** [HelpCtrl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ./Rack.h:8, from ./SeqTrack.h:10, from ../sequencer/Track.h:4, from ../sequencer/Sequencer.h:10, from Cursor.cpp:6: ../engine/AudioEngine.h:4:23: portaudio.h: No such file or directory In file included from ../engine/AudioEngine.h:5, from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ./Rack.h:8, from ./SeqTrack.h:10, from ../sequencer/Track.h:4, from ../sequencer/Sequencer.h:10, from Cursor.cpp:6: ../engine/Device.h:17: error: `paFloat32' was not declared in this scope ../engine/Device.h:17: error: `paInt32' was not declared in this scope ../engine/Device.h:18: error: `paInt24' was not declared in this scope ../engine/Device.h:18: error: `paInt16' was not declared in this scope ../engine/Device.h:19: error: `paUInt8' was not declared in this scope ../engine/Device.h:20: error: `paInt8' was not declared in this scope In file included from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ./Rack.h:8, from ./SeqTrack.h:10, from ../sequencer/Track.h:4, from ../sequencer/Sequencer.h:10, from Cursor.cpp:6: ../engine/AudioEngine.h:87: error: expected `;' before '(' token ../engine/AudioEngine.h:89: error: ISO C++ forbids declaration of `PaStream' with no type ../engine/AudioEngine.h:89: error: expected `;' before '*' token ../engine/AudioEngine.h:98: error: expected `,' or `...' before '*' token ../engine/AudioEngine.h:101: error: ISO C++ forbids declaration of `PaStreamCallbackTimeInfo' with no type ../engine/AudioEngine.h: In function `int AudioCallback(const void*, void*, long unsigned int, int)': ../engine/AudioEngine.h:102: error: `userData' undeclared (first use this function) ../engine/AudioEngine.h:102: error: (Each undeclared identifier is reported only once for each function it appears in.) ../engine/AudioEngine.h:111: error: `paFloat32' undeclared (first use this function) ../engine/AudioEngine.h:133: error: `paInt32' undeclared (first use this function) ../engine/AudioEngine.h:137: error: `paInt24' undeclared (first use this function) ../engine/AudioEngine.h:139: error: `paInt16' undeclared (first use this function) ../engine/AudioEngine.h:141: error: `paUInt8' undeclared (first use this function) ../engine/AudioEngine.h:143: error: `paInt8' undeclared (first use this function) make[1]: *** [Cursor.o] Error 1 In file included from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ChannelGui.h:7, from ChannelGui.cpp:2: ../engine/AudioEngine.h:4:23: portaudio.h: No such file or directory In file included from ../engine/AudioEngine.h:5, from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ChannelGui.h:7, from ChannelGui.cpp:2: ../engine/Device.h:17: error: `paFloat32' was not declared in this scope ../engine/Device.h:17: error: `paInt32' was not declared in this scope ../engine/Device.h:18: error: `paInt24' was not declared in this scope ../engine/Device.h:18: error: `paInt16' was not declared in this scope ../engine/Device.h:19: error: `paUInt8' was not declared in this scope ../engine/Device.h:20: error: `paInt8' was not declared in this scope In file included from ../mixer/Channel.h:7, from ../mixer/Mixer.h:8, from ChannelGui.h:7, from ChannelGui.cpp:2: ../engine/AudioEngine.h:87: error: expected `;' before '(' token ../engine/AudioEngine.h:89: error: ISO C++ forbids declaration of `PaStream' with no type ../engine/AudioEngine.h:89: error: expected `;' before '*' token ../engine/AudioEngine.h:98: error: expected `,' or `...' before '*' token ../engine/AudioEngine.h:101: error: ISO C++ forbids declaration of `PaStreamCallbackTimeInfo' with no type ../engine/AudioEngine.h: In function `int AudioCallback(const void*, void*, long unsigned int, int)': ../engine/AudioEngine.h:102: error: `userData' undeclared (first use this function) ../engine/AudioEngine.h:102: error: (Each undeclared identifier is reported only once for each function it appears in.) ../engine/AudioEngine.h:111: error: `paFloat32' undeclared (first use this function) ../engine/AudioEngine.h:133: error: `paInt32' undeclared (first use this function) ../engine/AudioEngine.h:137: error: `paInt24' undeclared (first use this function) ../engine/AudioEngine.h:139: error: `paInt16' undeclared (first use this function) ../engine/AudioEngine.h:141: error: `paUInt8' undeclared (first use this function) ../engine/AudioEngine.h:143: error: `paInt8' undeclared (first use this function) make[1]: *** [ChannelGui.o] Error 1 make: *** [all-recursive] Error 1 !!! ERROR: media-sound/wired-0.1 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
I have done some more work on this and here is a new ebuild that has dep info. I have also created an ebuild for a dep that is not in portage. The dep ebuild works for GCC 3.3 but not for 3.4. The Wired ebuild still fails to compile with both GCC 3.3 and 3.4. I am attaching the dep ebuild, the new wired ebuild and the output of the various compile failures.
Created attachment 43837 [details] The new Wired ebuild
Created attachment 43838 [details] The soundtouch (dep) ebuild
Created attachment 43839 [details] The output Here is the output of the various compile failures
libsoundtouch-1.2.1 is already in portage, but im not sure if wired will compile against it. I read on the site that they were going to start bundling soundtouch in their src tarballs. I'll try to test on ppc this weekend.
just found this: - SoundTouch: http://sky.prohosting.com/oparviai/soundtouch/ * /!\ VERY IMPORTANT /!\ You need to modify a SoundTouch header before compiling and installing, in order to use float samples instead of integer: - open the file SoundTouch/include/STTypes.h - find line "#define INTEGER_SAMPLES" and COMMENT it - find line "#define FLOAT_SAMPLES" and UNCOMMENT it - now you can compile and install SoundTouch
OK, sorry for all the messages. I have come up with an ebuild that fails with the file browser dialog compile. Here is the error: if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/lib/wx/include/gtk2-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -I../gui -I../plugins -I../audio -I/opt/gnome/include -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredAkai/include -ggdb -MT TreeItemData.o -MD -MP -MF ".deps/TreeItemData.Tpo" -c -o TreeItemData.o TreeItemData.cpp; \ then mv -f ".deps/TreeItemData.Tpo" ".deps/TreeItemData.Po"; else rm -f ".deps/TreeItemData.Tpo"; exit 1; fi FileLoader.cpp: In member function `void FileLoader::OnActivateFile(wxListEvent&)': FileLoader.cpp:789: error: `wxFile' has not been declared FileLoader.cpp:789: error: `Exists' undeclared (first use this function) FileLoader.cpp:789: error: (Each undeclared identifier is reported only once for each function it appears in.) FileLoader.cpp: In member function `void FileLoader::OnOpen(wxCommandEvent&)': FileLoader.cpp:859: error: `wxFile' has not been declared FileLoader.cpp:859: error: `Exists' undeclared (first use this function) FileLoader.cpp: In member function `void FileLoader::OnEnterFilename(wxCommandEvent&)': FileLoader.cpp:914: error: `wxFile' has not been declared FileLoader.cpp:914: error: `Exists' undeclared (first use this function) make[1]: *** [FileLoader.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/wired-0.1/work/wired/src/fileloader' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/wired-0.1 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 43870 [details] The updated ebuild
Created attachment 43871 [details] The portaudio cvs snapshot ebuild This version of the package is required by wired.
I found that wired is trying to get 2.5.3 includes from /usr/include/wx/whatever.h and gentoo installs the wx 2.4 includes in /usr/include/wx/*. The wxgtk 2.5 includes are in /usr/include/wx-2.5/wx/. Also the wx-config file is only for 2.4. 2.5 is supposed to use the wxwidgets eclass. Using this info can someone make an ebuild? I have tried.
Looks like Wired 0.11 has been released. It now depends on information found under this link: http://bloodshed.net/wired/files/INSTALL Summary of new dependancy's: - wxGTK 2.5.x (recommended 2.5.0 or 2.5.3) : www.wxwidgets.org - Latest CVS snapshot of PortAudio v19 - SoundTouch 1.2.1 : http://sky.prohosting.com/oparviai/soundtouch/ - Latest libsndfile : http://www.mega-nerd.com/libsndfile/ - ALSA support in your kernel and alsalib installed - GTK 2 : http://www.gtk.org I found this nugget of info regarding gcc :-) - Error in a wxWidgets statement : * Some problems have been reported with some systems, but the following configurations have been tested to work : - wxGTK 2.5.0 with GTK 2.2 and GCC 3.3.x - wxGTK 2.5.3 with GTK 2.4 and GCC 3.4.x
Created attachment 45684 [details] A new ebuild This ebuild fails. The problem is that wxGTK 2.5.3 breaks some things. So portage slots it and you are supposed to use the wxwidgets eclass to control that. Unfortunantly AFAIK there is no configure option in wired to allow you to specify the wxwidgets include path.
Created attachment 46000 [details] portaudio without jack support wired will not compile when portaudio has jack support compiled in.
Created attachment 46001 [details] A working ebuild Here is an ebuild that fixes the wxGTK slotting problems. It compiles and runs!!!
Is this ebuild ready for portage? It might need to be masked at the moment because it depends on wxGTK 2.5 which is masked. Portaudio version 19 cvs snapshot needs to be put in portage for this ebuild to work.
Special request before adding this to portage: jack support. You might want to have a local use flag set for this option, or use the global jack use flag, but it would be nice for jack support to be included since this is a pro-audio app. Perhaps you might use a flag called something like "jack-portaudio" 1) portaudio has to be built with jack support 2) add -ljack to the wired_LDFLAGS in src/Makefile.am in the wired package
i get lots of PA unresolved externals! is the attached portaudio ebuild the right one to use? ... engine/libengine.a(AudioEngine.o)(.text+0xcec): In function `AudioEngine::~Audio Engine()': /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/bits/ostream.tcc:63: undefin ed reference to `Pa_GetErrorText' engine/libengine.a(AudioEngine.o)(.text+0xd90): In function `AudioEngine::~Audio Engine()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:27: undefined reference to `Pa_Terminate' engine/libengine.a(AudioEngine.o)(.text+0xd9c): In function `AudioEngine::~Audio Engine()': /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/bits/ostream.tcc:63: undefin ed reference to `Pa_GetErrorText' engine/libengine.a(AudioEngine.o)(.text+0xe92): In function `AudioEngine::AudioE ngine()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:16: undefined reference to `Pa_Initialize' engine/libengine.a(AudioEngine.o)(.text+0xea1): In function `AudioEngine::AudioE ngine()': /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/ext/new_allocator.h:62: unde fined reference to `Pa_GetErrorText' engine/libengine.a(AudioEngine.o)(.text+0x1032): In function `AudioEngine::Audio Engine()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:16: undefined reference to `Pa_Initialize' engine/libengine.a(AudioEngine.o)(.text+0x1041): In function `AudioEngine::Audio Engine()': /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/ext/new_allocator.h:62: unde fined reference to `Pa_GetErrorText' engine/libengine.a(AudioEngine.o)(.text+0x18ff): In function `AudioEngine::SetDe faultSettings()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:649: undefined reference to `Pa_GetDefaultOutputDevice' engine/libengine.a(AudioEngine.o)(.text+0x1a49): In function `AudioEngine::GetDe vices()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:315: undefined reference to `Pa_GetDeviceCount' engine/libengine.a(AudioEngine.o)(.text+0x1a77):/var/tmp/portage/wired-0.11/work /wired/src/engine/AudioEngine.cpp:327: undefined reference to `Pa_GetDeviceInfo' engine/libengine.a(AudioEngine.o)(.text+0x35e): In function `AudioEngine::GetTim e()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:640: undefined reference to `Pa_GetStreamTime' engine/libengine.a(AudioEngine.o)(.text+0x37e): In function `AudioEngine::GetCpu Load()': /var/tmp/portage/wired-0.11/work/wired/src/engine/AudioEngine.cpp:645: undefined reference to `Pa_GetStreamCpuLoad' engine/libengine.a(Device.o)(.text+0x15): In function `Device::GetSupportedSetti ngs()': /var/tmp/portage/wired-0.11/work/wired/src/engine/Device.cpp:10: undefined refer ence to `Pa_GetDeviceInfo' engine/libengine.a(Device.o)(.text+0xe0):/var/tmp/portage/wired-0.11/work/wired/ src/engine/Device.cpp:57: undefined reference to `Pa_IsFormatSupported' collect2: ld returned 1 exit status make[2]: *** [wired] Error 1 make[2]: Leaving directory `/var/tmp/portage/wired-0.11/work/wired/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/wired-0.11/work/wired/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/wired-0.11 failed. !!! Function src_compile, Line 48, Exitcode 2
Exactly the same error here.
I install portaudio 19 snapshot manually and wired compile without any problem. Get a fresh pa_snapshot_v19.tar.gz from portaudio.com Then ./configure --with-alsa && make && make install And emerge wired So, I think there is a trouble with the actual portaudio19 ebuild.
This ebuild needs a newer portaudio than the one in portage. Please reopen when a compatible portaudio will be stable (upstream) and in portage.