[Qt-interest] Problem building SQLITE database drivers
Diego Schulz
dschulz at gmail.com
Sun Jul 26 23:22:13 CEST 2009
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.
> ----
> 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 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.
Out of curiosity.. is there a good reason for not using the
precompiled packages from Ubuntu's repository?
Just install the libqt4* and qt4* packages from synaptic package
manager (or aptitude, or apt-get, or whatever you prefer).
More information about the Qt-interest-old
mailing list