Because /usr/local is "special" and is used by the compiler, so the build is finding your previous version instead of the current version.
-derek On Sat, November 9, 2013 4:06 pm, Robert Ratliff wrote: > I can see what you're saying about uninstalling the previous version > before installing a new version, but why does it make a difference what > directory I use during configure? > > > On 11/9/2013 2:26 PM, Derek Atkins wrote: >> Hi, >> >> This error is because you're using /usr/local and you have a previously >> self-compiled version installed. Don't do that. Uninstall the old >> version (make uninstall) and then you can recompile the new version. We >> also recommend you use a --prefix like /opt/gnucash during configure so >> this wont happen. >> >> -derek >> >> On Sat, November 9, 2013 3:05 pm, Robert Ratliff wrote: >>> I'm getting the following error when trying to compile the current >>> version of gnucash. I think this is related to the switch from gconf to >>> gsettings, but I'm not sure how to proceed. The tail of the error in >>> the >>> `make` command is copied below: >>> >>> >>> libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall >>> -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o >>> .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic >>> ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so >>> ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so >>> ../../src/gnome/.libs/libgnc-gnome.so >>> ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so >>> ../../src/app-utils/.libs/libgncmod-app-utils.so >>> ../../src/engine/.libs/libgncmod-engine.so >>> ../../src/gnc-module/.libs/libgnc-module.so >>> ../../src/core-utils/.libs/libgnc-core-utils.so >>> ../../src/libqof/qof/.libs/libgnc-qof.so -lguile -lgmp -lcrypt >>> /usr/lib/i386-linux-gnu/libltdl.so -lgthread-2.0 -lgmodule-2.0 -lrt >>> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 >>> -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libcairo.so >>> -lpango-1.0 /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig >>> -lgobject-2.0 -lglib-2.0 -lm -pthread -Wl,-rpath >>> -Wl,/usr/local/lib/gnucash >>> /usr/local/lib/gnucash/libgncmod-register-gnome.so: undefined reference >>> to `gnc_gconf_get_int' >>> /usr/local/lib/gnucash/libgncmod-register-gnome.so: undefined reference >>> to `gnc_gconf_set_int' >>> /usr/local/lib/gnucash/libgncmod-gnome-search.so: undefined reference >>> to >>> `gnc_gconf_set_bool' >>> ../../src/gnome/.libs/libgnc-gnome.so: undefined reference to >>> `gnucash_register_refresh_from_prefs' >>> /usr/local/lib/gnucash/libgncmod-register-gnome.so: undefined reference >>> to `gnc_gconf_general_register_cb' >>> /usr/local/lib/gnucash/libgncmod-gnome-search.so: undefined reference >>> to >>> `gnc_gconf_get_float' >>> /usr/local/lib/gnucash/libgncmod-register-gnome.so: undefined reference >>> to `gnc_gconf_get_bool' >>> collect2: error: ld returned 1 exit status >>> make[4]: *** [gnucash] Error 1 >>> make[4]: Leaving directory `/home/bobby/pkg/gnucash/src/bin' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory `/home/bobby/pkg/gnucash/src/bin' >>> make[2]: *** [all-recursive] Error 1 >>> make[2]: Leaving directory `/home/bobby/pkg/gnucash/src' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/home/bobby/pkg/gnucash' >>> make: *** [all] Error 2 >>> >>> -- >>> Robert Ratliff >>> blog: http://bobbyratliff.nfshost.com/ >>> github: rratliff >>> _______________________________________________ >>> gnucash-devel mailing list >>> [email protected] >>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel >>> >> >> > > -- > Robert Ratliff > blog: http://bobbyratliff.nfshost.com/ > github: rratliff > -- Derek Atkins 617-623-3745 [email protected] www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
