> From: Jason Martin <[email protected]> > Sent: Thursday, 3 August 2017, 7:54 > Subject: [Vala] Vala on OpenIndiana or Solaris
> Used > http://sfe.opencsw.org/localhostoih/info/0/pkg%3A%2F%2Flocalhostoih%2Fsfe%2Fdeveloper%2Fvala%400.29.3%2C5.11-0.0.151.1.8%3A20160710T175029Z > to bootstrap build vala-0.36.4.tar.xz The tarballs carry pre-generated C files. So you can bootstrap without needing Vala installed. This is the make bootstrap target. You can also run the test suite with make check. > 13 in that batch Segmentation Fault (core dumped) You can build your sample Vala program with the --debug option in valac. This inserts Vala source file names and line numbers in the C code so when you do gdb --args valac my_test_prog.vala you can see which line is giving you the problem. More likely this is a problem with GLib or other libraries used in your distro. > How do you add header file to the vala source file to fix this? This is done by the VAPI. The file used by Vala to generate the right code for a library. There should be no problem with this from the Vala side with such a fundamental library as GLib. You can check this for yourself by using the --ccode or --save-temps switch with valac and then examine the C code produced by Vala. Let us know how you get on, Al _______________________________________________ vala-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/vala-list
