From 4ecbf78eca4f8f0ea6dfd1a55f7eb62f6cbee527 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Fri, 15 Jun 2012 18:21:03 +0000 Subject: [PATCH 1/4] Added a comment --- .../comment_2_2b309b763d70cfc03fb9e7f6142ba477._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/news/version_3.20120614/comment_2_2b309b763d70cfc03fb9e7f6142ba477._comment diff --git a/doc/news/version_3.20120614/comment_2_2b309b763d70cfc03fb9e7f6142ba477._comment b/doc/news/version_3.20120614/comment_2_2b309b763d70cfc03fb9e7f6142ba477._comment new file mode 100644 index 0000000000..70a11542f1 --- /dev/null +++ b/doc/news/version_3.20120614/comment_2_2b309b763d70cfc03fb9e7f6142ba477._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.154.6.135" + subject="comment 2" + date="2012-06-15T18:21:03Z" + content=""" +My, cabal is picky about the tarballs it will accept. Doesn't understand longlinks in tarballs. I've uploaded a new release. +"""]] From 98148bece8beea3ffe9c1b464aaa32293b23f1e3 Mon Sep 17 00:00:00 2001 From: "http://denis.laxalde.org/" Date: Fri, 15 Jun 2012 18:57:08 +0000 Subject: [PATCH 2/4] --- doc/forum/exporting_annexed_files.mdwn | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/forum/exporting_annexed_files.mdwn diff --git a/doc/forum/exporting_annexed_files.mdwn b/doc/forum/exporting_annexed_files.mdwn new file mode 100644 index 0000000000..0b8d6f36b2 --- /dev/null +++ b/doc/forum/exporting_annexed_files.mdwn @@ -0,0 +1,4 @@ +Is there an easy way to export annexed files out of the repository? (e.g. to make a copy elsewhere, send a file by email...) + +Thanks, +Denis. From 9e5c5bb6e15a26c955c47fb895c0d3421ae80966 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus" Date: Fri, 15 Jun 2012 19:06:45 +0000 Subject: [PATCH 3/4] --- doc/install.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/install.mdwn b/doc/install.mdwn index fe0522aa05..fef146544a 100644 --- a/doc/install.mdwn +++ b/doc/install.mdwn @@ -10,6 +10,7 @@ * [[NixOS]] * [[Gentoo]] * Windows: [[sorry, not possible yet|todo/windows_support]] +* [[ScientificLinux5]] - This should cover RHEL5 clones such as CentOS5 and so on ## Using cabal From df56fc370217ddfdc435982d2a4590da77fe08f1 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus" Date: Fri, 15 Jun 2012 19:10:36 +0000 Subject: [PATCH 4/4] --- doc/ScientificLinux5.mdwn | 70 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 doc/ScientificLinux5.mdwn diff --git a/doc/ScientificLinux5.mdwn b/doc/ScientificLinux5.mdwn new file mode 100644 index 0000000000..4292813701 --- /dev/null +++ b/doc/ScientificLinux5.mdwn @@ -0,0 +1,70 @@ +I was waiting for my backups to be done hence this article, as I was using +_git-annex_ to manage my files and I decided I needed to have +git-annex on a SL5 based machine. SL5 is just an opensource +clone/recompile of RHEL5. + +I haven't tried to install the newer versions of Haskell Platform and +GHC in a while on SL5 to install git-annex. But the last time I checked +when GHC7 was out, it was a pain to install GHC on SL5. + +However I have discovered that someone has gone through the trouble of +packaging up GHC and Haskell Platform for RHEL based distros. + +* - Packaged GHC and Haskell Platform + RPM's for RHEL based systems. + +I'm primarily interested in installing _git-annex_ on SL5 based +systems. The installation process goes as such... + +First install GHC and Haskell Platform (you need root for these +following steps) + + $ wget http://sherkin.justhub.org/el5/RPMS/x86_64/justhub-release-2.0-4.0.el5.x86_64.rpm + $ rpm -ivh justhub-release-2.0-4.0.el5.x86_64.rpm + $ yum install haskell + +The RPM's don't place the files in /usr/bin, so you must add the +following to your .bashrc (from here on you don't need root if you +don't want things to be system wide) + + $ export PATH=/usr/hs/bin:$PATH + +On SL5 pcre is at version 6.6 which is far too old for one of the +dependancies that git-annex requires. Therefore the user must install +an updated version of _pcre_ either from source or another method, I +chose to install it from source and by hand into /usr/local + + $ wget http://sourceforge.net/projects/pcre/files/pcre/8.30/pcre-8.30.tar.gz/download + $ tar zxvf pcre-8.30.tar.gz + $ cd pcre-8.30 + $ ./configure + $ make && make install + +Once the packages are installed and are in your execution path, using +cabal to configure and build git-annex just makes life easier, it +should install all the needed dependancies. + + $ cabal update + $ cabal install pcre-light --extra-include-dirs=/usr/local/include + $ git clone git://git.kitenet.net/git-annex + $ cd git-annex + $ make git-annex.1 + $ cabal configure + $ cabal build + $ cabal install + +Or if you want to install it globallly for everyone (otherwise it will +get installed into $HOME/.cabal/bin) + + $ cabal install --global + +The above will take a while to compile and install the needed +dependancies. I would suggest any user who does should run the tests +that comes with git-annex to make sure everything is functioning as +expected. + +I haven't had a chance or need to install git-annex on a SL6 based +system yet, but I would assume something similar to the above steps +would be required to do so. + +The above is almost a cut and paste of , the above could probably be refined, it was what worked for me on SL5. Please feel free to re-edit and chop out or add useless bits of text in the above!