Subject: qt3-mysql?
To: None <tech-pkg@NetBSD.ORG>
From: MLH <MLH@goathill.org>
List: tech-pkg
Date: 11/05/2002 22:38:16
I used the qt3-psql package and tried to make a qt3-mysql package. Made
the minimal changes including the path change for
work/qt-x11-free-3.0.6/src/sql/drivers/mysql/qsql_mysql.h
(#include <mysql/mysql.h>)
it gets to the point of building libqsqlmysql.so and fails. Is
../../databases/mysql-client/buildlink2.mk correct here?
-------------
c++ -c -O2 -I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/include
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink-x11/include
-DQT_INSTALL_PLUGINS=\"/usr/pkg/qt3/plugins\" -DQ_TRAILING_DIR_SEP
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/qt3/include -Wall -W -O2
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink-x11/include/freetype2
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/include
-I/usr/pkgsrc/x11/qt3-mysql/work/qt-x11-free-3.0.6/include
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/include
-I/usr/pkgsrc/x11/qt3-mysql/work/.buildlink-x11/include
-I.moc/release-shared-mt/
-I/usr/pkgsrc/x11/qt3-mysql/work/qt-x11-free-3.0.6/mkspecs/netbsd-g++
../../../../src/sql/drivers/mysql/qsql_mysql.cpp -o .obj/qsql_mysql.o >/dev/null
2>&1
test -d ../../../sqldrivers/ || mkdir -p ../../../sqldrivers/
libqsqlmysql.so
gmake: libqsqlmysql.so: Command not found
gmake: [../../../sqldrivers/libqsqlmysql.so] Error 127 (ignored)
libtool --mode=link c++ -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/X11R6/lib
-L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-L/usr/pkgsrc/x11/qt3-mysql/work/qt-x11-free-3.0.6/lib -o
../../../sqldrivers/libqsqlmysql.la -module -avoid-version .obj/main.lo
.obj/qsql_mysql.lo -L/usr/pkg/qt3/lib -L/usr/pkg/lib
-L/usr/pkgsrc/x11/qt3-mysql/work/qt-x11-free-3.0.6/lib -L/usr/pkg/lib
-L/usr/X11R6/lib -lmysqlclient -lqt-mt -lmng -ljpeg -lpng -lz -lpthread -lGLU
-lGL -lXmu -lICE -lSM -lXext -lX11 -lm -lXrender -lXft -lfreetype -rpath
/usr/pkg/qt3/plugins/sqldrivers/
mkdir ../../../sqldrivers/.libs
libtool: link: warning:
`/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/lib/libpng.la' seems to be moved
libtool: link: warning:
`/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/lib/libpthread.la' seems to be moved
libtool: link: warning:
`/usr/pkgsrc/x11/qt3-mysql/work/.buildlink/lib/libjpeg.la' seems to be moved
*** Warning: This library needs some functionality provided by -lmysqlclient.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libqsqlmysql. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru ../../../sqldrivers/.libs/libqsqlmysql.a .obj/main.o .obj/qsql_mysql.o
ranlib ../../../sqldrivers/.libs/libqsqlmysql.a
creating ../../../sqldrivers/libqsqlmysql.la
(cd ../../../sqldrivers/.libs && rm -f libqsqlmysql.la && ln -s
../libqsqlmysql.la libqsqlmysql.la)
mv libqsqlmysql.so ../../../sqldrivers/
mv: rename libqsqlmysql.so to ../../../sqldrivers//libqsqlmysql.so: No such file
or directory
gmake: [../../../sqldrivers/libqsqlmysql.so] Error 1 (ignored)