From diego.assencio at gmail.com Fri Nov 6 06:35:44 2009 From: diego.assencio at gmail.com (=?UTF-8?Q?Diego_Cortegoso_Ass=C3=AAncio?=) Date: Thu, 5 Nov 2009 22:35:44 -0800 Subject: [Valencia] Problem on make Message-ID: Hi, I tried installing the valencia plugin here on my laptop but it didn't work. It works just fine on my PC. When I run 'make', I get this: valac -X --shared -X -fPIC --vapidir=. --pkg vala-1.0 --pkg gedit-2.20 --pkg vte util.vala parser.vala program.vala scanner.vala valencia.vala -o libvalencia.so program.vala:311.1-311.30: warning: unable to chain up to base constructor requiring arguments class Block : Statement, Scope { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ program.vala:610.33-610.84: error: Access to private member `SymbolSet..new' denied SymbolSet symbols = new SymbolSet(s.name, find_type, exact, constructor); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ program.vala:631.20-631.57: error: Access to private member `SymbolSet..new' denied return new SymbolSet("", false, false, false); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ program.vala:633.29-633.80: error: Access to private member `SymbolSet..new' denied SymbolSet symbols = new SymbolSet(q.name, find_type, exact, constructor); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ program.vala:562.5-562.21: warning: unable to chain up to private base constructor public SourceFile(Program? program, string filename) { ^^^^^^^^^^^^^^^^^ valencia.vala:1887.1-1887.27: warning: unable to chain up to private base constructor class Plugin : Gedit.Plugin { ^^^^^^^^^^^^^^^^^^^^^^^^^^^ valencia.vala:1467.34-1467.48: error: Access to private member `ErrorList..new' denied program.error_list = new ErrorList(); ^^^^^^^^^^^^^^^ valencia.vala:1488.34-1488.75: error: Access to private member `ErrorPair..new' denied ErrorPair pair = new ErrorPair(doc_mark, build_mark, einfo); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 5 error(s), 3 warning(s) make: *** [libvalencia.so] Error 1 I already installed all the required libraries, so the problem is not there. What is going wrong? thanks, Diego From rob at yorba.org Fri Nov 6 13:26:08 2009 From: rob at yorba.org (Rob Powell) Date: Fri, 6 Nov 2009 05:26:08 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: Message-ID: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Hello Diego, What version of vala are you running? Thanks Rob Sent from my iPhone On Nov 5, 2009, at 10:35 PM, Diego Cortegoso Ass?ncio wrote: > Hi, > > I tried installing the valencia plugin here on my laptop but it didn't > work. It works just fine on my PC. > When I run 'make', I get this: > > > valac -X --shared -X -fPIC --vapidir=. --pkg vala-1.0 --pkg gedit-2.20 > --pkg vte util.vala parser.vala program.vala scanner.vala > valencia.vala -o libvalencia.so > program.vala:311.1-311.30: warning: unable to chain up to base > constructor requiring arguments > class Block : Statement, Scope { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:610.33-610.84: error: Access to private member > `SymbolSet..new' denied > SymbolSet symbols = new SymbolSet(s.name, find_type, > exact, constructor); > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:631.20-631.57: error: Access to private member > `SymbolSet..new' denied > return new SymbolSet("", false, false, false); > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:633.29-633.80: error: Access to private member > `SymbolSet..new' denied > SymbolSet symbols = new SymbolSet(q.name, find_type, exact, > constructor); > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:562.5-562.21: warning: unable to chain up to private base > constructor > public SourceFile(Program? program, string filename) { > ^^^^^^^^^^^^^^^^^ > valencia.vala:1887.1-1887.27: warning: unable to chain up to private > base constructor > class Plugin : Gedit.Plugin { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > valencia.vala:1467.34-1467.48: error: Access to private member > `ErrorList..new' denied > program.error_list = new ErrorList(); > ^^^^^^^^^^^^^^^ > valencia.vala:1488.34-1488.75: error: Access to private member > `ErrorPair..new' denied > ErrorPair pair = new ErrorPair(doc_mark, build_mark, > einfo); > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Compilation failed: 5 error(s), 3 warning(s) > make: *** [libvalencia.so] Error 1 > > > I already installed all the required libraries, so the problem is not > there. What is going wrong? > > thanks, > Diego > _______________________________________________ > Valencia mailing list > Valencia at lists.yorba.org > http://lists.yorba.org/cgi-bin/mailman/listinfo/valencia From rob at yorba.org Fri Nov 6 23:53:33 2009 From: rob at yorba.org (Robert Powell) Date: Fri, 6 Nov 2009 15:53:33 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Message-ID: Hi, Could you try running ldconfig? It sounds like you may have a version mismatch. Running this command may fix it. Otherwise, we'll need to make certain that 0.7.5 is completely uninstalled. Rob 2009/11/6 Diego Cortegoso Ass?ncio > Hi, > > That didn't work... If I run valac --version, I get 0.7.7 so that's > not the problem. > > When I run make, I get this: > valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > --pkg vte parser.vala program.vala scanner.vala valencia.vala > util.vala -o libvalencia.so > valac: symbol lookup error: valac: undefined symbol: > vala_report_set_enable_warnings > make: *** [libvalencia.so] Error 127 > > Thanks! > Diego > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at yorba.org Sat Nov 7 00:38:33 2009 From: rob at yorba.org (Robert Powell) Date: Fri, 6 Nov 2009 16:38:33 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Message-ID: 2009/11/6 Diego Cortegoso Ass?ncio > I ran ldconfig and reinstalled vala-0.7.7. I'm still getting the same > error... > > valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > --pkg vte parser.vala program.vala scanner.vala valencia.vala > util.vala -o libvalencia.so > program.vala:205.1-205.30: warning: unable to chain up to base > constructor requiring arguments > class Block : Statement, Scope { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:387.5-387.21: warning: unable to chain up to private base > constructor > public SourceFile(Program? program, string filename) { > ^^^^^^^^^^^^^^^^^ > Try removing valac 0.7.5 completely via synaptic package manager. Next, verify that "valac --version" reports 0.7.7. Finally, try building again. Sorry this is taking so long. Thanks Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From diego.assencio at gmail.com Sat Nov 7 00:51:18 2009 From: diego.assencio at gmail.com (=?UTF-8?Q?Diego_Cortegoso_Ass=C3=AAncio?=) Date: Fri, 6 Nov 2009 16:51:18 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Message-ID: Still didn't work. I removed valac 0.7.6 completely via Synaptic, reinstalled the 0.7.7 version. valac --version returns the right version. Still, when I run make on valencia: valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 --pkg vte parser.vala program.vala scanner.vala valencia.vala util.vala -o libvalencia.so program.vala:205.1-205.30: warning: unable to chain up to base constructor requiring arguments class Block : Statement, Scope { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ program.vala:387.5-387.21: warning: unable to chain up to private base constructor public SourceFile(Program? program, string filename) { ^^^^^^^^^^^^^^^^^ valencia.vala:976.1-976.27: warning: unable to chain up to private base constructor class Plugin : Gedit.Plugin { ^^^^^^^^^^^^^^^^^^^^^^^^^^^ valencia.vala:775.34-775.48: error: Access to private member `ErrorList..new' denied program.error_list = new ErrorList(); ^^^^^^^^^^^^^^^ valencia.vala:796.34-796.75: error: Access to private member `ErrorPair..new' denied ErrorPair pair = new ErrorPair(doc_mark, build_mark, einfo); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 2 error(s), 3 warning(s) make: *** [libvalencia.so] Error 1 Thanks, Diego 2009/11/6 Robert Powell : > > 2009/11/6 Diego Cortegoso Ass?ncio >> >> I ran ldconfig and reinstalled vala-0.7.7. I'm still getting the same >> error... >> >> valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 >> --pkg vte parser.vala program.vala scanner.vala valencia.vala >> util.vala -o libvalencia.so >> program.vala:205.1-205.30: warning: unable to chain up to base >> constructor requiring arguments >> class Block : Statement, Scope { >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> program.vala:387.5-387.21: warning: unable to chain up to private base >> constructor >> ? ?public SourceFile(Program? program, string filename) { >> >> ^^^^^^^^^^^^^^^^^ > > Try removing valac 0.7.5 completely via synaptic package manager.? Next, > verify that "valac --version" reports 0.7.7.? Finally, try building again. > > Sorry this is taking so long. > > Thanks > > Rob > From rob at yorba.org Sat Nov 7 00:58:41 2009 From: rob at yorba.org (Robert Powell) Date: Fri, 6 Nov 2009 16:58:41 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Message-ID: Hi Diego, This is my last suggestion. If this doesn't work, someone who is much more knowledgeable than me should be able to get you going. Unfortunately, they aren't in today. Run 'sudo ldconfig', don't reinstall anything and try building. I apologize that this is not going more smoothly. I hope we'll get you up and going soon. Thanks for your patience! Rob 2009/11/6 Diego Cortegoso Ass?ncio > Still didn't work. I removed valac 0.7.6 completely via Synaptic, > reinstalled the 0.7.7 version. valac --version returns the right > version. > Still, when I run make on valencia: > > valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > --pkg vte parser.vala program.vala scanner.vala valencia.vala > util.vala -o libvalencia.so > program.vala:205.1-205.30: warning: unable to chain up to base > constructor requiring arguments > class Block : Statement, Scope { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:387.5-387.21: warning: unable to chain up to private base > constructor > public SourceFile(Program? program, string filename) { > ^^^^^^^^^^^^^^^^^ > valencia.vala:976.1-976.27: warning: unable to chain up to private > base constructor > class Plugin : Gedit.Plugin { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > valencia.vala:775.34-775.48: error: Access to private member > `ErrorList..new' denied > program.error_list = new ErrorList(); > ^^^^^^^^^^^^^^^ > valencia.vala:796.34-796.75: error: Access to private member > `ErrorPair..new' denied > ErrorPair pair = new ErrorPair(doc_mark, build_mark, einfo); > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Compilation failed: 2 error(s), 3 warning(s) > make: *** [libvalencia.so] Error 1 > > Thanks, > Diego > > 2009/11/6 Robert Powell : > > > > 2009/11/6 Diego Cortegoso Ass?ncio > >> > >> I ran ldconfig and reinstalled vala-0.7.7. I'm still getting the same > >> error... > >> > >> valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > >> --pkg vte parser.vala program.vala scanner.vala valencia.vala > >> util.vala -o libvalencia.so > >> program.vala:205.1-205.30: warning: unable to chain up to base > >> constructor requiring arguments > >> class Block : Statement, Scope { > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> program.vala:387.5-387.21: warning: unable to chain up to private base > >> constructor > >> public SourceFile(Program? program, string filename) { > >> > >> ^^^^^^^^^^^^^^^^^ > > > > Try removing valac 0.7.5 completely via synaptic package manager. Next, > > verify that "valac --version" reports 0.7.7. Finally, try building > again. > > > > Sorry this is taking so long. > > > > Thanks > > > > Rob > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at yorba.org Tue Nov 10 01:03:56 2009 From: adam at yorba.org (Adam Dingle) Date: Mon, 09 Nov 2009 17:03:56 -0800 Subject: [Valencia] Problem on make In-Reply-To: References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> Message-ID: <4AF8BBFC.3010402@yorba.org> An HTML attachment was scrubbed... URL: From diego.assencio at gmail.com Tue Nov 10 20:45:37 2009 From: diego.assencio at gmail.com (=?UTF-8?Q?Diego_Cortegoso_Ass=C3=AAncio?=) Date: Tue, 10 Nov 2009 12:45:37 -0800 Subject: [Valencia] Problem on make In-Reply-To: <4AF8BBFC.3010402@yorba.org> References: <83747CFF-8878-4AE7-97FC-A820E658307D@yorba.org> <4AF8BBFC.3010402@yorba.org> Message-ID: Now it worked! Thanks (both of you) a lot for the help. 2009/11/9 Adam Dingle : > Diego, > > unfortunately Valencia 0.2.1 won't build with 0.7.7 due to some changes in > the Vala compiler.? You have two choices: > > - Use Valencia 0.2.1 with Vala 0.7.5.? (I don't recommend using Vala 0.7.6 > due to a nasty code generation bug in that version; see > https://bugzilla.gnome.org/show_bug.cgi?id=595954 .) > > - Use Valencia from trunk (run "svn co svn://svn.yorba.org/valencia/trunk > valencia") with Vala 0.7.7 (but not Vala 0.7.8). > > Unfortunately there's a bug in Vala 0.7.8 which prevents Valencia from > working properly (see https://bugzilla.gnome.org/show_bug.cgi?id=601343).? I > hope that will be fixed in Vala 0.7.9; once that appears we'll plan to > release Valencia 0.3 which will work with that Vala version. > > cheers > adam > > Robert Powell wrote: > > Hi Diego, > > This is my last suggestion. If this doesn't work, someone who is much more > knowledgeable than me should be able to get you going. Unfortunately, they > aren't in today. > > Run 'sudo ldconfig', don't reinstall anything and try building. I apologize > that this is not going more smoothly. I hope we'll get you up and going > soon. > > Thanks for your patience! > > Rob > > 2009/11/6 Diego Cortegoso Ass?ncio > > > > Still didn't work. I removed valac 0.7.6 completely via Synaptic, > reinstalled the 0.7.7 version. valac --version returns the right > version. > Still, when I run make on valencia: > > valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > --pkg vte parser.vala program.vala scanner.vala valencia.vala > util.vala -o libvalencia.so > program.vala:205.1-205.30: warning: unable to chain up to base > constructor requiring arguments > class Block : Statement, Scope { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:387.5-387.21: warning: unable to chain up to private base > constructor > public SourceFile(Program? program, string filename) { > ^^^^^^^^^^^^^^^^^ > valencia.vala:976.1-976.27: warning: unable to chain up to private > base constructor > class Plugin : Gedit.Plugin { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > valencia.vala:775.34-775.48: error: Access to private member > `ErrorList..new' denied > program.error_list = new ErrorList(); > ^^^^^^^^^^^^^^^ > valencia.vala:796.34-796.75: error: Access to private member > `ErrorPair..new' denied > ErrorPair pair = new ErrorPair(doc_mark, build_mark, einfo); > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Compilation failed: 2 error(s), 3 warning(s) > make: *** [libvalencia.so] Error 1 > > Thanks, > Diego > > 2009/11/6 Robert Powell : > > > 2009/11/6 Diego Cortegoso Ass?ncio > > > I ran ldconfig and reinstalled vala-0.7.7. I'm still getting the same > error... > > valac -X --shared -X -fPIC --vapidir=. --pkg gee-1.0 --pkg gedit-2.20 > --pkg vte parser.vala program.vala scanner.vala valencia.vala > util.vala -o libvalencia.so > program.vala:205.1-205.30: warning: unable to chain up to base > constructor requiring arguments > class Block : Statement, Scope { > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > program.vala:387.5-387.21: warning: unable to chain up to private base > constructor > public SourceFile(Program? program, string filename) { > > ^^^^^^^^^^^^^^^^^ > > > Try removing valac 0.7.5 completely via synaptic package manager. Next, > verify that "valac --version" reports 0.7.7. Finally, try building > > > again. > > > Sorry this is taking so long. > > Thanks > > Rob > > > > > > ________________________________ > _______________________________________________ > Valencia mailing list > Valencia at lists.yorba.org > http://lists.yorba.org/cgi-bin/mailman/listinfo/valencia > >