{"thread":{"id":"25293","subject":"problems installing git docs and gitweb on centos 5.5","startedAt":"2010-09-30T02:03:18Z","lastAt":"2010-10-05T20:28:24Z","messageCount":8,"participants":["Dennis Huynh","Jonathan Nieder","J.H."],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"152110","messageId":"4CA3EFE6.2010306@brainstorm-digital.com","threadId":"25293","inReplyTo":null,"subject":"problems installing git docs and gitweb on centos 5.5","fromName":"Dennis Huynh","fromEmail":"dennis@brainstorm-digital.com","sentAt":"2010-09-30T02:03:18Z","receivedAt":"2010-09-30T02:03:18Z","isPatch":false,"sender":{"key":"dennis@brainstorm-digital.com","avatar":null},"body":"Am I the only one having issues installing git docs?  I had the man \npages installed perfect yesterday, but having so much trouble getting \ngitweb installed, I decided to start a build from scratch today and for \nthe life of me cannot get the man pages installed again.  I do a yum \nupdate on my OS and when I go to install the dependencies I run into \nconflicts with python libraries.  I remove the python library and \nreinstall and yum stops complaining.  I then 'make install-doc' again \nand get an 'nbsp' not defined error.  I have everything installed I had \nyesterday when the man pages were installed successfully.  What changed \nfrom then until now?  I'm running CentOS 5.5 and git 1.7.3.  Am I the \nonly one having these problems?  Is this a CentOS repository problem?\n\nAlso, is there anywhere I can get better documentation on installing \ngitweb and gitosis running properly?  If not, is there anything I can do \nto gain the experience that would assist me in better understanding this \ndocumentation.  I've been supporting linux for 8+ years now and cannot \nwrap my head around how to make this happen.  I've tried every tutorial \non the web that would ease my experience in setting up the source and am \nreading the docs that come wrapped in the git source package over and \nover again.  I'd really hate to have to resort to SVN or CVS because my \ndevelopment team would like a subversion system up asap.  Please help!  \nMuch appreciated, and thanks for understanding.\n"},{"id":"152111","messageId":"20100930024059.GA2373@burratino","threadId":"25293","inReplyTo":"4CA3EFE6.2010306@brainstorm-digital.com","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-09-30T02:40:59Z","receivedAt":"2010-09-30T02:40:59Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"(-cc: security@centos)\n\nHi Dennis,\n\nDennis Huynh wrote:\n\n> Am I the only one having issues installing git docs?\n\nHere's my advice:\n\n 1. Breathe in, breathe out.\n 2. Look at the INSTALL file, section beginning \"To build and install\n    documentation suite\".  Among other things, it describes how to\n    retrieve pre-formatted documentation from the git.git repository\n    itself.  So you can try:\n\n\tgit clone git://git2.kernel.org/pub/scm/git/git.git\n\tcd git\n\tmake quick-install-doc\n\n    after installing git, which should be relatively painless.\n 3. Look at gitweb/INSTALL.  The moment something seems unclear, note\n    that, so we can come up with a patch to make it clearer for the\n    next person.\n\n[...]\n>                                                              I then\n> 'make install-doc' again and get an 'nbsp' not defined error.\n\nI suspect you do not have docbook XSL installed completely.  Given\na more specific error message, maybe someone on this list could help.\n\n> Also, is there anywhere I can get better documentation on installing\n> gitweb and gitosis running properly?\n\nI've never tried gitosis, but some gitosis users were very active on\n#git when I last visited.  Maybe they could help?\n\nThe usual advice applies here, too: where the README is unclear,\nplease do let Tommi Virtanen know.  After an aha moment this might a\ngood way to make sure you are really on the right.\n\nHope that helps,\nJonathan\n"},{"id":"152115","messageId":"4CA41FCC.8050704@kernel.org","threadId":"25293","inReplyTo":"20100930024059.GA2373@burratino","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"J.H.","fromEmail":"warthog9@kernel.org","sentAt":"2010-09-30T05:27:40Z","receivedAt":"2010-09-30T05:27:40Z","isPatch":false,"sender":{"key":"warthog9@kernel.org","avatar":"https://avatars.githubusercontent.com/u/2334704?v=4"},"body":"On 09/29/2010 07:40 PM, Jonathan Nieder wrote:\n> (-cc: security@centos)\n> \n> Hi Dennis,\n> \n> Dennis Huynh wrote:\n> \n>> Am I the only one having issues installing git docs?\n> \n> Here's my advice:\n> \n>  1. Breathe in, breathe out.\n>  2. Look at the INSTALL file, section beginning \"To build and install\n>     documentation suite\".  Among other things, it describes how to\n>     retrieve pre-formatted documentation from the git.git repository\n>     itself.  So you can try:\n> \n> \tgit clone git://git2.kernel.org/pub/scm/git/git.git\n\nFor the love of monkeys do *NOT* point people at specific git machines\nlike that.  Use git://git.kernel.org/pub/scm/git/git.git using a\nspecific machine causes a giant amount of headaches for me and\ncompletely ruins any attempt at load balancing I might be able to\naccomplish.\n\nCouple that with the fact it will steer people to the wrong server if\nthey aren't in North America, it's just not a good idea.  Period.\n\n> \tcd git\n> \tmake quick-install-doc\n> \n>     after installing git, which should be relatively painless.\n>  3. Look at gitweb/INSTALL.  The moment something seems unclear, note\n>     that, so we can come up with a patch to make it clearer for the\n>     next person.\n\nAs an overall note, git and gitweb, including my caching version of\ngitweb are available in Fedora EPEL as rpm packages.  These are official\npackages for Redhat / CentOS / Distro based on those things.  You\nshouldn't need to compile your own really.\n\nUnless you need the latest and greatest I would try those.  If you\nreally need the latest you might be better off grabbing the latest\n.src.rpm from here:\n\nhttp://www.kernel.org/pub/software/scm/git/RPMS/SRPMS/\n\nhttp://www.kernel.org/pub/software/scm/git/RPMS/SRPMS/git-1.7.3.1-1.fc11.src.rpm\n\nand doing an rpmbuild --rebuild git-1.7.3.1-1.fc11.src.rpm on it and\ninstalling the rpm that it builds.\n\nI'm not saying doing it completely from source is bad, but deviating\nfrom what your distro uses / provides can cause other headaches and\nmaintenance issues down the line.\n\nBonus to going the RPM rebuild route is that it will tell you what your\nmissing to do the rebuild with.\n\n- John 'Warthog9' Hawley\n"},{"id":"152132","messageId":"20100930123809.GD4850@burratino","threadId":"25293","inReplyTo":"4CA41FCC.8050704@kernel.org","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-09-30T12:38:09Z","receivedAt":"2010-09-30T12:38:09Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"J.H. wrote:\n\n> For the love of monkeys do *NOT* point people at specific git machines\n> like that.  Use git://git.kernel.org/pub/scm/git/git.git\n\nThanks for the correction.  I had some odd memory that git.kernel.org\nwas a specific machine once, but probably I made it up.  (I have\ngenerally been using git.kernel.org for ease-of-typing reasons.)\n\n> As an overall note, git and gitweb, including my caching version of\n> gitweb are available in Fedora EPEL as rpm packages.\n\nThanks, that is indeed worth mentioning.\n"},{"id":"152155","messageId":"4CA49D39.1020403@brainstorm-digital.com","threadId":"25293","inReplyTo":"4CA41FCC.8050704@kernel.org","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"Dennis Huynh","fromEmail":"dennis@brainstorm-digital.com","sentAt":"2010-09-30T14:22:49Z","receivedAt":"2010-09-30T14:22:49Z","isPatch":false,"sender":{"key":"dennis@brainstorm-digital.com","avatar":null},"body":"Alright, I'm going with the Fedora EPEL repositories.  But last I \nchecked the latest version available via that method was 1.5.x.  Since \nthis is a server, I preferred to use the latest and greatest so to last \nin the long run from any major patches or cover any major upgrades, but \nif that's the version that's preferred, who am I to argue.  One problem \nI recall in yum'ing the install for git however was the man pages \nweren't installed either.  I could be wrong however.  I'll keep you guys \nup to date.  Wish me luck!  Thanks for all your help and the timely \nresponses.\n\nAlso, is there how-tos you'd suggest I use in setting up the git/gitweb \ncombo with the yum install?  I noticed yum installs files in different \nlocations then the source does.  Thanks again!\n\n\nOn 9/30/10 1:27 AM, J.H. wrote:\n> On 09/29/2010 07:40 PM, Jonathan Nieder wrote:\n>    \n>> (-cc: security@centos)\n>>\n>> Hi Dennis,\n>>\n>> Dennis Huynh wrote:\n>>\n>>      \n>>> Am I the only one having issues installing git docs?\n>>>        \n>> Here's my advice:\n>>\n>>   1. Breathe in, breathe out.\n>>   2. Look at the INSTALL file, section beginning \"To build and install\n>>      documentation suite\".  Among other things, it describes how to\n>>      retrieve pre-formatted documentation from the git.git repository\n>>      itself.  So you can try:\n>>\n>> \tgit clone git://git2.kernel.org/pub/scm/git/git.git\n>>      \n> For the love of monkeys do *NOT* point people at specific git machines\n> like that.  Use git://git.kernel.org/pub/scm/git/git.git using a\n> specific machine causes a giant amount of headaches for me and\n> completely ruins any attempt at load balancing I might be able to\n> accomplish.\n>\n> Couple that with the fact it will steer people to the wrong server if\n> they aren't in North America, it's just not a good idea.  Period.\n>\n>    \n>> \tcd git\n>> \tmake quick-install-doc\n>>\n>>      after installing git, which should be relatively painless.\n>>   3. Look at gitweb/INSTALL.  The moment something seems unclear, note\n>>      that, so we can come up with a patch to make it clearer for the\n>>      next person.\n>>      \n> As an overall note, git and gitweb, including my caching version of\n> gitweb are available in Fedora EPEL as rpm packages.  These are official\n> packages for Redhat / CentOS / Distro based on those things.  You\n> shouldn't need to compile your own really.\n>\n> Unless you need the latest and greatest I would try those.  If you\n> really need the latest you might be better off grabbing the latest\n> .src.rpm from here:\n>\n> http://www.kernel.org/pub/software/scm/git/RPMS/SRPMS/\n>\n> http://www.kernel.org/pub/software/scm/git/RPMS/SRPMS/git-1.7.3.1-1.fc11.src.rpm\n>\n> and doing an rpmbuild --rebuild git-1.7.3.1-1.fc11.src.rpm on it and\n> installing the rpm that it builds.\n>\n> I'm not saying doing it completely from source is bad, but deviating\n> from what your distro uses / provides can cause other headaches and\n> maintenance issues down the line.\n>\n> Bonus to going the RPM rebuild route is that it will tell you what your\n> missing to do the rebuild with.\n>\n> - John 'Warthog9' Hawley\n>\n>\n>    \n"},{"id":"152202","messageId":"4CA510AA.2010908@kernel.org","threadId":"25293","inReplyTo":"4CA49D39.1020403@brainstorm-digital.com","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"J.H.","fromEmail":"warthog9@kernel.org","sentAt":"2010-09-30T22:35:22Z","receivedAt":"2010-09-30T22:35:22Z","isPatch":false,"sender":{"key":"warthog9@kernel.org","avatar":"https://avatars.githubusercontent.com/u/2334704?v=4"},"body":"On 09/30/2010 07:22 AM, Dennis Huynh wrote:\n> Alright, I'm going with the Fedora EPEL repositories.  But last I\n> checked the latest version available via that method was 1.5.x.  Since\n> this is a server, I preferred to use the latest and greatest so to last\n> in the long run from any major patches or cover any major upgrades, but\n> if that's the version that's preferred, who am I to argue.  One problem\n> I recall in yum'ing the install for git however was the man pages\n> weren't installed either.  I could be wrong however.  I'll keep you guys\n> up to date.  Wish me luck!  Thanks for all your help and the timely\n> responses.\n\nThe stuff in EPEL is a bit older, I should have words with whoever is\nmaintaining those to see if we can get those upgraded.  There really\nisn't any reason those should be lagging that much.\n\nThis is however why I suggested just recompiling the rpms present on\nkernel.org, which would get you the latest and greatest and not,\ncompletely, push you into maintaining the packages on your own.\n\n> Also, is there how-tos you'd suggest I use in setting up the git/gitweb\n> combo with the yum install?  I noticed yum installs files in different\n> locations then the source does.  Thanks again!\n\nThey install into different locations though the instructions should be\nrelatively straight forward.\n\nhttp://git.kernel.org/?p=git/warthog9/gitweb.git;a=blob;f=gitweb/README;h=ad6a04c464075c31afe3c67222f0bdeabc76f569;hb=HEAD\n\nis the official documentation, but a quick glance at it shows that it\ndoesn't stay consistent on where the the document root is.  If you have\nproblems give me a holler and I'll throw up how I have it configured at\nkernel.org on the kernel.org wiki as a reference point for people to a\nspecific installation.\n\n- John 'Warthog9' Hawley\n"},{"id":"152203","messageId":"4CA512C4.5090003@brainstorm-digital.com","threadId":"25293","inReplyTo":"4CA510AA.2010908@kernel.org","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"Dennis Huynh","fromEmail":"dennis@brainstorm-digital.com","sentAt":"2010-09-30T22:44:20Z","receivedAt":"2010-09-30T22:44:20Z","isPatch":false,"sender":{"key":"dennis@brainstorm-digital.com","avatar":null},"body":"Its fine.  I'm going with the EPEL repo to start and learn from. If this \ncan be upgraded in the near future that would be dandy.  If not, I \nshould have a handle on maintaining a repository by then and be able to \nbuild the latest and greatest myself.  Because of my inexperience with \nmaintaining this type of technology, I didn't realize the projectroot \nwas not consistent throughout the documentation.  Had I known, I \nwould've had an easier time, but doubt I'd have a working server up by \nnow.  Not that I have a working server up right now, but I'm getting \ncloser than I was yesterday.  If I have any questions I will be sure to \nask and when I understand more, hopefully I'll be able to contribute \nbetter documentation myself as to where the original led me astray.  \nThanks again for following up.  I'm sure you'll hear from me again if \nyou don't mind.\n\n\nOn 9/30/10 6:35 PM, J.H. wrote:\n> On 09/30/2010 07:22 AM, Dennis Huynh wrote:\n>    \n>> Alright, I'm going with the Fedora EPEL repositories.  But last I\n>> checked the latest version available via that method was 1.5.x.  Since\n>> this is a server, I preferred to use the latest and greatest so to last\n>> in the long run from any major patches or cover any major upgrades, but\n>> if that's the version that's preferred, who am I to argue.  One problem\n>> I recall in yum'ing the install for git however was the man pages\n>> weren't installed either.  I could be wrong however.  I'll keep you guys\n>> up to date.  Wish me luck!  Thanks for all your help and the timely\n>> responses.\n>>      \n> The stuff in EPEL is a bit older, I should have words with whoever is\n> maintaining those to see if we can get those upgraded.  There really\n> isn't any reason those should be lagging that much.\n>\n> This is however why I suggested just recompiling the rpms present on\n> kernel.org, which would get you the latest and greatest and not,\n> completely, push you into maintaining the packages on your own.\n>\n>    \n>> Also, is there how-tos you'd suggest I use in setting up the git/gitweb\n>> combo with the yum install?  I noticed yum installs files in different\n>> locations then the source does.  Thanks again!\n>>      \n> They install into different locations though the instructions should be\n> relatively straight forward.\n>\n> http://git.kernel.org/?p=git/warthog9/gitweb.git;a=blob;f=gitweb/README;h=ad6a04c464075c31afe3c67222f0bdeabc76f569;hb=HEAD\n>\n> is the official documentation, but a quick glance at it shows that it\n> doesn't stay consistent on where the the document root is.  If you have\n> problems give me a holler and I'll throw up how I have it configured at\n> kernel.org on the kernel.org wiki as a reference point for people to a\n> specific installation.\n>\n> - John 'Warthog9' Hawley\n>\n>\n>    \n"},{"id":"152711","messageId":"4CAB8A68.4080608@brainstorm-digital.com","threadId":"25293","inReplyTo":"4CA512C4.5090003@brainstorm-digital.com","subject":"Re: problems installing git docs and gitweb on centos 5.5","fromName":"Dennis Huynh","fromEmail":"dennis@brainstorm-digital.com","sentAt":"2010-10-05T20:28:24Z","receivedAt":"2010-10-05T20:28:24Z","isPatch":false,"sender":{"key":"dennis@brainstorm-digital.com","avatar":null},"body":"I have git and gitweb setup and working great.  All's that is left now \nis to have it so my project root is symlinked to a network share.  I \nalready have the network share mount on my system as \n/Volumes/networkShare/projects.  My $projectroot variable in \n/etc/gitweb.conf is set to '/var/www/html'.  After this I create a \nsymlink, 'ln -s /Volumes/networkShare/projects /var/www/html' which then \ncreates a symlink in my html folder called projects.  I edit my \ngitweb.conf file so the $projectroot is now set to \n/var/www/html/projects and gitweb fails to see the git projects.  What \ngives?  Is there any other way to do this?  Thanks.\n\n\nOn 9/30/10 6:44 PM, Dennis Huynh wrote:\n> Its fine.  I'm going with the EPEL repo to start and learn from. If \n> this can be upgraded in the near future that would be dandy.  If not, \n> I should have a handle on maintaining a repository by then and be able \n> to build the latest and greatest myself.  Because of my inexperience \n> with maintaining this type of technology, I didn't realize the \n> projectroot was not consistent throughout the documentation.  Had I \n> known, I would've had an easier time, but doubt I'd have a working \n> server up by now.  Not that I have a working server up right now, but \n> I'm getting closer than I was yesterday.  If I have any questions I \n> will be sure to ask and when I understand more, hopefully I'll be able \n> to contribute better documentation myself as to where the original led \n> me astray.  Thanks again for following up.  I'm sure you'll hear from \n> me again if you don't mind.\n>\n>\n> On 9/30/10 6:35 PM, J.H. wrote:\n>> On 09/30/2010 07:22 AM, Dennis Huynh wrote:\n>>> Alright, I'm going with the Fedora EPEL repositories.  But last I\n>>> checked the latest version available via that method was 1.5.x.  Since\n>>> this is a server, I preferred to use the latest and greatest so to last\n>>> in the long run from any major patches or cover any major upgrades, but\n>>> if that's the version that's preferred, who am I to argue.  One problem\n>>> I recall in yum'ing the install for git however was the man pages\n>>> weren't installed either.  I could be wrong however.  I'll keep you \n>>> guys\n>>> up to date.  Wish me luck!  Thanks for all your help and the timely\n>>> responses.\n>> The stuff in EPEL is a bit older, I should have words with whoever is\n>> maintaining those to see if we can get those upgraded.  There really\n>> isn't any reason those should be lagging that much.\n>>\n>> This is however why I suggested just recompiling the rpms present on\n>> kernel.org, which would get you the latest and greatest and not,\n>> completely, push you into maintaining the packages on your own.\n>>\n>>> Also, is there how-tos you'd suggest I use in setting up the git/gitweb\n>>> combo with the yum install?  I noticed yum installs files in different\n>>> locations then the source does.  Thanks again!\n>> They install into different locations though the instructions should be\n>> relatively straight forward.\n>>\n>> http://git.kernel.org/?p=git/warthog9/gitweb.git;a=blob;f=gitweb/README;h=ad6a04c464075c31afe3c67222f0bdeabc76f569;hb=HEAD \n>>\n>>\n>> is the official documentation, but a quick glance at it shows that it\n>> doesn't stay consistent on where the the document root is.  If you have\n>> problems give me a holler and I'll throw up how I have it configured at\n>> kernel.org on the kernel.org wiki as a reference point for people to a\n>> specific installation.\n>>\n>> - John 'Warthog9' Hawley\n>>\n>>\n>\n"}]}