Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Compiling scmgit-1.6.0.6: (2 Items)
   
Compiling scmgit-1.6.0.6  
Hi again,

I finally got all the scmgit dependencies compiled. However, when compiling scmgit-base, it sends the following error:
------------------------------------------------------------------------------
path.c:44: warning: implicit declaration of function 'strlcpy'
    CC pkt-line.o
    CC pretty.o
    CC progress.o
progress.c: In function 'set_progress_signal':
progress.c:55: error: 'SA_RESTART' undeclared (first use in this function)
progress.c:55: error: (Each undeclared identifier is reported only once
progress.c:55: error: for each function it appears in.)
gmake: *** [progress.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /home/av/test/HEAD_640/pkgsrc/devel/scmgit-base
*** Error code 1

Stop.
bmake: stopped in /home/av/test/HEAD_640/pkgsrc/devel/scmgit-base
*** Error code 1

Stop.
bmake: stopped in /home/av/test/HEAD_640/pkgsrc/devel/scmgit
------------------------------------------------------------------------------

Anyone have any ideas what's the problem?
Re: Compiling scmgit-1.6.0.6  
As there was no replies, I hacked my way to get it compiled.

Specifically, I commented out all the lines where SA_RESTART had appeared. I believe only two files had them: progress.c
 and buildin-fetch.c.

Moreover, I needed to define NO_R_TO_GCC_LINKER. Unfortunately, my lack of knowledge of the code and press for time did 
not let me find out where exactly I should define this. Instead, I comment out the alternative and forced the option 
instead in the Makefile in the source folder under scmgit-base/work/git-1.6.0.6.

This allowed git to compile.

However, the documentation for git failed to compiled to to an error in compiling xmlto, an error that was less than 
helpful. But, at least, it is usable now... it's just unfortunate that it's such an old verson.

Seeing how little activities is going on this forum, I'm not optimistic of this question will be answered but at least 
someone out there may be interested or already made some headway... but does anyone have better luck in compiling the 
git from latest source? Using the git I have, I cloned the latest git source but all effort in compiling it had failed.