Results 1 to 20 of 21

Thread: Mysql drivers install problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Mysql drivers install problems

    Quote Originally Posted by cyberboy View Post
    I read the instructions from the Trolltech site
    http://doc.trolltech.com/4.3/install-mac.html
    If you were following these instructions, then the Qt sources should be in /tmp/qt-mac-.../ directory. Could you check if they're still there?

  2. #2
    Join Date
    Jan 2008
    Posts
    58
    Qt products
    Qt4
    Platforms
    MacOS X
    Thanks
    3

    Default Re: Mysql drivers install problems

    I downloaded a new file qt-4.3.2 from the Trolltech site. I copied the source directory from the download into my current installation.

    The next thing I did was installing the x86 version from mysql.com. (mysql 5.0.51a)

    And I did what the Trolltech QMYSQL guide said.

    But after I ran the command : sudo make I get this
    sudo make
    Password:
    make -f Makefile.Debug
    c++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../lib/QtCore.framework/Versions/4/Headers -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../lib/QtSql.framework/Versions/4/Headers -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../include -I/usr/include/mysql -Idebug -I. -F/usr/local/Trolltech/Qt-4.3.2/lib -o debug/main.o main.cpp
    In file included from main.cpp:41:
    ../../../sql/drivers/mysql/qsql_mysql.h:49:19: error: mysql.h: No such file or directory
    ../../../sql/drivers/mysql/qsql_mysql.h:100: error: expected `)' before '*' token
    make[1]: *** [debug/main.o] Error 1
    make: *** [debug] Error 2
    But if I run the command nano ../../../sql/drivers/mysql/qsql_mysql.h from the same location as make. I'm in the qsql_mysql.h file.
    So it does exist!?

    I'm a little bit confused right now, the make files says that the directory doesn't exist but the nano command says it does.

    What do I have to do know?
    Last edited by cyberboy; 1st February 2008 at 17:53. Reason: add information

Similar Threads

  1. QMake make install problems
    By cookiem in forum Qt Programming
    Replies: 12
    Last Post: 4th December 2008, 15:34
  2. Mac OS X install problems
    By rickbsgu in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2006, 06:31
  3. Issues regarding QMySql drivers and mysql database
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2006, 17:50
  4. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.