Here is a script I've been using to build gnucash on kubuntu.  I
realize I should be using a build mechanism, but I'm still ignorant.

Anyway, the primary purpose to post is to show the list of packages
needed based on a completely pristine kubuntu installation.  I've
noted the ones that are different between breezy (current stable
release) and dapper (release candidate "flight 4").

FWIW, 1.9.2 runs on dapper, but I didn't do anything more that start
it up so far.

#!/bin/bash

# Script to compile gnucash under kubuntu (debian).

# Enable universe repository & fetch updates.
sudo  ed /etc/apt/sources.list <<EOF
/dapper universe/
.,+1s/^#//
w
q
EOF
sudo apt-get update

# install required packages.
pkgs=(libaqbanking0c2a  # in breezy this is libaqbanking0c2 
      libcairo2-dev
      libgconf2-dev
      libglib2.0-dev
      libgtk2.0-dev 
      guile-1.6-dev
      g-wrap
      libart-2.0-dev
      libglade2-dev
      libgnomeprintui2.2-dev
      libgtkhtml3.8-dev
      libgsf-bin         # in breezy this is libgsf-1
      libofx2
      libxml2-dev
      libpango1.0-dev

      guile-g-wrap
      libxml-parser-perl
      libltdl3-dev

      # Without gettext you get the error described here:
      # https://lists.gnucash.org/pipermail/gnucash-devel/2006-February/016476.html
      gettext

      gcc
      make
      libc6-dev

      # Not needed to compile, but required to run.
      libfinance-quote-perl
      libdate-manip-perl
 )
sudo apt-get install ${pkgs[*]}

wget -c http://www.gnucash.org/pub/gnucash/sources/unstable/1.9.x/gnucash-1.9.2.tar.gz
tar xfz gnucash-1.9.2.tar.gz

cd gnucash-1.9.2
#patch -p0 < ../gettext.patch

(./configure &&
 make &&
 sudo make install
 ) 2>&1 | tee -a make.log 
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to