Still trying to compile 2.0 on Ubuntu Edgy

Derek Atkins warlord at MIT.EDU
Sun Dec 17 10:34:09 EST 2006


Quoting Robert Ramsdell <rcriii at ramsdells.net>:

> I have been trying to compile 2.0.3 on Ubuntu Edgy, with no avail.  I
> had compiled 2.0.2 successfully on Dapper drake before I upgraded.  The
> last thing I tried was deleting the entire source tree and downloading
> it from scratch (rev 15022):
>
> svn checkout http://svn.gnucash.org/repo/gnucash/trunk 2.0

This isn't 2.0, this is trunk, which will be 2.1.  For 2.0 you
want /repo/gnucash/branches/2.0

> cd 2.0
> ./autogen.sh
> ./configure
> make
>
> autogen and configure complete without errors, but make ends with the
> error below.  Is there something I should look more closely at in the
> autogen or config output?  Should I uninstall my present gnucash before
> continuing?
>
> Robert
>
> gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I../../../../src/test-core -I.. -Werror -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused
> -o .libs/test-link-module
> test-link-module.o  ../../../../src/engine/.libs/libgncmod-engine.so 
> ../../../../src/app-utils/.libs/libgncmod-app-utils.so 
> ../.libs/libgncmod-register-core.so /usr/lib/libpopt.so -lm 
> -Wl,--rpath -Wl,/usr/local/lib/gnucash
> /usr/local/lib/gnucash/libgncmod-gnome-utils.so.0: undefined reference
> to `gnc_extract_directory'
> /usr/local/lib/gnucash/libgw-engine.so.0: undefined reference to
> `xaccQueryAddGUIDMatchGL'
> /usr/local/lib/gnucash/libgncmod-gnome-utils.so.0: undefined reference
> to `gnc_init_default_directory'
> collect2: ld returned 1 exit status
> make[5]: *** [test-link-module] Error 1
> make[5]: Leaving directory
> `/media/hda6/rcriii/downloads/gnucash/2.0/src/register/register-core/test'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/media/hda6/rcriii/downloads/gnucash/2.0/src/register/register-core'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/media/hda6/rcriii/downloads/gnucash/2.0/src/register'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/media/hda6/rcriii/downloads/gnucash/2.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/media/hda6/rcriii/downloads/gnucash/2.0'
> make: *** [all] Error 2

This is probably a result of the Debian/Ubuntu broken libtool where
it doesn't pull in implicit dependencies.

Another possibility is that you have a different version installed and
it's finding the wrong version of libraries.  For example, why does
your error message mention /usr/local/lib/gnucash/libgncmod-gnome-utils.so.0
during the build stage?  What version of the library IS this?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list