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



Hi Adam and Ignacio,

installing the devel packages helped (a little bit). And I adjusted the
LD_LIBRARY_PATH variable as well. Now the configure script runs without
errors. But make cancels with error:

"VALAC libgitg_libgitg_1_0_la_vala.stamp
error: Package `ggit-1.0' not found in specified Vala API directories or
GObject-Introspection GIR directories."

Could not find out the cause of this. I could not even find a ggit-1.0
package. Do I have to adjust another environment variable for Vala?

I also tried building gitg via jhbuild. After some hours I canceled,
because the virtual hard drive of my build environment was full. Maybe
16GB was a little bit too less.


I have a fresh installation of Debian 8.1 btw.


Any suggestions?

Thanks for your help.

David


Am 19.08.2015 um 17:54 schrieb Adam Dingle:
David,

what distribution are you running, and which version of it?  If we know
that we might be able to provide more specific advice.

adam

On Wed, Aug 19, 2015 at 11:26 AM, Ignacio Casal Quinteiro
<nacho resa gmail com> wrote:
David,

try installing the devel packages for those, or use jhbuild as well to
build them.
Also use jhbuild to build gitg.

Cheers.

On Wed, Aug 19, 2015 at 5:09 PM, David Rabel
<David Rabel noresoft com> wrote:
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
---------------------------------------------------------------



-- 
Ignacio Casal Quinteiro


-- 
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]