Hi Jesse, you were right, the libgit2 provided by debian appeared to ovveride my local version 0.21. Sorry to bother with another problem I am experiencing now:
make -j4 ~/gitg/libgit2-glib make all-recursive make[1]: Entering directory '/home/cinemast/gitg/libgit2-glib' Making all in libgit2-glib make[2]: Entering directory '/home/cinemast/gitg/libgit2-glib/libgit2-glib' GEN ggit-enum-types.c GEN ggit-enum-types.h /usr/bin/glib-mkenums: ggit-types.h:946: Failed to parse ` GGIT_STATUS_OPTION_INCLUDE_UNTRACKED | ' /usr/bin/glib-mkenums: ggit-types.h:946: Failed to parse ` GGIT_STATUS_OPTION_INCLUDE_UNTRACKED | ' /usr/bin/glib-mkenums: ggit-types.h:1042: Failed to parse ` GGIT_DIFF_BREAK_REWRITES), ' /usr/bin/glib-mkenums: ggit-types.h:1042: Failed to parse ` GGIT_DIFF_BREAK_REWRITES), ' make all-am make[3]: Entering directory '/home/cinemast/gitg/libgit2-glib/libgit2-glib' CC ggit-enum-types.lo CC ggit-blame.lo CC ggit-blame-options.lo CC ggit-blob.lo CC ggit-blob-output-stream.lo CC ggit-branch.lo CC ggit-branch-enumerator.lo CC ggit-checkout-options.lo CC ggit-clone-options.lo CC ggit-commit.lo CC ggit-config.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 Greetings Peter On 07/13/2014 03:46 PM, Jesse van den Kieboom wrote: > Hi Peter, > > Looks like you're not building against 0.21. Looking at the clone > header for > 0.21, > https://github.com/libgit2/libgit2/blob/v0.21.0/include/git2/clone.h#L100, > you can see the remote_name field (for example) is present. Please > recheck if you really have the right version of libgit2 installed, and > if libgit2-glib is actually trying to build against that version. > > > Jesse > > > 2014-07-10 1:12 GMT+02:00 Peter Spiess-Knafl <p...@autistici.org > <mailto:p...@autistici.org>>: > > 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 > _______________________________________________ > gitg-list mailing list > gitg-list@gnome.org <mailto:gitg-list@gnome.org> > https://mail.gnome.org/mailman/listinfo/gitg-list > > <https://spiessknafl.at/contact/B71DDCF9.asc>
_______________________________________________ gitg-list mailing list gitg-list@gnome.org https://mail.gnome.org/mailman/listinfo/gitg-list