I have an application that makes use of the mysql support in qt. I was following the instructions for qt-3.3.8 but added -qt-sql-mysql to configure.
The make failed. Upon looking at the error message, it seems that ./src/sql/drivers/mysql/qsql_mysql.h could not find mysql.h. My system has installed mysql.h as /usr/include/mysql/mysql.h. My version of mysql is a bit dated as it is 5.0.21 and the current version is at 5.0.37. Modifying qsql_mysql.h to read: #include <mysql/mysql.h> allowed the make to complete, but I haven't tested it yet. Has anyone else seen this? Should we create a sed to apply this to the qt section of the book? sed -i -e 's:mysql.h:mysql/&:' src/sql/drivers/mysql/qsql_mysql.h -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
