{"thread":{"id":"9831","subject":"gitweb on MAC OSX 10.3 Panther","startedAt":"2007-09-08T14:05:44Z","lastAt":"2007-09-08T14:05:44Z","messageCount":1,"participants":["Brian Mc Enery"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"52997","messageId":"9774728C-5E14-11DC-9B36-000A95EB57B4@gmail.com","threadId":"9831","inReplyTo":null,"subject":"gitweb on MAC OSX 10.3 Panther","fromName":"Brian Mc Enery","fromEmail":"moghroth@gmail.com","sentAt":"2007-09-08T14:05:44Z","receivedAt":"2007-09-08T14:05:44Z","isPatch":false,"sender":{"key":"moghroth@gmail.com","avatar":null},"body":"Hi there,\n\nI have just completed the installation of gitweb (git version 1.5.3.1) \non Mac OSX 10.3 Panther, and I thought that you may be interested in \nincluding  a note with your distribution, to enable an easier \nexperience for others.\n\nEssentially the commands I used were variations on the following.\n\n****** Start installation of gitweb on Mac OSX ******\n\nmake    \tprefix=\"/usr/local\" \\\n         \tPERL_PATH=\"/usr/local/ActivePerl-5.8/bin/perl\" \\\n         \tall\n\nsudo      make prefix=/usr/local install\n\n\nmake   \tPERL_PATH=\"/usr/local/ActivePerl-5.8/bin/perl\" \\\n         \tGITWEB_PROJECTROOT=\"/Library/WebServer/Documents/gitweb/rep\" \\\n\t\tGITWEB_CSS=\"/gitweb/res/gitweb.css\" \\\n\t\tGITWEB_LOGO=\"/gitweb/res/git-logo.png\" \\\n\t\tGITWEB_FAVICON=\"/gitweb/res/git-favicon.png\" \\\n         \tGITWEB_SITENAME=\"Local Git\" \\\n\t\tbindir=/usr/local/bin \\\n\t\tgitweb/gitweb.cgi\n\ncp -fv  ./gitweb/gitweb.cgi /Library/WebServer/CGI-Executables/gitweb\n\ncp -fv  \t./gitweb/gitweb.css \\\n         \t./gitweb/git-{favicon,logo}.png \\\n         \t/Library/WebServer/Documents/gitweb/res\n\n****** End installation of gitweb on Mac OSX ******\n\nNotes:\n\nPerl_Path was necessary in order to change the shebang line in any perl \nor cgi scripts to use my non-standard\nperl interpreter, i.e. different from usr/bin/perl.\n\nThe gitweb.cgi script and the configuration file gitweb_configure.perl \nmust be placed in a directory under /Library/WebServer/CGI-Executables, \nas this is equivalent to localhost/cgi-bin. In this case I used \n/Library/WebServer/CGI-Executables/gitweb.\n\n\nThe gitweb resources *must* be placed in a folder in \n/Library/WebServer/Documents, not in \n/Library/WebServer/CGI-Executables. In this case I placed the resources \nin  /Library/WebServer/Documents/gitweb/res, and used \n/Library/WebServer/Documents/gitweb/rep, as the project root. The \nabsolute url for the project root must be specified.\n\nIn order to use symbolic links from a live project to the projectroot \nit was not necessary to make any changes to the Apache configuration \nfile, however the files being linked to i.e. the project/.git files \n*must*(it took forever to work this out), be in a publicly accessible \narea, even if you are accessing using a browser under you own username. \nIn my case I placed those projects in the Public folder, under my own \nusername.\n\nRelevant file permissions must of course be tweaked.\n\nIf all goes according to plan repositories are accessible from \nhttp://localhost/cgi-bin/gitweb/gitweb.cgi\n\n\n\nThank you,\n\nBrían\n\n\n\n\nBrían Mach Aon Innéirghthe\nCorcaigh\nÉire\n"}]}