I can't get BeatBox to compile

Asked by Musl1m on 2011-03-07

I've got the latest build of BeatBox from bzr but I can't get it to build or compile. I'm using Ubuntu 10.10 64bit. Here is the terminal output: musl1m@Ubuntu-Macbook:~/beat-box$ ./waf configure
invalid lock file in /home/musl1m/beat-box
Setting top to : /home/musl1m/beat-box
Setting out to : /home/musl1m/beat-box/build
->configuring beatbox in /home/musl1m/beat-box
Checking for 'gcc' (c compiler) : ok
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'gobject-2.0' : yes
Checking for 'gthread-2.0' : yes
Checking for program valac-0.8 : not found
Checking for program valac : /usr/bin/valac
Checking for valac version >= (0, 8, 0) : (0, 10, 1)
Checking for 'gtk+-2.0' >= 2.16.0 : yes
Checking for 'gee-1.0' >= 0.5.3 : yes
Checking for 'gstreamer-0.10' >= 0.10 : yes
Checking for 'taglib_c' >= 1.6.3 : yes
Checking for 'gio-2.0' >= 2.26.0 : yes
Checking for 'sqlheavy-0.1' >= 0.0 : yes
Checking for 'webkit-1.0' >= 1.2.5 : yes
Checking for 'libxml-2.0' >= 2.7.7 : yes
Checking for 'gconf-2.0' >= 2.31.91 : yes
'configure' finished successfully (1.105s)
musl1m@Ubuntu-Macbook:~/beat-box$ ./build_run
bash: ./build_run: No such file or directory
musl1m@Ubuntu-Macbook:~/beat-box$ ./compile
warning: D-Bus GLib is deprecated, use GDBus
src/Objects/SmartPlaylist.vala:156.12-156.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.bitrate;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:158.26-158.34: error: The name `parse' does not exist in the context of `int'
    return (s.bitrate <= int.parse(q.value));
                         ^^^^^^^^^
src/Objects/SmartPlaylist.vala:160.26-160.34: error: The name `parse' does not exist in the context of `int'
    return (s.bitrate >= int.parse(q.value));
                         ^^^^^^^^^
src/Objects/SmartPlaylist.vala:164.12-164.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.play_count;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:166.29-166.37: error: The name `parse' does not exist in the context of `int'
    return (s.play_count <= int.parse(q.value));
                            ^^^^^^^^^
src/Objects/SmartPlaylist.vala:168.29-168.37: error: The name `parse' does not exist in the context of `int'
    return (s.play_count >= int.parse(q.value));
                            ^^^^^^^^^
src/Objects/SmartPlaylist.vala:172.12-172.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.skip_count;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:174.29-174.37: error: The name `parse' does not exist in the context of `int'
    return (s.skip_count <= int.parse(q.value));
                            ^^^^^^^^^
src/Objects/SmartPlaylist.vala:176.29-176.37: error: The name `parse' does not exist in the context of `int'
    return (s.skip_count >= int.parse(q.value));
                            ^^^^^^^^^
src/Objects/SmartPlaylist.vala:180.12-180.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.year;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:182.23-182.31: error: The name `parse' does not exist in the context of `int'
    return (s.year <= int.parse(q.value));
                      ^^^^^^^^^
src/Objects/SmartPlaylist.vala:184.23-184.31: error: The name `parse' does not exist in the context of `int'
    return (s.year >= int.parse(q.value));
                      ^^^^^^^^^
src/Objects/SmartPlaylist.vala:188.12-188.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.length;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:190.25-190.33: error: The name `parse' does not exist in the context of `int'
    return (s.length <= int.parse(q.value));
                        ^^^^^^^^^
src/Objects/SmartPlaylist.vala:192.25-192.33: error: The name `parse' does not exist in the context of `int'
    return (s.length >= int.parse(q.value));
                        ^^^^^^^^^
src/Objects/SmartPlaylist.vala:196.12-196.20: error: The name `parse' does not exist in the context of `int'
    return int.parse(q.value) == s.rating;
           ^^^^^^^^^
src/Objects/SmartPlaylist.vala:198.25-198.33: error: The name `parse' does not exist in the context of `int'
    return (s.rating <= int.parse(q.value));
                        ^^^^^^^^^
src/Objects/SmartPlaylist.vala:200.25-200.33: error: The name `parse' does not exist in the context of `int'
    return (s.rating >= int.parse(q.value));
                        ^^^^^^^^^
