Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error linked to deprecation ? #1

Open
vlycop opened this issue Jul 17, 2022 · 0 comments
Open

Compilation error linked to deprecation ? #1

vlycop opened this issue Jul 17, 2022 · 0 comments

Comments

@vlycop
Copy link

vlycop commented Jul 17, 2022

Hello :)
I realise that this project is as dead as the mir:ror.
I still have one, and since i am tinkering with dbus, i wanted to use it with your tool, it really sounded amazing to me.

Sadly it won't compile, surely because thing have evolved since.
First error i got was

reflectd.vala:148.46-156.2: error: value is less accessible than constant `Main.entries'
  148 | 	public static const OptionEntry[] entries = {
      | 	                                            ^
  149 | 		{"version", 'v', OptionFlags.NO_ARG, OptionArg.CALLBACK,
      | 		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150 | 			(void *)show_version_and_quit, N_("Show the application's version"), null},
      | 			~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151 | 		{"system", 0, 0, OptionArg.NONE,
      | 		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  152 | 			ref system, N_("Use system message bus."), null},
      | 			~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  153 | 		{"session", 0, 0, OptionArg.NONE,
      | 		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154 | 			ref session, N_("Use session message bus."), null},
      | 			~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155 | 		{null}
      | 		~~~~~~
  156 | 	};
      | 	~ 

I removed the public flag and it went onward.
No i'm stuck with

/usr/include/glib-2.0/glib/gi18n-lib.h:27:2: error: #error You must define GETTEXT_PACKAGE before including gi18n-lib.h. Did you forget to include config.h?
   27 | #error You must define GETTEXT_PACKAGE before including gi18n-lib.h.  Did you forget to include config.h?
      |  ^~~~~

I do see that the config.h is stored in a var, but with the level of abstraction and variable in variable make does, i can't read it to understand it :(

I am hopping you know how to quickly fix it and that it will be so trivial it would be worth it, but i would understand that you don't want to spend any time on this.

I am running fedora 36 and Vala 0.56.1

Have a good day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant