From: SourceForge.net <no...@so...> - 2011-12-19 18:54:11
|
Bugs item #3461130, was opened at 2011-12-16 12:58 Message generated for change (Comment added) made by bakaproject You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1475673&aid=3461130&group_id=353214 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Doug Beatty (dt25954) Assigned to: Baka Project (bakaproject) Summary: Issues running with msysgit Initial Comment: I am trying to run gitslave version 2.0.1 with git version 1.7.7.1msysgit.0. I ran into two different errors. First when running gits prepare, I received "There is no -K option ("less --help" for help)". To resolve this, I commented out line 885. Second when attempting to clone a super project, I received "Bad line 1 in /C/WorkAreas/SCM3/.gitslave". To resolve this, I changed the regular expression on line 376. As this same expression is used on line 1096, I changed it as well. I have attached my new gits file. ---------------------------------------------------------------------- >Comment By: Baka Project (bakaproject) Date: 2011-12-19 10:54 Message: Thanks for the information. I have updated the gitslave git repository to support the msys version of perl. ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-19 10:40 Message: To answer what I believe was your final question, I attempted to install via 'make install'. I did not have a make installed on my PC so installed http://www.gnu.org/software/make/. I added the path to my bash profile and ran 'make install' and received the following error: $ make install pod2man < gits > gits.1 "C:/Program Files/Git/bin/sh.exe": pod2man: command not found make: *** [gits.1] Error 127 ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-19 10:36 Message: The bad line issue appears to be resolved. Thanks. ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-19 10:30 Message: I am still getting the '-K ' error. I added this line at 1274: die $^O if 1; and it outputs: msys at /h/bin/gits line 1274. So I change line 1272 to: if ($^O ne "MSWin32" && $^O ne "cygwin" && $^O ne "msys") and it seems to work. ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-19 07:07 Message: You asked a couple of questions regarding my Perl installation. Command: perl -v Prints: This is perl, v5.8.8 built for msys Command: perl -e 'print "$^O\n";' Prints: msys ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-17 05:46 Message: Thank you for your quick response. I will test and respond more fully Monday and answer your questions. But to answer one now, I am fairly new to Git. I don't know what the conventions are to install something like gitslave and I didn't see any instructions for installation in the documentation. So I just copied the 'gits' file into a folder in my path and it seems to be working so far (other than the two issues reported here). If you would like me to try an automated install, I would be happy to test it for you if you provide instructions. ---------------------------------------------------------------------- Comment By: Baka Project (bakaproject) Date: 2011-12-16 15:19 Message: A commit was pushed to the gitslave repository which should fix both of your problems. Please report back with the success or failure. Additionally, I'd still like to know if you were able to install gitslave using `make install` or whether you did it by hand. Thanks, ---------------------------------------------------------------------- Comment By: Baka Project (bakaproject) Date: 2011-12-16 13:49 Message: Thank you for your bug report. The problem turns out to be the line ending in the .gitslave file. It is not handling the DOS line ending carriage return properly. Git must be in DOS line ending mode and adjusted the file for our convenience. What version of perl are you using? `perl -v` might say. What does the following command print? `perl -e 'print "$^O\n";'` Did you have to install gitslave by hand? ---------------------------------------------------------------------- Comment By: Doug Beatty (dt25954) Date: 2011-12-16 13:01 Message: I uploaded the .gitslave file so you can see that it was properly formatted and should not have generated an error. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1475673&aid=3461130&group_id=353214 |