ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installation problems (wisi 3.1.3)


From: Jeronimo Pellegrini
Subject: Installation problems (wisi 3.1.3)
Date: Thu, 18 Mar 2021 23:51:32 -0300

Hello,

I am trying to install ada-mode, but wisi doesn't seem to build.

The versions of relevant packages are:

ada-mode  7.1.4
wisi      3.1.3
gnat      10.2.1 20210110
gprbuild  Pro 18.0w (19940713)

This is what I did:

- Installed "ada-mode" from Emacs package manager. This seems to run
  fine;

- When opening a .adb file in Emacs, I get this:
  File mode specification error: (error ada_mode_wisi_lr1_parse not
  found on ‘exec-path’; run ’build.sh’ in the ELPA package.)

- Running ./build in ~/.emacs.d/elpa/ada-mode-7.1.4 failed (but
  the exit code to the shell is zero!)

Compile
   [Ada]          ada_mode_wisi_lalr_parse.ads
   [Ada]          ada_mode_wisi_lr1_parse.ads
   [Ada]          run_ada_lalr_parse.ads
   [Ada]          run_ada_lr1_parse.ads
   [Ada]          gpr_mode_wisi_parse.ads
   [Ada]          run_gpr_parse.ads
   [Ada]          gpr_query.adb
   [C]            wisitoken_grammar_re2c.c
gen_run_wisi_lr_parse.ads:27:52: missing ";"
gen_run_wisi_lr_parse.ads:27:65: generic private child packages not permitted
gen_run_wisi_lr_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_parse.ads:34:04: misplaced "with"
gen_run_wisi_lr_parse.ads:34:09: reserved word "procedure" cannot be used as 
identifier
gen_run_wisi_lr_parse.ads:34:18: missing ";"
gen_run_wisi_lr_parse.ads:34:19: compilation unit expected
gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected
gen_emacs_wisi_lr_parse.ads:37:66: compilation unit expected
gen_emacs_wisi_lr_parse.ads:47:04: misplaced "with"
gen_emacs_wisi_lr_parse.ads:47:09: reserved word "procedure" cannot be used as 
identifier
gen_emacs_wisi_lr_parse.ads:47:18: missing ";"
gen_emacs_wisi_lr_parse.ads:47:19: compilation unit expected
gen_run_wisi_lr_text_rep_parse.ads:27:52: missing ";"
gen_run_wisi_lr_text_rep_parse.ads:27:65: generic private child packages not 
permitted
gen_run_wisi_lr_text_rep_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_text_rep_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_text_rep_parse.ads:35:04: misplaced "with"
gen_run_wisi_lr_text_rep_parse.ads:35:09: reserved word "procedure" cannot be 
used as identifier
gen_run_wisi_lr_text_rep_parse.ads:35:18: missing ";"
gen_run_wisi_lr_text_rep_parse.ads:35:19: compilation unit expected
gen_run_wisi_lr_parse.ads:27:52: missing ";"
gen_run_wisi_lr_parse.ads:27:65: generic private child packages not permitted
gen_run_wisi_lr_parse.ads:27:65: subprogram specification expected
gen_run_wisi_lr_parse.ads:27:65: compilation unit expected
gen_run_wisi_lr_parse.ads:34:04: misplaced "with"
gen_run_wisi_lr_parse.ads:34:09: reserved word "procedure" cannot be used as 
identifier
gen_run_wisi_lr_parse.ads:34:18: missing ";"
gen_run_wisi_lr_parse.ads:34:19: compilation unit expected
gen_emacs_wisi_lr_parse.ads:37:53: missing ";"
gen_emacs_wisi_lr_parse.ads:37:66: generic private child packages not permitted
gen_emacs_wisi_lr_parse.ads:37:66: subprogram specification expected
gen_emacs_wisi_lr_parse.ads:37:66: compilation unit expected
gen_emacs_wisi_lr_parse.ads:47:04: misplaced "with"
gen_emacs_wisi_lr_parse.ads:47:09: reserved word "procedure" cannot be used as 
identifier
gen_emacs_wisi_lr_parse.ads:47:18: missing ";"
gen_emacs_wisi_lr_parse.ads:47:19: compilation unit expected
gen_emacs_wisi_lr_text_rep_parse.ads:30:53: missing ";"
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: generic private child packages not 
permitted
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: subprogram specification expected
gen_emacs_wisi_lr_text_rep_parse.ads:30:66: compilation unit expected
gen_emacs_wisi_lr_text_rep_parse.ads:41:04: misplaced "with"
gen_emacs_wisi_lr_text_rep_parse.ads:41:09: reserved word "procedure" cannot be 
used as identifier
gen_emacs_wisi_lr_text_rep_parse.ads:41:18: missing ";"
gen_emacs_wisi_lr_text_rep_parse.ads:41:19: compilation unit expected
sax-pointers.ads:57:58: missing ";"
sax-pointers.ads:57:71: generic private child packages not permitted
sax-pointers.ads:57:71: subprogram specification expected
sax-pointers.ads:62:46: "Encapsulated" is not visible
sax-pointers.ads:62:46: non-visible (private) declaration at 
gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:62:46: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:62:46: non-visible declaration at gpr.ads:2050
sax-pointers.ads:64:33: "Encapsulated" is not visible
sax-pointers.ads:64:33: non-visible (private) declaration at 
gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:64:33: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:64:33: non-visible declaration at gpr.ads:2050
sax-pointers.ads:65:40: "Encapsulated" is not visible
sax-pointers.ads:65:40: non-visible (private) declaration at 
gnatcoll-refcount.ads:345, instance at gnatcoll-sql.ads:1181
sax-pointers.ads:65:40: non-visible declaration at gnatcoll-refcount.ads:345
sax-pointers.ads:65:40: non-visible declaration at gpr.ads:2050
sax-utils.ads:171:53: "Smart_Pointers" is not the name of a generic package
sax-utils.ads:174:28: "Symbol_Table_Pointers" is undefined
sax-utils.ads:177:24: "Symbol_Table_Pointers" is undefined
schema-validators.ads:912:44: "Smart_Pointers" is not the name of a generic 
package
schema-validators.ads:914:28: "XML_Grammars" is undefined
schema-validators.ads:914:28: possible misspelling of "XML_Grammar"
schema-validators.ads:916:19: "XML_Grammars" is undefined
schema-validators.ads:916:19: possible misspelling of "XML_Grammar"

   compilation of ada_mode_wisi_lalr_parse.ads failed
   compilation of ada_mode_wisi_lr1_parse.ads failed
   compilation of run_ada_lalr_parse.ads failed
   compilation of run_ada_lr1_parse.ads failed
   compilation of gpr_mode_wisi_parse.ads failed
   compilation of run_gpr_parse.ads failed
   compilation of gpr_query.adb failed

gprbuild: *** compilation phase failed

The first error is

gen_run_wisi_lr_parse.ads:27:52: missing ";"

Line 27 of gen_run_wisi_lr_parse.ads is

   type Parse_Data_Type is new Wisi.Parse_Data_Type with private;

I'm not sure what's going on (I wish I could debug more, but I'm
actually starting to learn Ada...)

Is this a known problem? And is there a workaround?

Thanks a lot!
Jeronimo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]