i folowed this <https://help.ubuntu.com/community/Vala#Libraries and Bindings> tutorial and i have the same problem.
first, i tried to install only glib and gtk+. apt-get told me: libgtk2.0-dev is already the newest version. libglib2.0-dev is already the newest version. then i tried to install all packages suggested by the tutorial, just to make sure: sudo apt-get install libglib2.0-dev libgtk2.0-dev libpoppler-glib-dev libdbus-glib-1-dev libgstreamer0.10-dev libglade2-dev libsqlite3-dev libgnome-desktop-dev libgnome-menu-dev libgnomevfs2-dev still, when running valac, when i try to type something in a .vala file, it quits. here is the output: victor@victor-laptop ~ $ valide Can't read config.ini file: Key file does not have group 'Search' Can't read config.ini file: Key file does not have group 'Search' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' plugin-manager.vala:105: Error opening directory '/home/victor/.valide/plugins': No such file or directory Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'lock-items' Can't read config.ini file: Key file does not have key 'width' Can't read config.ini file: Key file does not have key 'height' builder.vala:254: creating object of type `ValideProject' builder.vala:254: creating object of type `ValideNativeBuilderOptions' (valide:4044): GLib-GObject-WARNING **: g_object_set_property: property `path' of object class `ValideProject' is not writable builder.vala:254: creating object of type `ValideExecutableOptions' builder.vala:254: creating object of type `ValideSource' Can't read config.ini file: Key file does not have group 'Search' Can't read config.ini file: Key file does not have group 'Search' Can't read config.ini file: Key file does not have group 'Todo' Can't read config.ini file: Key file does not have group 'Todo' PluginCompletion-ERROR **: parser.vala:56: failed to add GLib 2.0 aborting... Aborted at some point, i also read this in the output: (valide:4263): GLib-GObject-WARNING **: g_object_set_property: property `path' of object class `ValideProject' is not writable now, this seems to be the most "official" tutorial for valide on ubuntu. and it failed me on 2 systems, one with ubuntu 10.04, one with linux mint 10 my guess it that there might be a version incompatibility somewhere in these packages or maybe the missing ~/.vala/config.ini ? i think this is quite bad for vala for the folowing reasons: 1. ubuntu, is (one of) the most popular distro 2. valide is perceived by any newcomer as the 'de facto' ide for the lang and it fails on a 'straight' install 3. not only it fails, but it fails by simply quitting, while in a non-core module (PluginCompletion) i guess it's not so difficult to improve the robustness of the ide to at least give friendly messages when something goes wrong. thank you very much again ;) 2011/6/8 Gavrilov Maksim <[email protected]> > 08.06.2011 19:38, Victor D. пишет: > > probably not, this is why eas asking for a complete tutorial, to save > your > > time ;) > > though, ideally, a ppa should add dependencies for *all* packages > > > > you can regard my system as a fresh ubuntu install. not even > build-essential > > or similar > > > > thanks again ;) > > > Here's the complete tutorial: > https://help.ubuntu.com/community/Vala > > You need this part: > https://help.ubuntu.com/community/Vala#Libraries and Bindings > > After installing all this dependencies Val(a)ide should at least start. > > If not, then write here again, we'll try to figure everything out :) > > P.S.: Guys, it will be cool if someone who uses Ubuntu tries to help > Victor, not me using Gentoo :) > _______________________________________________ > vala-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/vala-list > -- Best regards, Victor Dramba Head of Programming at Cabanova www.cabanova.com www.victordramba.com
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
