Difference between revisions of "Gentoo"

From GnuCash
Jump to: navigation, search
m (small formatting edits)
Line 1: Line 1:
=== Gnucash SVN installation on Gentoo ===
+
== Gnucash SVN installation on Gentoo ==
  
 
This is written for people who do not know gentoos mechanism, how you can install inofficial ebuilds, so if you know about PORTDIR_OVERLAY things, you will also know which steps to skip.  (On the other hand you can make this steps twice, it doesn't matter. ;-))
 
This is written for people who do not know gentoos mechanism, how you can install inofficial ebuilds, so if you know about PORTDIR_OVERLAY things, you will also know which steps to skip.  (On the other hand you can make this steps twice, it doesn't matter. ;-))
  
Note that this installation will '''destroy any gnucash-1.8.x''' versions, because of overwriting some files especially the gnucash binary in /usr/bin/gnucash, so you simply can deinstall gnucash-1.8.x.
+
Note that this installation will '''destroy any gnucash-1.8.x''' versions, because of overwriting some files, especially the gnucash binary in /usr/bin/gnucash. It is suggested to deinstall gnucash-1.8.x first.
  
 
If you need support for installing both, please tell me, I can figure out what to do to have them both.   
 
If you need support for installing both, please tell me, I can figure out what to do to have them both.   
Line 9: Line 9:
 
'''Note:'''
 
'''Note:'''
 
If you have any errors during configure or build, and it doesn't come to an end, please send me the last important lines to my email below.  I will then update the ebuild until it works.
 
If you have any errors during configure or build, and it doesn't come to an end, please send me the last important lines to my email below.  I will then update the ebuild until it works.
 +
 +
==Installation instructions==
  
 
Do the following as ''root'':
 
Do the following as ''root'':
Line 16: Line 18:
 
   cd /usr/local/portage/app-office/gnucash-svn
 
   cd /usr/local/portage/app-office/gnucash-svn
 
2. Download the ebuild from the gentoo bugs.
 
2. Download the ebuild from the gentoo bugs.
   wget http://bugs.gentoo.org/attachment.cgi?id=76978 -O gnucash-svn-20060112.ebuild
+
   wget <nowiki>http://bugs.gentoo.org/attachment.cgi?id=76978</nowiki> -O gnucash-svn-20060112.ebuild
 
The version number for now does not say which version of svn you install, you install always the current version available via svn.
 
The version number for now does not say which version of svn you install, you install always the current version available via svn.
  

Revision as of 11:49, 13 January 2006

Gnucash SVN installation on Gentoo

This is written for people who do not know gentoos mechanism, how you can install inofficial ebuilds, so if you know about PORTDIR_OVERLAY things, you will also know which steps to skip. (On the other hand you can make this steps twice, it doesn't matter. ;-))

Note that this installation will destroy any gnucash-1.8.x versions, because of overwriting some files, especially the gnucash binary in /usr/bin/gnucash. It is suggested to deinstall gnucash-1.8.x first.

If you need support for installing both, please tell me, I can figure out what to do to have them both.

Note: If you have any errors during configure or build, and it doesn't come to an end, please send me the last important lines to my email below. I will then update the ebuild until it works.

Installation instructions

Do the following as root:

1. Create the directory for gnucash-svn ebuild and change into it.

 mkdir -p /usr/local/portage/app-office/gnucash-svn
 cd /usr/local/portage/app-office/gnucash-svn

2. Download the ebuild from the gentoo bugs.

 wget http://bugs.gentoo.org/attachment.cgi?id=76978 -O gnucash-svn-20060112.ebuild

The version number for now does not say which version of svn you install, you install always the current version available via svn.

3. Create digest

 ebuild gnucash-svn-20060112.ebuild digest

4. Now you have the ebuild, so you need to make portage to use it, if you havent done before:

 echo "PORTDIR_OVERLAY=\"/usr/local/portage\"" >> /etc/make.conf

or you can edit the file with any editor to set this variable.

Thats all.

Oh, wait a moment. You have now the ebuild for gnucash-svn. Any install and update will be done with

 emerge gnucash-svn

At the first usage it will install gnucashs currently svn version. There are updates nearly every day, so if you need the last you simply rerun

 emerge gnucash-svn

This keeps you up to date.

enjoy! ;-)

- Martin <martin.klaffenboeck@gmx.at>