[Qgis-developer] Re: [Qgis-developemr] QGIS 0.11.0 crashes when clicking on the projection-selector

Otto Dassau otto.dassau at gmx.de
Sun Aug 31 03:01:38 EDT 2008


Hi, 

On Sun, 31 Aug 2008 00:21:19 +0200
"Tim Sutton" <tim at linfiniti.com> wrote:

> Hi
> 
> You may need to clean or completely recreate your build dir. Also, can
> you run make like this:
> 
> make VERBOSE=1
> 
> And verify that your sqlite include path is correct for the INTERNAL sqlite?

Jürgen already send me a patch and it fixed the problems decribed in this mail.
Now a new error occured, I sent it to Jürgen, too. When it is fixed I write to
the list. 

regards,
 Otto

> Thanks
> 
> Tim
> 
> 2008/8/30 Otto Dassau <otto.dassau at gmx.de>:
> > Hi,
> >
> > I tried to use WITH_INTERNAL_SQLITE3=TRUE in my cmake configuration as
listed
> > below;
> >
> > cmake -Wno-dev \
> >      -D CMAKE_INSTALL_PREFIX=%{_prefix} \
> >      -D GRASS_PREFIX=/opt/grass\
> >      -D QGIS_LIB_SUBDIR=%{lib} \
> >      -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
> >      -D QGIS_MANUAL_SUBDIR=share/man \
> >      -D WITH_INTERNAL_SQLITE3=TRUE .
> >
> > and get error messages during compilation of QGIS 0.11.0:
> >
> > [ 41%] Building CXX object src/app/CMakeFiles/qgis.dir/qgsbookmarkitem.o
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:20:21:
error:
> > sqlite3.h: No such file or directory
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp: In member
> > function 'void QgsBookmarkItem::store()':
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:42: error:
> > 'sqlite3' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:42: error:
'db'
> > was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:47: error:
> > 'sqlite3_open' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:50: error:
> > 'sqlite3_errmsg' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:58: error:
> > 'sqlite3_stmt' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:58: error:
> > 'ppStmt' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:76: error:
> > 'sqlite3_prepare' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:78: error:
> > 'SQLITE_OK' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:81: error:
> > 'sqlite3_step' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:81: error:
> > 'SQLITE_DONE' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:85: error:
> > 'sqlite3_errmsg' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:88: error:
> > 'sqlite3_finalize' was not declared in this scope
> > /usr/src/packages/BUILD/qgis-0.11.0/src/app/qgsbookmarkitem.cpp:90: error:
> > 'sqlite3_close' was not declared in this scope make[2]: ***
> > [src/app/CMakeFiles/qgis.dir/qgsbookmarkitem.o] Error 1 make[1]: ***
> > [src/app/CMakeFiles/qgis.dir/all] Error 2 make: *** [all] Error 2
> >
> > maybe someone can help and tell if I used the cmake option
> > in a wrong way or if it is a bug in QGIS?
> >
> > thanks a lot
> >  Otto
> >
> > On Fri, 29 Aug 2008 16:26:02 +0200
> > Otto Dassau <otto.dassau at gmx.de> wrote:
> >
> >> On Fri, 29 Aug 2008 16:24:11 +0200
> >> Stephan Holl <stephan.holl at intevation.de> wrote:
> >>
> >> > Hello Jürgen,
> >> >
> >> > Jürgen E. Fischer <jef at norbit.de>, [20080829-16:14:03]:
> >> >
> >> > > Hm, dunno.  I'm running 3.5.9 on Debian and 3.5.1 on cygwin.
> >> > > And qgis includes a sqlite3 3.5.6 in src/core that can be enabled by
> >> > > setting WITH_INTERNAL_SQLITE3.
> >> >
> >> > Excellent news! So configuring with
> >> > -D WITH_INTERNAL_SQLITE3
> >> > should solve my problems for now...
> >> >
> >> > I will try.
> >> >
> >> > TIA
> >> >
> >> >     Stephan
> >> >
> >> > @Otto, are you willing to change that at least for SLE_10 in the
> >> > spec_file?
> >>
> >> of, course :-), thanks for your investigations
> >>
> >>  Otto
> >> _______________________________________________
> >> Qgis-developer mailing list
> >> Qgis-developer at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> 
> 
> 


More information about the Qgis-developer mailing list