From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Envelope-To: Date: Sun, 10 Mar 2002 03:31:54 +0300 From: Andrey Brindeew To: Sisyphus Mailing List X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i686-alt-linux) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=._TO2h/oW3xNRA1" Message-Id: <20020310003212.0ED59294D1@abr.tool.ru> Subject: [sisyphus] unixODBC - MySQL driver Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: --=._TO2h/oW3xNRA1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Hi! Решил тут на досуге попробовать подобраться к MySQL-базе из OpenOffice и с удивлением обнаружил, что драйвер для MySQL просто не собирается! Это так задумано или бага? При попытке собрать самостоятельно ругается: $ ./configure --prefix=/usr --with-unixODBC=/usr --with-mysql-libs=/usr/lib --with-mysql-includes=/usr/include/mysql/ loading cache ./config.cache checking for a BSD compatible install... (cached) /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether ln -s works... (cached) yes checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B loading cache ./config.cache within ltconfig host: linux-gnu checking for object suffix... o checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... yes checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool loading cache ./config.cache checking for compress in -lz... (cached) yes checking for the mysql client libraries... /usr/lib checking for mysql_real_query in -lmysqlclient... (cached) yes checking for mysql include files in /usr/include/mysql/... yes checking for sql.h... (cached) yes checking for sqlext.h... (cached) yes checking for odbcinst.h... (cached) yes checking for SQLGetPrivateProfileString in -lodbcinst... (cached) yes checking for SQLHENV... (cached) yes checking for SQLHDBC... (cached) yes checking for SQLHSTMT... (cached) yes checking for SQLINTEGER... (cached) yes checking for SQLUINTEGER... (cached) yes checking for SQLSMALLINT... (cached) yes checking for SQLUSMALLINT... (cached) yes checking for SQLPOINTER... (cached) yes checking for SQLHWND... (cached) yes checking for SQLRETURN... (cached) yes checking for SQLCHAR... (cached) yes creating ./config.status creating Makefile creating samples/Makefile creating myconf.h myconf.h is unchanged (2) [03:00:08][abr@abr.tool.ru : /usr/src/RPM/BUILD/unixODBC-2.2.0/Drivers/MySQL] $ make /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql/ -I/usr/include -g -O2 -c catalog.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql/ -I/usr/include -g -O2 -Wp,-MD,.deps/catalog.pp -c -fPIC -DPIC catalog.c -o catalog.lo In file included from /usr/include/mysql/my_sys.h:605, from myodbc3.h:54, from catalog.c:46: /usr/include/mysql/raid.h:41:20: my_dir.h: No such file or directory make: *** [catalog.lo] Error 1 find /usr/include -name my_dir.h ничего не находит. Все RPM'ы, получающиеся при пересборке unixODBC*.src.rpm & MySQL*.src.rpm, установлены. $ rpm -q unixODBC MySQL-server unixODBC-2.2.0-alt2 MySQL-server-3.23.49-alt2 -- WBR, Andrey Brindeew. "No one person can understand Perl culture completely" (C) Larry Wall. --=._TO2h/oW3xNRA1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8iqmL3gaCZ4hbZncRApn4AJ9f39Bh3KCJYrmAfT4TKXCEa4UTHACeKNMV sH8Bl5O2CQu1IDPaWIc4Cmw= =JqcF -----END PGP SIGNATURE----- --=._TO2h/oW3xNRA1--