<p>Sorry for top posting, I'm on the phone. </p>
<p>I had the same problem and it was solved removing the system package. It seems that, although build.sh builds libgit2 from source, cmake finds the system package and takes this. </p>
<p>Regards. </p>
<p>Salva. </p>
<div class="gmail_quote">El 20/04/2015 09:46, "Willem Ferguson" <<a href="mailto:willemferguson@zoology.up.ac.za">willemferguson@zoology.up.ac.za</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 19/04/2015 22:08, Robert C. Helling
wrote:<br>
</div>
<blockquote type="cite">
Willem,
<div><br>
<div>
<blockquote type="cite">
<div>On 19 Apr 2015, at 20:24, Willem Ferguson <<a href="mailto:willemferguson@zoology.up.ac.za" target="_blank">willemferguson@zoology.up.ac.za</a>>
wrote:</div>
<br>
<div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Anything I could do now?</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I
know there is currently a lot of activity to get the
build to run smoothly.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div>
</blockquote>
</div>
<br>
</div>
<div>with git grep I get the impression this is once more
a problem with the version of libgit2 (has to be quite recent).
I would have thought the build script does download that but I
would investigate the version installed on your system.</div>
<div><br>
</div>
<div>Best</div>
<div>Robert</div>
<br>
</blockquote>
I had libgit2 v0.19 in my system and v0.22 in the src directory. I
removed v0.19 from the system, leaving only the version in the src
directory.<br>
<br>
It aborts two steps earlier in the process with a slightly different
error message. Looks like libgit2 is a real obstacle.<br>
<br>
[ 23%] Built target subsurface_corelib<br>
make[2]: *** No rule to make target
`/usr/lib/x86_64-linux-gnu/libgit2.a', needed by `TestGpsCoords'.
Stop.<br>
make[1]: *** [CMakeFiles/TestGpsCoords.dir/all] Error 2<br>
make: *** [all] Error 2<br>
willem@dive:~/src$ <br>
<br>
I am not clear on what build.sh does with libigit2. I would have
expected that the install instruction (line 55 in build.sh) installs
libgit2 in the appropriate system folder. But a locate command on
libgit2 on my machine now only shows files in the home/src
directory, not in /lib/ or a similar directory. From what I can see
from the error message, the make process aborts while trying to make
use of libgit2 to build Subsurface. This means that a valid object
file for libgit2 exists??<br>
<br>
Kind regards,<br>
willem<br>
</div>
<br>_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
<br></blockquote></div>