src/Objects/SmartPlaylist.vala:205.29-205.37: error: The name `parse' does not exist in the context of `int'
   played = played.add_days(int.parse(q.value));
                            ^^^^^^^^^
src/Objects/SmartPlaylist.vala:222.29-222.37: error: The name `parse' does not exist in the context of `int'
   played = played.add_days(int.parse(q.value));
                            ^^^^^^^^^
src/LastFM/Image.vala:51.14-51.22: error: The name `parse' does not exist in the context of `int'
  _size[0] = int.parse(values[1]);
             ^^^^^^^^^
src/LastFM/Image.vala:52.14-52.22: error: The name `parse' does not exist in the context of `int'
  _size[1] = int.parse(values[2]);
             ^^^^^^^^^
src/LastFM/AlbumInfo.vala:91.19-91.27: error: The name `parse' does not exist in the context of `int'
     _playcount = int.parse(node_content);
                  ^^^^^^^^^
src/LastFM/AlbumInfo.vala:93.19-93.27: error: The name `parse' does not exist in the context of `int'
     _listeners = int.parse(node_content);
                  ^^^^^^^^^
src/LastFM/ArtistInfo.vala:98.20-98.28: error: The name `parse' does not exist in the context of `int'
     _streamable = int.parse(node_content);
                   ^^^^^^^^^
src/LastFM/ArtistInfo.vala:108.19-108.27: error: The name `parse' does not exist in the context of `int'
     _playcount = int.parse(node_content);
                  ^^^^^^^^^
src/LastFM/ArtistInfo.vala:110.19-110.27: error: The name `parse' does not exist in the context of `int'
     _listeners = int.parse(node_content);
                  ^^^^^^^^^
src/LastFM/TrackInfo.vala:83.12-83.20: error: The name `parse' does not exist in the context of `int'
     _id = int.parse(node_content);
           ^^^^^^^^^
src/LastFM/TrackInfo.vala:87.18-87.26: error: The name `parse' does not exist in the context of `int'
     _duration = int.parse(node_content);
                 ^^^^^^^^^
src/LastFM/TrackInfo.vala:89.20-89.28: error: The name `parse' does not exist in the context of `int'
     _streamable = int.parse(node_content);
                   ^^^^^^^^^
src/LastFM/TrackInfo.vala:91.19-91.27: error: The name `parse' does not exist in the context of `int'
     _playcount = int.parse(node_content);
                  ^^^^^^^^^
src/LastFM/TrackInfo.vala:93.19-93.27: error: The name `parse' does not exist in the context of `int'
     _listeners = int.parse(node_content);
                  ^^^^^^^^^
src/Widgets/MusicTreeView.vala:740.23-740.31: error: The name `parse' does not exist in the context of `int'
   lm.current_index = int.parse(current_song_path);
                      ^^^^^^^^^
src/Widgets/MusicTreeView.vala:743.23-743.31: error: The name `parse' does not exist in the context of `int'
   lm.current_index = int.parse(_rows.get(0).get_path().to_string());
                      ^^^^^^^^^
src/Dialogs/SongEditor.vala:244.23-244.34: error: The name `parse' does not exist in the context of `double'
   spinButton.value = double.parse(original);
                      ^^^^^^^^^^^^
src/Dialogs/SongEditor.vala:282.26-282.37: error: The name `parse' does not exist in the context of `double'
  if(spinButton.value != double.parse(_original))
                         ^^^^^^^^^^^^
src/Dialogs/SongEditor.vala:258.33-258.41: error: The name `Stock' does not exist in the context of `Gtk'
  reset = new Button.from_stock(Gtk.Stock.CLEAR);
                                ^^^^^^^^^
src/Dialogs/SongEditor.vala:300.23-300.34: error: The name `parse' does not exist in the context of `double'
   spinButton.value = double.parse(_original);
                      ^^^^^^^^^^^^
src/Dialogs/SongEditor.vala:179.15-179.23: error: The name `parse' does not exist in the context of `int'
    s.track = int.parse(fields.get("Track").get_value());
              ^^^^^^^^^
src/Dialogs/SongEditor.vala:181.14-181.22: error: The name `parse' does not exist in the context of `int'
    s.year = int.parse(fields.get("Year").get_value());
             ^^^^^^^^^
src/Widgets/ElementaryEntry.vala:134.41-134.49: error: The name `Stock' does not exist in the context of `Gtk'
        stock_item.translation_domain = Gtk.Stock.CLEAR;
                                        ^^^^^^^^^
