[GRASS5] [bug #3654] (grass) sqlite driver doesn't built in Mac OS X

Radim Blazek radim.blazek at gmail.com
Mon Sep 19 12:21:49 EDT 2005


SQLITELIBPATH was missing in Makefile, try to update.
Is the SQLITELIBPATH defined in Platform.make?

Radim

On 9/19/05, Request Tracker <grass-bugs at intevation.de> wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3654
> -------------------------------------------------------------------------
> 
> Subject: sqlite driver doesn't built in Mac OS X
> 
> Platform: Mac OSX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: grass_61_cvs_050917
> 
> sqlite driver is a great add-on for Grass. I have not problem in configure: GRASS see my sqlite 3
> installation. I have a problem when Grass build the driver. It doesn't see -lsqlite3. It's strange
> 
> This is the result from make:
> ....
> select.c: In function `db__driver_open_select_cursor':
> select.c:44: warning: passing arg 5 of `sqlite3_prepare' from incompatible pointer type
> select.c:54: warning: passing arg 1 of `append_error' discards qualifiers from pointer target type
> gcc -L/usr/X11R6/lib -L/usr/local/grasslib/lib -L/src/grass-6.1.cvs_src_snapshot_2005_09_17/
> dist.powerpc-apple-darwin7.9.0/lib  -L/usr/local/pgsql/lib  -o /src/
> grass-6.1.cvs_src_snapshot_2005_09_17/dist.powerpc-apple-darwin7.9.0/driver/db/sqlite
> OBJ.powerpc-apple-darwin7.9.0/create_table.o OBJ.powerpc-apple-darwin7.9.0/cursor.o
> OBJ.powerpc-apple-darwin7.9.0/db.o OBJ.powerpc-apple-darwin7.9.0/describe.o OBJ.powerpc-
> apple-darwin7.9.0/driver.o OBJ.powerpc-apple-darwin7.9.0/error.o OBJ.powerpc-apple-
> darwin7.9.0/execute.o OBJ.powerpc-apple-darwin7.9.0/fetch.o OBJ.powerpc-apple-darwin7.9.0/
> index.o OBJ.powerpc-apple-darwin7.9.0/listtab.o OBJ.powerpc-apple-darwin7.9.0/main.o
> OBJ.powerpc-apple-darwin7.9.0/select.o -lgrass_dbmidriver -lgrass_dbmibase  -lgrass_dbstubs -
> lgrass_gis -lgrass_datetime -lz   -lintl -lgrass_datetime -lsqlite3  \
>          -lz
> ld: can't locate file for: -lsqlite3
> make: *** [****] Error 1
> 
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
>




More information about the grass-dev mailing list