On Mon, 2018-07-09 at 07:14 -0400, Rob Landry wrote: > Yes; here's what you need to enter: > > sudo bash > cd /usr/include > ln -s mysql/mysql.h . > ln -s mysql/mysql_version.h . > ln -s mysql/mysql_com.h . > ln -s mysql/mysql_time.h . > ln -s mysql/my_list.h . > ln -s mysql/typelib.h . > ln -s mysql/my_alloc.h . > > > Rob
Thanks Rob, did that but still doesn't work. Heres what I get when compiling the driver. It installs on make and tries to install twice if using make install. make install g++ -c -pipe /usr/include/ -Wall -W -O2 -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -I/usr/local/qt3/mkspecs/linux-g++ -I. -I/usr/include/mysql -I../../../../include -I.moc/release-shared/ -o .obj/main.o main.cpp In file included from ../../../../include/qsqldriverplugin.h:45:0, from main.cpp:41: ../../../../include/qgplugin.h:85:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [- Wliteral-suffix] "version="QT_VERSION_STR"\n" \ ^ ../../../../include/qgplugin.h:86:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [- Wliteral-suffix] "flags="Q_PLUGIN_FLAGS_STRING"\n" \ ^ ../../../../include/qgplugin.h:87:6: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [- Wliteral-suffix] "buildkey="QT_BUILD_KEY"\0"; ^ g++: warning: /usr/include/: linker input file unused because linking not done g++ -c -pipe /usr/include/ -Wall -W -O2 -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -I/usr/local/qt3/mkspecs/linux-g++ -I. -I/usr/include/mysql -I../../../../include -I.moc/release-shared/ -o .obj/qsql_mysql.o ../../../../src/sql/drivers/mysql/qsql_mysql.cpp g++: warning: /usr/include/: linker input file unused because linking not done test -d ../../../sqldrivers/ || mkdir -p ../../../sqldrivers/ rm -f libqsqlmysql.so g++ -Wl,-rpath,/usr/local/qt3/lib -shared -Wl,- rpath,/usr/local/qt3/plugins/sqldrivers -o libqsqlmysql.so .obj/main.o .obj/qsql_mysql.o -L/usr/local/qt3/lib -L/usr/X11R6/lib -lmysqlclient -lqt -lXext -lX11 -lm -lSM -lICE -ldl mv -f libqsqlmysql.so ../../../sqldrivers/ cp -f "../../../sqldrivers/libqsqlmysql.so" "../../../sqldrivers/libqsqlmysql.so" cp: '../../../sqldrivers/libqsqlmysql.so' and '../../../sqldrivers/libqsqlmysql.so' are the same file Makefile:154: recipe for target 'install_target' failed make: [install_target] Error 1 (ignored) strip --strip-unneeded "../../../sqldrivers/libqsqlmysql.so" _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