src/Widgets/ElementaryEntry.vala:138.36-138.44: error: The name `Stock' does not exist in the context of `Gtk'
        icon_source.set_icon_name (Gtk.Stock.CLEAR);
                                   ^^^^^^^^^
src/Widgets/ElementaryEntry.vala:143.9-143.17: error: The name `Stock' does not exist in the context of `Gtk'
        Gtk.Stock.add ({stock_item});
        ^^^^^^^^^
src/Widgets/SimilarPane.vala:30.39-30.47: error: The name `Stock' does not exist in the context of `Gtk'
  refresh = new ToolButton.from_stock(Gtk.Stock.REFRESH);
                                      ^^^^^^^^^
src/Widgets/SimilarPane.vala:31.48-31.56: error: The name `Stock' does not exist in the context of `Gtk'
  transferPlayback = new ToolButton.from_stock(Gtk.Stock.MEDIA_PLAY);
                                               ^^^^^^^^^
src/Widgets/SimilarPane.vala:33.36-33.44: error: The name `Stock' does not exist in the context of `Gtk'
  save = new ToolButton.from_stock(Gtk.Stock.SAVE);
                                   ^^^^^^^^^
src/Dialogs/SmartPlaylistEditor.vala:227.30-227.38: error: The name `parse' does not exist in the context of `int'
   _valueNumerical.set_value(int.parse(q.value));
                             ^^^^^^^^^
src/LibraryWindow.vala:623.28-623.36: error: The name `Stock' does not exist in the context of `Gtk'
   playButton.set_stock_id(Gtk.Stock.MEDIA_PAUSE);
                           ^^^^^^^^^
src/LibraryWindow.vala:632.29-632.37: error: The name `Stock' does not exist in the context of `Gtk'
    playButton.set_stock_id(Gtk.Stock.MEDIA_PLAY);
                            ^^^^^^^^^
src/LibraryWindow.vala:637.29-637.37: error: The name `Stock' does not exist in the context of `Gtk'
    playButton.set_stock_id(Gtk.Stock.MEDIA_PAUSE);
                            ^^^^^^^^^
src/LibraryWindow.vala:157.46-157.54: error: The name `Stock' does not exist in the context of `Gtk'
  previousButton = new ToolButton.from_stock(Gtk.Stock.MEDIA_PREVIOUS);
                                             ^^^^^^^^^
src/LibraryWindow.vala:158.42-158.50: error: The name `Stock' does not exist in the context of `Gtk'
  playButton = new ToolButton.from_stock(Gtk.Stock.MEDIA_PLAY);
                                         ^^^^^^^^^
src/LibraryWindow.vala:159.42-159.50: error: The name `Stock' does not exist in the context of `Gtk'
  nextButton = new ToolButton.from_stock(Gtk.Stock.MEDIA_NEXT);
                                         ^^^^^^^^^
src/LibraryWindow.vala:165.54-165.62: error: The name `Stock' does not exist in the context of `Gtk'
  appMenu = new ElementaryWidgets.AppMenu.from_stock(Gtk.Stock.PROPERTIES, Gtk.IconSize.MENU, "Menu", settingsMenu);
                                                     ^^^^^^^^^
src/LibraryWindow.vala:948.39-948.47: error: The name `Stock' does not exist in the context of `Gtk'
                                      Gtk.Stock.CANCEL, ResponseType.CANCEL,
                                      ^^^^^^^^^
src/LibraryWindow.vala:949.39-949.47: error: The name `Stock' does not exist in the context of `Gtk'
                                      Gtk.Stock.OPEN, ResponseType.ACCEPT);
                                      ^^^^^^^^^
src/Dialogs/NotImportedWindow.vala:31.40-31.48: error: The name `Stock' does not exist in the context of `Gtk'
  Image warning = new Image.from_stock(Gtk.Stock.DIALOG_ERROR, Gtk.IconSize.DIALOG);
                                       ^^^^^^^^^
BeatBox.vala:86.3-86.11: error: The name `Stock' does not exist in the context of `Gtk'
  Gtk.Stock.add(stock_items);
  ^^^^^^^^^
Compilation failed: 58 error(s), 1 warning(s)

Any help would be appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
BeatBox Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-07
Last reply:
2011-03-08
Scott Ringwelski (sgringwe) said : #1

Make sure you are using the latest version of vala, specifically 0.11.6 which is available via the ppa

Can you help with this problem?

Provide an answer of your own, or ask Musl1m for more information if necessary.

To post a message you must log in.