[Qt-interest] Problems compiling the QOCI plugin
Robert Hairgrove
evorgriahr at hispeed.ch
Mon Apr 19 11:35:25 CEST 2010
I was able to build Qt 4.6.0 from source successfully. But for some
reason, I am having trouble compiling the Oracle plugin. During the
build process, Qt was able to build the MySQL and ODBC plugins
successfully. Now I would like to build the OCI plugin "after the fact",
so to speak. I have also installed the Oracle 10g XE client on my Ubuntu
Linux 8.04 system. Here is the output I get:
(Command:)
bob at bobubuntu:~/Qt/4.6.0/src/plugins/sqldrivers/oci$
QMAKESPEC=/home/bob/Qt/4.6.0/mkspecs/linux-g++
bob at bobubuntu:~/echo $QMAKESPEC
/home/bob/Qt/4.6.0/mkspecs/linux-g++
bob at bobubuntu:~/Qt/4.6.0/src/plugins/sqldrivers/oci$ qmake
"INCLUDEPATH+=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public"
"LIBS+=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib
-Wl,-rpath, /usr/lib/oracle/10.1.0.3/client/lib -lclntsh -lnnz10" oci.pro
(Output:)
/home/bob/Qt/4.6.0/.qmake.cache:2: Unknown replace function: quote
/home/bob/Qt/4.6.0/.qmake.cache:3: Unknown replace function: quote
Failure to read QMAKESPEC conf file /mkspecs/linux-g++/qmake.conf.
Error processing project file:
/home/bob/Qt/4.6.0/src/plugins/sqldrivers/oci/oci.pro
Why would it fail to read the qmake.conf file even if I set it
explicitly, and it exists and has the necessary permissions? I get the
same result with or without the RPATH syntax given in the Qt build
instructions.
More information about the Qt-interest-old
mailing list