From: Andrey Brindeew <linux@abr.x9.ru> To: Sisyphus Mailing List <sisyphus@altlinux.ru> Subject: [sisyphus] unixODBC - MySQL driver Date: Sun, 10 Mar 2002 03:31:54 +0300 Message-ID: <20020310003212.0ED59294D1@abr.tool.ru> (raw) [-- 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 --]
next reply other threads:[~2002-03-10 0:31 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-03-10 0:31 Andrey Brindeew [this message] 2002-03-10 1:44 ` Aleksey Novodvorsky
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020310003212.0ED59294D1@abr.tool.ru \ --to=linux@abr.x9.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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