On Thu, Dec 13, 2007 at 02:10:24AM +0100, Pau Oliva wrote: > Hello, > > Congratulations on the new 0.9 release :)
Hi pof! Thanks :) > I have tried to compile it with vala support under ubuntu 7.10, but for > some reason I can't. I have installed libvala-dev, libvala0 and valac. Uhm. As I see in http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=vala&searchon=names&subword=1&version=gutsy&release=all Looks like these packages are jurasic.. You need the 0.1.5 or 0.1.6. Take them from the web. I usually follow the SVN head. Take a look on the official homepage for further information: http://live.gnome.org/Vala If your local valac is too old, the SVN build will not work because the vala compiler is written in Vala, and it will not build. So take the latest tarball and then jump to the subversion :) > This is the compile error: > > $ ./configure --with-vala --with-sysproxy --with-debugger > [...] > Final report: > - GUI = 0 > - VALA = 1 > - JAVA = 0 > - USBSNF = 0 > - SYSPROXY = 1 > - HAVE_PERL = 0 > - HAVE_PYTHON = 0 > - DEBUGGER = 1 > - HAVE_LIB_EWF = 0 > - HAVE_LIB_READLINE = 1 > > $ make > [...] > make[2]: Entering directory `/tmp/radare-0.9/vala/grava' > valac -c -g --save-temps *.vala --pkg gtk+-2.0 --pkg cairo -o a.out > Unknown option --save-temps > Run 'valac --help' to see a full list of available command line options. This flag was introduced in valac 0.1.3 > I have also tried removing the --save-temps from the Makefiles, but it > seems my grava / vala version is too old and does work either. which is old is the VALAC. The compiler. :) > Is there any hint you can give me? or should i go for the SVN version of > vala? Thanks in advance. Everything should be ok if you There was a doublefree bug by using a sharp reference for a string in a foreach statement, so...for vala 0.1.3 this was ok: foreach (string# foo in body.split("\n")) { .. but now I had to drop the 'sharp' to avoid the doublefree of 'foo'. foreach (string foo in body.split("\n")) { .. So, afaik this is ok for valac 0.1.6, and it should be for 0.1.5 too. Regards --pancake _______________________________________________ radare mailing list [email protected] https://lists.nopcode.org/mailman/listinfo/radare
