Description:
I tried to make some rpm packages for Fedora Core 1, but I already failed to compile it. System is Fedora Core 1 + all updates.
Here is what I get after a configure/make in the mysql-gui-common
direcory:
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:46: error: syntax error before "pchar"
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:68:1: warning: "_CTYPE_H" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:25:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:89:1: warning: "_toupper" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:213:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:90:1: warning: "_tolower" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:212:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:91:1: warning: "toupper" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:205:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:92:1: warning: "tolower" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:204:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:94:1: warning: "isalpha" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:174:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:95:1: warning: "isupper" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:182:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:96:1: warning: "islower" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:177:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:97:1: warning: "isdigit" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:176:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:98:1: warning: "isxdigit" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:183:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:99:1: warning: "isalnum" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:173:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:100:1: warning: "isspace" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:181:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:101:1: warning: "ispunct" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:180:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:102:1: warning: "isprint" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:179:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:103:1: warning: "isgraph" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:178:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:104:1: warning: "iscntrl" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:175:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:105:1: warning: "isascii" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:209:1: warning: this is the location of the previous definition
In file included from myx_library.c:27:
/usr/include/mysql/m_ctype.h:106:1: warning: "toascii" redefined
In file included from myx_library.c:21:
/usr/include/ctype.h:210:1: warning: this is the location of the previous definition
myx_library.c: In function `myx_get_server_charset_name':
myx_library.c:464: error: structure has no member named `csname'
make[2]: *** [myx_library.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-administrator-1.0.3_alpha/mysql-gui-common/library/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-administrator-1.0.3_alpha/mysql-gui-common/library'
make: *** [all-recursive] Error 1
How to repeat:
Download mysql-administrator-1.0.3-alpha.tar.gz and unpack
cd mysql-administrator-1.0.3_alpha/mysql-gui-common
./configure --prefix /usr
make
[2 Jun 2004 3:33]
Ulrich Bayer
You need to link against the 5.0 mysql client lib I think.
[2 Jun 2004 9:50]
Gerald Teschl
Ah! You are right, fedora core 1 still has mysql 3.23. I'll upgrade to 4.0.
Thanks!
[9 Jun 2004 23:46]
Alfredo Kojima
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem is not the result of a bug.
For a list of more appropriate places to ask for help using MySQL
products, please visit http://www.mysql.com/support/
Thank you for your interest in MySQL.
Additional info:
The errors are due to things that are defined only in 5.0 client library headers.
I have updated the code to compile against 4.0, so that version should also work.
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders. It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.