2 messages in com.mysql.lists.bugsBUG-REPORT: mysql-3.23.23-beta compil...
FromSent OnAttachments
Thimble Smith05 Sep 2000 14:31 
White Russian Bear05 Sep 2000 20:43 
Subject:BUG-REPORT: mysql-3.23.23-beta compile time, codepage, parse errors in c sources
From:White Russian Bear (wr@wrb.cjb.net)
Date:09/05/2000 08:43:33 PM
List:com.mysql.lists.bugs

Good time of day (or night), Bugs!

Errormessage when compiling mysql-3.23.23-beta :

--------------------------------- checking character sets... configure: error: No number was found in
./sql/share/charsets/Index for the win1251 character set. This is a bug in the MySQL distribution. Please report this message to bu@lists.mysql.com

-----------------------------------

Next error also was appears when i change --with-charset=win1251 to
--with-charset=cp1251 and rerun compiling:

--------------------------------------------------- [root@bang myisam]# make gcc -DMAP_TO_USE_RAID -I./../include -I../include -O6
-DDBUG_OFF -c mi_open.c In file included from fulltext.h:21, from mi_open.c:19: myisamdef.h:200: parse error before `pthread_rwlock_t' myisamdef.h:200: warning: no semicolon at end of struct or
union myisamdef.h:202: warning: data definition has no type or
storage class myisamdef.h:216: parse error before `MYISAM_SHARE' myisamdef.h:216: warning: no semicolon at end of struct or
union myisamdef.h:232: `checksum' redeclared as different kind of
symbol ../include/my_sys.h:542: previous declaration of `checksum' myisamdef.h:267: parse error before `}' myisamdef.h:473: parse error before `*' mi_open.c:33: parse error before `*' mi_open.c: In function `test_if_reopen': mi_open.c:51: `share' undeclared (first use in this function) mi_open.c:51: (Each undeclared identifier is reported only once mi_open.c:51: for each function it appears in.) mi_open.c:51: dereferencing pointer to incomplete type mi_open.c: In function `mi_open': mi_open.c:75: storage size of `info' isn't known mi_open.c:76: `MYISAM_SHARE' undeclared (first use in this
function) mi_open.c:76: parse error before `share_buff' mi_open.c:86: `share_buff' undeclared (first use in this
function) mi_open.c:93: `share' undeclared (first use in this function) mi_open.c:238: `pthread_rwlock_t' undeclared (first use in this
function) mi_open.c:417: dereferencing pointer to incomplete type mi_open.c:437: dereferencing pointer to incomplete type mi_open.c:449: sizeof applied to an incomplete type mi_open.c:519: dereferencing pointer to incomplete type mi_open.c:521: dereferencing pointer to incomplete type mi_open.c:523: dereferencing pointer to incomplete type mi_open.c:524: dereferencing pointer to incomplete type mi_open.c: At top level: mi_open.c:575: parse error before `*' mi_open.c: In function `setup_functions': mi_open.c:577: `share' undeclared (first use in this function)

----------------------------------------------- Here is my configure parameters:

----------------------------------------------- ./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --with-gnu-ld --with-mit-threads --with-pthread
--with-libwrap --enable-thread-safe-client --enable-assembler
--with-mysqld-user=mysql --without-docs --without-bench --with-charset=cp1251
--with-extra-charsets=koi8_ru,latin1

----------------------------------------------- of course, i'll now try to delete parameters in which i don't exactly sure: --with-mit-threads --with-pthread --with-libwrap
--enable-thread-safe-client

if compilation fails, i'll drop You a line, otherwise, ill write about success.