install stuff from rob browning

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1135 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-09-10 06:04:28 +00:00
parent 067b12af79
commit ad487691fc
2 changed files with 99 additions and 22 deletions

63
README
View File

@ -73,7 +73,6 @@ in simpler accounting programs.
Home Page:
----------
http://gnucash.ml.org/
http://gnucash.org/
Origianl X-Accountant home page:
@ -83,7 +82,8 @@ Important Note:
---------------
Numerous core dumps have been reported that occur with lesstif
version 0.82. These core dumps do not occur with lesstif v 0.81,
nor with RedHat Motif. If it's crashing, please try using the
nor with RedHat Motif, and appear to be gone with lesstif 0.83.
If it's crashing, please try using a different motif, or the
statically-linked Motif version, as described below.
@ -129,27 +129,46 @@ source distributions.
Normally, to build and install GnuCash, all you have to do is:
# ./configure
# make depend
# make
# make install
You can also build GnuCash in a seperate directory, which is
useful if you are compiling for several platforms from a
single copy of the source tree:
You can build Motif, Gnome, and Qt versions.
Depending on your make target, you'll produce:
# mkdir BUILD
# mkdir BUILD/debug
# cd BUILD/debug
# ../../configure --enable-debug
# make depend
# make
# make install
gnucash.motif
gnucash.motif.static
gnucash.gnome
gnucash.gnome.static
gnucash.qt
sorry, no "make install" yet.
Whichever one you produce last ends up the target of a local
gnucash.bin symlink, so that you can always run the local ./gnucash
script to see the last flavor that you built. The ./gnucash script
also handles making sure that you're using files from the source dir
rather than an install tree just like the old ./xacc script did.
The current version requires glibc2.0 (libc.so.6) to link.
It uses the open_memstream() call, which first shows up
in glibc-6.0.
You'll use "make install" when you want to do a normal FSSTND /usr/ or
/usr/local style install where everything scatters across the
filesystem in foo/gnucash/* directories. You'll use "make
install-opt" when you want a /usr/local/opt/gnucash style install
where everything just installs into local bin, doc, share, etc dirs.
I couldn't think of a better way to handle this, or I would have used
it.
So the two most likely sets of build instructions would be as follows:
For a full system install (gnucash is installed as part of the
system):
./configure --prefix=/usr --sysconfdir=/etc
make motif
make install
For an /opt style install
./configure --prefix=/usr/local/opt/gnucash
make motif
make install-opt
Status:
-------
@ -216,10 +235,10 @@ cvs -d :pserver:cvs@linas.org:/home/cvs/cvsroot checkout xacc
Main Developers:
----------------
Rob Browning <rlb@cs.utexas.edu> for perl, scheme & GTK port
Robin Clark <rclark@hmc.edu> for original X-Accountant
Jeremy Collins <linux@cyberramp.net> for GnuCash web site & main-window GTK code
Linas Vepstas <linas@linas.org> for managing it all
Robin Clark <rclark@hmc.edu> wrote the original X-Accountant
Linas Vepstas <linas@linas.org> rewrote the original X-Accountant
Jeremy Collins <linux@cyberramp.net> for GnuCash web site & GTK/gnome code
Rob Browning <rlb@cs.utexas.edu> for perl, scheme, init/prefs, GTK/gnome port
Fixes & Patches:
----------------
@ -236,6 +255,7 @@ Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port
Ted Lemon <mellon@andare.fugue.com> for NetBSD port
G. Allen Morris III <gam3@ann.softgams.com> for QIF core dump
Peter Norton <spacey@inch.com> for a valiant attempt at a GTK port
OmNiBuS <webmaster@obsidian.uia.net> web site graphics & content
Gavin Porter <maufk@csv.warwick.ac.uk> for euro style dates
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries
Dirk Schoenberger <schoenberger@signsoft.com> for Qt/KDE port
@ -243,7 +263,6 @@ Christopher Seawood <cls@seawood.org> for XbaeMatrix core dump
Richard Skelton <rich@brake.demon.co.uk> for Solaris cleanup
Henning Spruth <spruth@bigfoot.com> for German text & euro date rework
Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU> QIF import fixes
OmNiBuS <webmaster@obsidian.uia.net> web site graphics & content
... and I am sure that I have missed many others ...

58
README.install Normal file
View File

@ -0,0 +1,58 @@
You'll use "make install" when you want to do a normal FSSTND /usr/ or
/usr/local style install where everything scatters across the
filesystem in foo/gnucash/* directories. You'll use "make
install-opt" when you want a /usr/local/opt/gnucash style install
where everything just installs into local bin, doc, share, etc dirs.
I couldn't think of a better way to handle this, or I would have used
it.
So the two most likely sets of build instructions would be as follows:
For a full system install (gnucash is installed as part of the
system):
./configure --prefix=/usr --sysconfdir=/etc
make motif
make install
For an /opt style install
./configure --prefix=/usr/local/opt/gnucash
make motif
make install-opt
----------------
depending on your make target, you'll produce:
gnucash.motif
gnucash.motif.static
gnucash.gnome
gnucash.gnome.static
gnucash.qt
Whichever one you produce last ends up the target of a local
gnucash.bin symlink, so that you can always run the local ./gnucash
script to see the last flavor that you built. The ./gnucash script
also handles making sure that you're using files from the source dir
rather than an install tree just like the old ./xacc script did.
Finally, I've re-worked things so that it's harder to accidentally
install a binary that's stale with respect to your install
destination, and I've eliminated the need for the wrapper script in
the install tree. Unfortunately this did require that "make install*"
re-build the binary during the install process because it can't know
where the one startup file that it has to know about internally is
going to be until you pick an install style.
All this may not be perfect, but I think it's better than what we had
before, and we can always improve it once we figure out something
better.
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To subscribe, send mail to majordomo@gnucash.org and
put "subscribe gnucash-devel your@email.address" in the body