Hi,
I'm trying to install mysql 3.23.42 from source onto a solaris 2.6 server. I have the most recent GNU gcc, make, bison, m4, etc installed. My configure line is:
./configure --prefix=/usr/local/mysql --with-low-memory --with-assembler
My CXXFLAGS is defined in my env as:
-felide-constructors -fno-exceptions -fno-rtti
When I run ./configure, it completes with no errors. However, when I run make it dies as soon as it tries to compile sql_yacc.cc. I receive the following error:
/usr/local/share/bison/bison.simple: In function `int yyparse()':
/usr/local/share/bison/bison.simple:495: error: incalid conversion from `unsigned int*' to `int*'
sql_yacc.yy:719: error: parse error before `}' token
sql_yacc.yy:1462: error: parse error before `}' token
sql_yacc.yy:1689: error: parse error before `}' token
sql_yacc.yy:1723: error: parse error before `}' token
sql_yacc.yy:1746: error: parse error before `}' token
sql_yacc.yy:1801: error: parse error before `}' token
sql_yacc.yy:2269: error: parse error before `}' token
sql_yacc.yy:2437: error: parse error before `}' token
Has anyone else had this problem or know how to fix it? I've installed mysql 4 (binary) on solaris 2.8 with no problems, however, I am unable to find a binary distro of a recent version of mysql for solaris 2.6 and the server can not be upgraded for several months.
Thanks!
Troy
I'm trying to install mysql 3.23.42 from source onto a solaris 2.6 server. I have the most recent GNU gcc, make, bison, m4, etc installed. My configure line is:
./configure --prefix=/usr/local/mysql --with-low-memory --with-assembler
My CXXFLAGS is defined in my env as:
-felide-constructors -fno-exceptions -fno-rtti
When I run ./configure, it completes with no errors. However, when I run make it dies as soon as it tries to compile sql_yacc.cc. I receive the following error:
/usr/local/share/bison/bison.simple: In function `int yyparse()':
/usr/local/share/bison/bison.simple:495: error: incalid conversion from `unsigned int*' to `int*'
sql_yacc.yy:719: error: parse error before `}' token
sql_yacc.yy:1462: error: parse error before `}' token
sql_yacc.yy:1689: error: parse error before `}' token
sql_yacc.yy:1723: error: parse error before `}' token
sql_yacc.yy:1746: error: parse error before `}' token
sql_yacc.yy:1801: error: parse error before `}' token
sql_yacc.yy:2269: error: parse error before `}' token
sql_yacc.yy:2437: error: parse error before `}' token
Has anyone else had this problem or know how to fix it? I've installed mysql 4 (binary) on solaris 2.8 with no problems, however, I am unable to find a binary distro of a recent version of mysql for solaris 2.6 and the server can not be upgraded for several months.
Thanks!
Troy