Difference between revisions of "Solaris"

From GnuCash
Jump to: navigation, search
(new page for solaris)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Gnucash on Solaris==
 
== Gnucash on Solaris==
  
=THIS IS A PAGE COPIED FROM SLACKWARE FOR SOLARIS. ALL DATA BELOW IS FOR INTEREST'S SAKE AND SHOULD BE DELETED WHEN THE Solaris STUFF IS ADDED.=
+
The following are the programs that you will need to compile on Solaris 10 11/06 x86 edition to be able to compile and use Gnucash 2.2.0
  
With [http://wiki.gnucash.org/wiki/GnuCash Gnucash] having evolved into a Gnome 2 application, and
 
Slackware Gnome support being picked up by
 
[http://www.droplinegnome.org/ Dropline Gnome], it has become much easier to install Gnucash on a [http://www.slackware.org Slackware] system. In fact, we may even hope for the day when Gnucash itself is distributed with Dropline Gnome. In the meantime, here are some success stories.
 
  
=== Prebuilt packages / multi-version ===
+
<code><pre>
  
* [http://www.linuxpackages.net/pkg_details.php?id=1858 pre-built GnuCash packages for Slackware], including packages for Slack 7 and 8. Haven't tried these - perhaps someone could comment on them.
+
gtkthml
 +
          ORBit2
  
=== Slack 11 + GnuCash 2 ===
+
GOffice - without gnome
 +
          PCRE - Perl Compatible Regular Expressions --with-utf8
 +
          libgnomeprint
 +
          libgsf
  
Outline follows. See [http://www.tux.org/~milgram/slack11Gnucash.html this page with more details].
+
libglade
  
# Start with a fresh Slack 11 installation
+
gtk
# Do a full dropline install. Probably only a few Dropline packages are required - if someone has time it would be a great contribution to figure out what the minimum set of packages is.
+
          pango
# removepkg guile-1.8.0-i486-1
+
                  cairo
# Install guile 1.6.8 from sources
+
          atk
# Install g-wrap 1.3.4 from sources
 
# Install slib 2d6
 
# ./configure && make && make install.
 
  
 +
postgresql
  
Slack 11 + GWARE Rev H. - Sorry for the length.  The following are a guide lines to using GWARE and trying to stick with the original versions of packages that come with slackware.  Please read ALL the steps and ALL the notes before begining the install process.
+
guile 1.6.8
 +
          swig - update vicinity path on all *.init files
 +
          gmp
 +
          libtool
  
Outline:
+
glib
# Fresh Slackware 11.0 install
+
          pkg-config
# Full GWARE Rev. H install
 
# install libgsf-1.14.1 from the slackware sources  *I
 
# Guile Does not need to be reinstalled... I think... if you have problems use the same trick as libgsf  *II
 
# ln -s /usr/share/guile/1.8 /usr/share/guile/site
 
# install Slib3a1 and set guile up to use it  *III
 
# install guile-lib 0.1.3 with prefix /usr  *IV
 
# install g-wrap 1.9.6 with prefix /usr  *V
 
# install gnucash-2.0.4 *VI
 
  
I - the libgsf-1.14.1 that comes with slackware is missing the libgsf-gnome lib files that are required by gnucash.  Also, GWARE Rev H. does not include a libgsf package.
+
aqbanking
 +
          libofx .8.3
 +
                  OpenSP 1.5.2
 +
          libchipcard
 +
                  gwenhywfar
 +
                            ncurses
 +
          ktoblzcheck
 +
          ctypes
 +
</pre></code>
  
To install libgsf automagically as a slackware package:
+
My PKG_CONFIG_PATH is:
# download the libgsf files from a slackware mirror
 
# edit the BUILD variable in libgsf.SlackBuild to be something like '1gca' so that you know it is different than the one installed with slackware.
 
# upgradepkg /location/of/libgsf-1.14.1-i486-1gca.tgz
 
  
II - guile-lib and g-wrap need to be installed with the prefix /usr because they will install files into /prefix/share/guile/site.
+
/opt/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/sfw/lib/pkgconfig
  
III - I didn't try slib 3a2.  However, 3a3 and 3a4 were not setting up correctly.
 
  
To install slib3a1:
 
# tar xvzf /path/to/slib3a1.tar.gz -C /usr/local/lib/slib
 
# cd /usr/local/lib/slib
 
# make
 
# make install
 
  
NOTE: slib3a1 makefile appears to only install the documentation where as slib3a3 and 3a4 install slib into /usr/local/lib/slib
+
If the startup Druid shows an empty box then add:
  
To set up guile to use slib3a1 (IE: create the slibcat file):
+
/usr/lib/libglade/2.0/libgnome.so via crle or LD_LIBRARY_PATH
# ln -s /usr/local/lib/slib /usr/share/guile/site/slib
 
# guile -l /usr/share/guile/site/slib/
 
# guile> (require 'new-catalog)
 
# guile> (quit)
 
  
NOTE: we can test the guile/slib set up with:
 
  
guile -c "(use-modules (ice-9 slib)) (require 'printf)"
+
Almost everything is a clean compile with no modifications needed.
  
the output should be nothing. If it says something, then I can't help you.
 
  
 +
For Goffice just add the Environment Variable that it complains about to existing paths and it will compile easily.  There is only one to set so it's no big deal.
  
IV - g-wrap's testsuite will fail if guile-lib is not installed.  I do not know if this is requiered by anything other than to pass g-wraps tests
 
  
To install guile-lib:
+
According to GNUcash some of the Sun supplied GNOME programs for JDS are out of date, therefore you will need to compile up current versions.
  
./configure --prefix=/usr && make && make install
 
  
The test suite might have one or two fails arround os.process.scm
+
[http://www.blastwave.org Blastwave] has a version that you can obtain using their tools if you have no idea how to compile code.
  
  
V - newer versions can produce an error when gnucash loads.
+
[http://www.ilkda.com/compile/index.htm Sun Country's How To Compile C Code] is a starting point to learn how to compile C code.  This in no way, shape, or form, tries to tell you how to actually write a single line of code.
  
To install g-wrap:
 
  
./configure --prefix=/usr && make && make check && make install
+
I used to make the Solaris packages for GNUcash but will probably NOT do that for this version.  This version compiles easily once all of the prerequisites are in place.  The prerequisites are listed in reverse order.  Start with the last one and work your up to the top.
  
There were no problems.
 
  
 +
alan pae (alanpae at ilkda dot com)
  
VI - This takes a while:
+
[[User:Alanpae|Alanpae]] 21:13, 9 August 2007 (EDT)
 
 
./configure && make && make check && make install
 
 
 
I recieved "FAILURE end of quarter test-freq-spec.c" and a few ** CRITICAL ** messages for qof_class_get_parameter, xaccSplitSetAccount, FindCommonExclSCurrency.
 
 
 
=== Slack 10.2 ===
 
 
 
* Jay the Obscure who offers [http://www.slackages.com/linux/slackages/slack102.html other Slackware 10.2 Packages] as well.
 
* [http://lists.gnucash.org/pipermail/gnucash-user/2006-July/017005.html Rich Shepard privately offers a prebuilt GnuCash 2 package for Slackware 10.2].
 
 
 
=== Slack 10.1 + GnuCash 1.8 ===
 
 
 
See [http://www.tux.org/~milgram/slack10Gnucash.html this writeup] by J. Milgram and also
 
[http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Sources/Extra/GNUCASH/GnuCash4Slackware.htm this writeup] provided by [http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/HomePage.htm Amigo Linux].
 
 
 
=== Slack 9.0/9.1 + GnuCash 1.8 ===
 
 
 
See [http://rjmarq.org/gnucash.html this writeup] by RJ Marquette. RJ has also provided
 
[http://rjmarq.org/gnucash/gnucash-help.html directions for installing the help files].
 
 
 
--[[User:Milgram|Milgram]] 19:28, 7 January 2007 (EST)
 

Latest revision as of 01:13, 10 August 2007

Gnucash on Solaris

The following are the programs that you will need to compile on Solaris 10 11/06 x86 edition to be able to compile and use Gnucash 2.2.0



gtkthml
          ORBit2

GOffice - without gnome
          PCRE - Perl Compatible Regular Expressions --with-utf8
          libgnomeprint
          libgsf

libglade

gtk
          pango
                  cairo
          atk

postgresql

guile 1.6.8
          swig - update vicinity path on all *.init files
          gmp
          libtool

glib
          pkg-config

aqbanking
          libofx .8.3
                   OpenSP 1.5.2
          libchipcard
                   gwenhywfar
                            ncurses
          ktoblzcheck
          ctypes

My PKG_CONFIG_PATH is:

/opt/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/sfw/lib/pkgconfig


If the startup Druid shows an empty box then add:

/usr/lib/libglade/2.0/libgnome.so via crle or LD_LIBRARY_PATH


Almost everything is a clean compile with no modifications needed.


For Goffice just add the Environment Variable that it complains about to existing paths and it will compile easily. There is only one to set so it's no big deal.


According to GNUcash some of the Sun supplied GNOME programs for JDS are out of date, therefore you will need to compile up current versions.


Blastwave has a version that you can obtain using their tools if you have no idea how to compile code.


Sun Country's How To Compile C Code is a starting point to learn how to compile C code. This in no way, shape, or form, tries to tell you how to actually write a single line of code.


I used to make the Solaris packages for GNUcash but will probably NOT do that for this version. This version compiles easily once all of the prerequisites are in place. The prerequisites are listed in reverse order. Start with the last one and work your up to the top.


alan pae (alanpae at ilkda dot com)

Alanpae 21:13, 9 August 2007 (EDT)