[Qt-interest] [Solved] Problem building SQLITE database drivers
William Lugg
wlugg at prairienetworks.com
Thu Jul 30 04:23:10 CEST 2009
Well it took me a while to test it out, but this solved the problem. Thanks
for the help - everything seems to work now.
----
Bill Lugg
Milstar Software Support
Peterson AFB, CO
No Micro$oft products were used to create this email.
God rules and if he needed a computer it would run Linux!
On Sunday 26 July 2009 03:12:42 pm Diego Schulz wrote:
> On Sat, Jul 25, 2009 at 8:55 PM, William Lugg<wlugg at prairienetworks.com>
wrote:
> > Just for grins, I tried uninstalling the sqlite3-3.6.10-1ubuntu0.2
> > package via apt-get and instead downloaded the 3.6.16 binary from the
> > SQLite web site. I then attempted the ./configure command as follows:
> >
> > ./configure -opensource -plugin-sql-sqlite - L/usr/local/sqlite3
> >
> > Unfortunately, this yielded the same result. Can anyone tell me what
> > "Basic XLib functionality test failed!" means and what I might do to fix
> > this problem? At this point, I'm pretty much dead in the water.
> >
> > Thanks.
> >
> > On Friday 24 July 2009 06:47:12 pm William Lugg wrote:
> >> I am attempting to build the SQLITE database driver plugin under QT 4.5
> >> on a Kubuntu 9.04 machine with the packages
> >> libsqlite3-0-3.6.10-1ubuntu0.2 and
> >> sqlite3-3.6.10-1ubuntu0.2 installed through apt-get.
> >>
> >> Qt was installed via the 4.5 (2009.03) SDK that include Qt Creator and
> >> all the 4.5 files.
> >>
> >> I first tried using the ./configure approach described at
> >>
> >> http://doc.trolltech.com/4.5/sql-driver.html#qsqlite-for-sqlite-version-
> >>3-a nd- above, using the command "./configure -opensource
> >> -plugin-sql-sqlite - L/usr/lib", but that yielded the error:
> >>
> >> Basic XLib functionality test failed!
> >> You might need to modify the include and library search paths by editing
> >> QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> >> /usr/local/qtsdk-2009.03/qt/mkspecs/linux-g++.
> >>
> >> I assume this means that it couldn't find the lib file that it needs to
> >> link to, but I couldn't figure out how to tell it that the file I
> >> believe it needs is in the /usr/lib folder.
> >>
> >> So, I tried the manual approach described in the aforementioned web
> >> site, but I got the error:
> >>
> >> QMAKESPEC has not been set, so configuration cannot be deduced.
> >> Error processing project file:
> >> /usr/local/qtsdk-2009.03/qt/src/plugins/sqldrivers/sqlite/sqlite.pro
> >>
> >> FWIW, the SQLITE environment variable mentioned in the sample code is
> >> empty, and since the apt-get handles package installation, I'm not
> >> really sure what I should set it to, If anything.
> >>
> >> Obviously, this got me nowhere too. I know this should be a simple task
> >> and I'm probably missing the obvious, but could somebody help me see
> >> what it is?
> >>
> >> Thanks in advance for any help you might be able to offer.
>
> Hi,
>
> Your system is missing some build dependencies.
> Run the following command in order to install the required build
> dependencies:
>
> sudo apt-get build-dep qt4-dev-tools
>
> AFAIK there's no need to specify the -L/usr/whathever
> I'd recommend to reinstall sqlite3 from the packages, and then try again
> with: ./configure -opensource -plugin-sql-sqlite
>
> regards,
>
> diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090729/1675619d/attachment.html
More information about the Qt-interest-old
mailing list