Notes for building on Debian

Beth Leonard beth at oasis.slimy.com
Sun Mar 19 02:17:36 EST 2006


Hi,

These are my notes for getting the gnucash tarball, and later
gnucash svn, to build under debian, in particular the packages
I needed to install.  I had been hoping to clean them up and
make it more presentable for others to follow, but that's
getting closer and closer to the part of my To Do list that
will never get done.  I'm hoping some notes are better than
no notes for people doing searches.

Look at the lines right after
"The following NEW packages will be installed" to see what
I needed to install.  Before the notes below I started out
by installing all of the gnucash 1.8.x dependencies from
Debian because I basically didn't have any devel tools or
libraries at all installed before this.

Good luck!  If you've read my previous message to the list
I'm still having some compile issues with more recent
versions of svn but hopefully those will be resolved soon.

--Beth
==========================================================
>From warlord on XChat:
but ./configure --prefix=...  ; make ; make install

 ./configure --prefix=/opt/gnucash-1.9.0

==> Led to:
checking for gconf-2.0 >= "2.0"... Package gconf-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gconf-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gconf-2.0' found
configure: error: Library requirements (gconf-2.0 >= "2.0") not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

===============
The following NEW packages will be installed:
  g-wrap glade-2 glade-common-2 gnutls-bin guile-common guile-g-wrap guile-library libart-2.0-dev
  libbonobo2-dev libbonoboui2-dev libbz2-dev libffi3 libffi3-dev libgcrypt11-dev libglade2-dev
  libgnome-keyring-dev libgnome2-dev libgnome2-doc libgnomecanvas2-dev libgnomecanvas2-doc
  libgnomeprint2.2-dev libgnomeui-dev libgnomeui-doc libgnomevfs2-dev libgnutls11-dev libgpg-error-dev
  libgsf-1-dev libgwrap-runtime0 libgwrap-runtime0-dev libopencdk8-dev libtasn1-2-dev libxml2-dev

==============
The following NEW packages will be installed:
  libgnomeprint2.2-doc libgnomeprintui2.2-dev libgnomeprintui2.2-doc

===============
The following NEW packages will be installed:
  gtkhtml libcapplet1 libgail-dev libgal2.0-dev libgtkhtml-data libgtkhtml3.2-dev

================
After that it finally passed it's checks.

Options detected/selected
  -------------------------
  gnucash version ...... : 1.9.0
  Build for host ....... : i686-pc-linux-gnu
  Extra Warnings ....... :  -Werror
  CPPFLAGS ............. : 
  CFLAGS ............... : -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror
  LDFLAGS .............. : 
  Native libgsf..........: no
  Native goffice.........: no
  QOF support ...........: internal
  QOF location ..........: internal
  QOF library dir .......: ${libdir}
  QOF backend config ....: ${datadir}/xml/qsf


===========================
make
===========================
make install
===========================
[backup data]
===========================
 /opt/gnucash-1.9.0/bin/gnucash &
===========================
Cannot find default values
"..."
I can't cut & paste it from the dialog window.  To me that's an Error.
===========================
### Tried to open my file and it crashed:
[...]
<unnamed port>: not-a-record #<freed cell 0x8428f50; GC missed a reference>

===========================
### Now I'm going to get the subversion version of the code.  Because that version had a bug
### that warlord thinks has been already been fixed.
Beth Hi warlord 
Beth I'm going to try to use the new thing to see if it fixes the bug I filed.
Beth What is the correct procedure to get the right source code for that.
Beth (I'm assuming that I need to get a later version of the source than I got the other day.)
warlord hiy
warlord did you download the tarball or download from SVN?
Beth Originally the tarball.
warlord Ahh.
warlord Well, you'd need to "download" from svn...
Beth I can try a download from SVN.
warlord install subversion, then:
Beth Jon says, "What's the URL"
warlord   svn co http://svn.gnucash.org/repo/gnucash/trunk gnucash-svn
Beth If I'm downloading into a gnucash1.9.x directory, what should I set x to?
warlord umm....  well, 'technically' it's still '0', but you might want to make it '0svn'
warlord your chouce
Beth Ok.  So for (if it works) saying, "It appears to be fixed in version XXX" What would I say for XXX in the bugzilla report?  And where would I find that info for the general case?
warlord "svnversion ."
Beth So I don't need a build number or anything?  Also, why does bugzilla allow me to file bugs in other versions (1.9.1, 1.9.2, 1.9.3, etc)?
Beth (And I'm downloading now)

Beth Ah ok.  Thinking for the future :-)
warlord Yep.
warlord so... it's downloading okay?
Beth Yes, downloading ok.
Beth Or at least I assume lines like: A  gnucash-svn/po/README
warlord just.... making sure
Beth mean that it's downloading ok.
warlord yep
Beth Ok, there is no ./configure in the svn thing.
Beth thing = downloaded directory
Beth When I get overtired, the nouns go.
warlord ./autogens.h
warlord er autogen.sh
Beth it asks for intltool and libtoolize
warlord oh. you dont have those?
warlord umm..
Beth So I'm assuming I should get those from debian?
warlord yea.
Beth I'm taking notes.
warlord libtoolize is in 'libtool' or 'libtool-dev' or...
warlord intltoolize is in intltool or intltool-dev or...
warlord *at least according to my FC system -- i dont know what debian calls them)
Beth libtool is java?
warlord shouldn't be
Beth The package recommends the GNU Java compiler
Beth gcj
warlord it does?   weird.
warlord I'm pretty sure it's not required.
Beth It's optional.
warlord gnucash certainly doesn't need it.
=====================
The following NEW packages will be installed:
  intltool libtool libtool-doc
===================
./autogen.sh
./configure --enable-error-on-warning --enable-compile-warnings --prefix=/opt/gnucash-1.9.svn
configure: error: cannot find install-sh or install.sh in . ./.. ./../..

======================
The following NEW packages will be installed:
  automake1.9
======================

./autogen.sh
./configure --enable-error-on-warning --enable-compile-warnings --prefix=/opt/gnucash-1.9.svn

=====================
###   3/18/06 - trying much newer version of svn
cd ~/src/outside/gnucash/gnucash-1.9.1/gnucash-svn/
svn update
./configure --enable-error-on-warning --enable-compile-warnings --prefix=/opt/gnucash-1.9.svn
make 
rm .links
./configure --enable-error-on-warning --enable-compile-warnings --prefix=/opt/gnucash-1.9.svn
make 
svn update
make distclean
./configure --enable-error-on-warning --enable-compile-warnings --prefix=/opt/gnucash-1.9.svn
make 

### still not working
# ../.libs/libgncmod-engine.so: undefined reference to `safe_utf8_collate' 
# collect2: ld returned 1 exit status



-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                             Beth Leonard                          +
+       O say, does that star-spangled banner yet wave              +
+       O'er the land of the free and the home of the brave?        +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the gnucash-devel mailing list