Re: Garnome 2.20.0 - gnumeric fails



On Sun, 2007-09-23 at 07:45 +0200, Bastian Schaar wrote:

> when I try to compile gnumeric on Debian Etch, I get the following build
> error:

Sorry for getting back this late...


> Making all in virtual
> make[5]: Entering directory
> `/home/garnome/garnome-2.20.0/office/libgda/work/main.d/libgda-3.1.1/providers/sqlite/virtual'

> cc -I/opt/garnome-2.20.0/include -O2 -pipe -Wl,--export-dynamic
> -o .libs/virtual-test virtual-test.o
> -L/opt/garnome-2.20.0/lib ../../../libgda/.libs/libgda-3.0.so ../../../providers/sqlite/virtual/.libs/libgda-virtual-3.0.so -Wl,--rpath -Wl,/opt/garnome-2.20.0/lib
> /home/garnome/garnome-2.20.0/office/libgda/work/main.d/libgda-3.1.1/providers/sqlite/.libs/libgda-sqlite.so: undefined reference to `sqlite3_prepare_v2'
> collect2: ld returned 1 exit status

What does 'make configure' in office/libgda return?

You will have to 'cd office/libgda' and run 'make clean' for this
directory *only* before. Check the output regarding SQLite. For me, this
returns during configure:

 checking for SQLITE... yes
 checking for sqlite3_table_column_metadata in -lsqlite3... no
 Installed SQLite was not compiled with the SQLITE_ENABLE_COLUMN_METADATA, using embedded SQLite

And at the end a summary including this:

 Configuration summary
   Compiled providers:
      SQLite = yes (embedded)


libgda ships with it's own version of SQLite. In my case the internal
version is being built even though I do have it installed system wide
already, because the latter lacks some feature.

My guess is, that you too have SQLite (and its accompanying devel
package) installed system wide, and configure is happy with that. The
build, however, does not like it as much...

If this is true, this is a bug in libgda configure failing to correctly
identify whether the existing SQLite is suitable for libgda.

  guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]