Still trying to compile 2.0 on Ubuntu Edgy

Chris cxl000 at hotmail.com
Sun Dec 17 19:16:53 EST 2006


If you have libraries were you plan to install then Debians libtool will
try to link against them causing the problem you see. I usually install
to /opt/gnucash and my build script moves these aside to avoid this
problem.
Regards,
Chris
On Sun, 2006-12-17 at 10:34 -0500, Derek Atkins wrote:
> 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
> 



More information about the gnucash-user mailing list