ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] unixODBC - MySQL driver
@ 2002-03-10  0:31 Andrey Brindeew
  2002-03-10  1:44 ` Aleksey Novodvorsky
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Brindeew @ 2002-03-10  0:31 UTC (permalink / raw)
  To: Sisyphus Mailing List

[-- Attachment #1: Type: text/plain, Size: 4217 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] unixODBC - MySQL driver
  2002-03-10  0:31 [sisyphus] unixODBC - MySQL driver Andrey Brindeew
@ 2002-03-10  1:44 ` Aleksey Novodvorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksey Novodvorsky @ 2002-03-10  1:44 UTC (permalink / raw)
  To: sisyphus

Andrey Brindeew wrote:

>Hi!
>
>Решил тут на досуге попробовать подобраться к MySQL-базе из OpenOffice и с
>удивлением обнаружил, что драйвер для MySQL просто не собирается!
>
>Это так задумано или бага?
>
>При попытке собрать самостоятельно ругается:
>
>
>(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, установлены.
>
Это бага сборки. Файл my_dir.h есть в тарболе, но не попал в пакет 
devel.  Запишите в BTS.
Rgrds, AEN





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-10  1:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-10  0:31 [sisyphus] unixODBC - MySQL driver Andrey Brindeew
2002-03-10  1:44 ` Aleksey Novodvorsky

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git