[gitg] troubles compiling latest libgit-glib under debian jessie/testing



Hi!

First, thank you for implementing gitg. It is the only git gui that I
find useable at all :)

Since the version at the debian package archives is pretty outdated
(2.7) I would like to build the newest release from source.

But I have troubles compiling libgit-glib from
https://git.gnome.org/browse/libgit2-glib

Getting the following errors:

  CC       ggit-blob-output-stream.lo
  CC       ggit-branch.lo
  CC       ggit-checkout-options.lo
  CC       ggit-clone-options.lo
ggit-clone-options.c: In function 'ggit_clone_options_copy':
ggit-clone-options.c:72:20: error: 'git_clone_options' has no member
named 'remote_name'
  gnew_clone_options.remote_name = g_strdup (gclone_options->remote_name);
                    ^
ggit-clone-options.c:72:59: error: 'git_clone_options' has no member
named 'remote_name'
  gnew_clone_options.remote_name = g_strdup (gclone_options->remote_name);
                                                           ^
ggit-clone-options.c: In function 'ggit_clone_options_free':
ggit-clone-options.c:100:33: error: 'git_clone_options' has no member
named 'remote_name'
  g_free ((gchar *)gclone_options->remote_name);
                                 ^
ggit-clone-options.c: In function 'ggit_clone_options_get_remote_name':
ggit-clone-options.c:172:31: error: 'git_clone_options' has no member
named 'remote_name'
  return options->clone_options.remote_name;
                               ^
ggit-clone-options.c: In function 'ggit_clone_options_set_remote_name':
ggit-clone-options.c:188:24: error: 'git_clone_options' has no member
named 'remote_name'
  options->clone_options.remote_name = g_strdup (remote_name);
                        ^
ggit-clone-options.c: In function 'ggit_clone_options_get_remote_name':
ggit-clone-options.c:173:1: warning: control reaches end of non-void
function [-Wreturn-type]
 }
 ^
Makefile:710: recipe for target 'ggit-clone-options.lo' failed
make[3]: *** [ggit-clone-options.lo] Error 1
make[3]: Leaving directory '/home/cinemast/gitg/libgit2-glib/libgit2-glib'
Makefile:556: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/cinemast/gitg/libgit2-glib/libgit2-glib'
Makefile:485: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cinemast/gitg/libgit2-glib'
Makefile:393: recipe for target 'all' failed
make: *** [all] Error 2


I have the latest libgit version (0.21) installed.

Thanks in advance and greetings
Peter


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