LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2006, 02:41 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question qt4: what package do I need to build with mysql support?


What package do I have to install on a ubuntu box so that I can build QT4 with mysql support?

I thought of installing mysql-devel but I wonder if it's the whole server source and not just the client.

Code:
$ ./configure -qt-sql-mysql -v

This is the Qt/X11 OpenSource Edition.

Determining system architecture... (Linux:2.6.12-10-686-smp:i686)
    32-bit Intel 80x86 (i386)
    'i386' is supported
System architecture: 'i386'
-fvisibility support enabled.
sse support enabled.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
make: No se hace nada para `first'.
zlib auto-detection... ()
make: No se hace nada para `first'.
zlib enabled.
libjpeg auto-detection... ()
make: No se hace nada para `first'.
libjpeg enabled.
libmng auto-detection... ()
make: No se hace nada para `first'.
libmng enabled.
libpng auto-detection... ()
make: No se hace nada para `first'.
libpng enabled.
InterBase auto-detection... ()
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o ibase.o ibase.cpp
ibase.cpp:1:19: error: ibase.h: No existe el fichero o el directorio
make: *** [ibase.o] Error 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:1:19: error: mysql.h: No existe el fichero o el directorio
make: *** [mysql.o] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o mysql.cpp
mysql.cpp:1:19: error: mysql.h: No existe el fichero o el directorio
make: *** [mysql.o] Error 1
MySQL (thread-unsafe) disabled.
MySQL support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
antoranz@aitdes-03:~/instaladores/qt/qt-x11-opensource-src-4.1.0$ dpkg -l MySQL'*'
No se ha encontrado ningún paquete que corresponda con MySQL*.
 
Old 01-20-2006, 02:45 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Original Poster
Rep: Reputation: 90
is it libmysqlclient14-dev?

Code:
$ apt-file search mysql.h
autoconf-archive: usr/share/doc/autoconf-archive/htmldoc/ac_prog_mysql.html
backupninja: usr/share/backupninja/mysql.helper
bugzilla-doc: usr/share/doc/bugzilla-doc/html/security-mysql.html
cl-sql: usr/share/doc/cl-sql/html/mysql.html
courier-authmysql: usr/share/courier/webadmin/admin-15mysql.html
courier-authmysql: usr/share/doc/courier-authmysql/README.authmysql.html
courier-authpostgresql: usr/share/doc/courier-authpostgresql/README.authmysql.html
cvm-dev: usr/share/doc/cvm-dev/cvm-mysql.html
gnade-doc: usr/share/doc/gnade-doc/mysql.html
libdbi-ocaml-dev: usr/share/doc/libdbi-ocaml-dev/html/Dbi_mysql.html
libdbi-ocaml-dev: usr/share/doc/libdbi-ocaml-dev/html/type_Dbi_mysql.html
libgdal-doc: usr/share/doc/libgdal-doc/ogr/drv_mysql.html
libmysqlclient10-dev: usr/include/mysql/mysql.h
libmysqlclient12-dev: usr/include/mysql/mysql.h
libmysqlclient14-dev: usr/include/mysql/mysql.h
libqt4-dev: usr/include/qt4/Qt/qsql_mysql.h
libqt4-dev: usr/include/qt4/QtSql/qsql_mysql.h
otrs-doc-de: usr/share/doc/otrs-doc-de/html/problems-with-mysql.html
otrs-doc-en: usr/share/doc/otrs-doc-en/html/problems-with-mysql.html
php3-doc: usr/share/doc/php3-doc/html/ref.mysql.html
pike7.2-mysql: usr/lib/pike/7.2.580/lib/include/mysql.h
pike7.4-mysql: usr/lib/pike/7.4.117/lib/include/mysql.h
pike7.4-reference: usr/share/doc/pike7.4-doc/html/reference/ex/predef_3A_3A/Mysql/mysql.html
pike7.4-reference: usr/share/doc/pike7.4-doc/html/reference/ex/predef_3A_3A/Sql/mysql.html
pike7.6-mysql: usr/lib/pike/7.6.33/lib/7.4/include/mysql.h
pike7.6-reference: usr/share/doc/pike7.6-doc/html/reference/ex/predef_3A_3A/Mysql/mysql.html
pike7.6-reference: usr/share/doc/pike7.6-doc/html/reference/ex/predef_3A_3A/Sql/mysql.html
postfix-dev: usr/include/postfix/dict_mysql.h
qtstalker-doc: usr/share/doc/qtstalker-doc/html/mysql.html
roundup: usr/share/doc/roundup/doc/mysql.html
selflinux: usr/share/doc/selflinux/html/html/mysql.html
sqlrelay-doc: usr/share/doc/sqlrelay/html/dropin/mysql.html
sqlrelay-doc: usr/share/doc/sqlrelay/html/gettingstarted/mysql.html
webmin-virtual-server: usr/share/webmin/virtual-server/help/mysql.html
wzdftpd: usr/share/doc/wzdftpd/html/backend_mysql.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
package build error help thushara Linux - Newbie 2 03-31-2005 03:24 PM
package build error help thushara Linux - General 1 03-31-2005 08:49 AM
Build iso from package AwesomeMachine Linux - Software 1 01-28-2005 04:12 AM
Not able to install rpm-build package deepika Linux - Newbie 2 07-19-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration