Re: [gitg] libgit2-glib-1.0 version issues while building



Hi Ignacio,

thank you for your answer. I am trying and trying, but I still don't
make it right.

I installed jhbuild, followed all instructions and finally was able to
install libgit2-glib by using jhbuild.

But still I cannot build gitg. At first I got the same error as before.
So I tried adjustign PKG_CONFIG_PATH as recommended. I did this by typing
PKG_CONFIG_PATH=/home/nore/jhbuild/install/lib/pkgconfig/
export PKG_CONFIG_PATH

Now I get the error, that packages libpeas-1.0, libpeas-gtk-1.0 and
gtkspell3-3.0 are not found.

I tried to add /usr/lib/pkgconfig/ to  PKG_CONFIG_PATH by typing
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/
export PKG_CONFIG_PATH

but I still get the same error.

Do you have any suggestions or could you explain a little more detailed
how I can get this to work?

Thanks a lot.

David



Am 18.08.2015 um 11:01 schrieb Ignacio Casal Quinteiro:
Hi David,

the error message is correct. You need a newer version of libgit2 and
libgit2-glib.
We suggest you to use jhbuild.
https://wiki.gnome.org/HowDoI/Jhbuild

you would do:
jhbuild build libgit2-glib

Cheers.

On Tue, Aug 18, 2015 at 10:43 AM, David Rabel <David Rabel noresoft com>
wrote:

Hi together,


I'm working as a software developer and using gitg a lot. But at least
the version I am using (0.2.7) could need some improvement. Because I
have some spare time in the next weeks, I wanted to check out the latest
version from the git repository, see what is better and what is still to
do and then commit a line or two to the source code. ;)

But that's harder than I would have thought. I tried to build from
source as explained here [1]. After some minor issues with libgit2 and
libgit2-glib (which kept me busy for some hours), I know seem to have a
problem with the libgit2-glib-1.0 version.

As said in [1], I checked out tag v0.22.2 . When running ./autogen.sh in
the gitg source directory, I get the following:

"...
Requested 'libgit2-glib-2.0 >= 0.23.5' but version of libgit2-glib is
0.0.22
..."

I have 2 questions:
1) Is the version 0.0.22 a misstake, or does this mean 0.22.x ?
2) The newest tag in the libgit2-glib git repo is v0.23.4 . How can I
then install 0.23.5?

I hope you can help me.

Kind regards,
  David



[1] https://wiki.gnome.org/Apps/Gitg
_______________________________________________
gitg-list mailing list
gitg-list gnome org
https://mail.gnome.org/mailman/listinfo/gitg-list





-- 
Mit freundlichen Grüßen

David Rabel


NoreSoft
Mühlenstraße 8
56479 Waldmühlen
Germany

Tel.:         +49 157 3573 2491
E-Mail:       David Rabel NoreSoft com
PGP-Key:      0x3867FB84
Fingerprint:  656C 4C47 81A2 0D49 578B B409 F505 691E 3867 FB84
---------------------------------------------------------------
Steuernummer: 18/220/29076
Ust-IdNr.     DE296760594
---------------------------------------------------------------


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