tony2001 / pinba_engine

Pinba - MySQL plugin and storage engine
http://pinba.org
GNU General Public License v2.0
478 stars 41 forks source link

./configure: line 16790: syntax error near unexpected token `fi' [CentOS 6 x64] #58

Open billionaire opened 7 years ago

billionaire commented 7 years ago

Hi. After executing:

./buildconf.sh
./configure --with-mysql=/tmp/mysql_headers --libdir=/usr/lib64/mysql/plugin --with-judy=/usr/src/judy-1.0.5

i have receive such error:

checking if compiler supports -Wl,-rpath,... yes
checking for MySQL source code... /tmp/mysql_headers
checking for MySQL version >= 5.1... ok
./configure: line 16790: syntax error near unexpected token `fi'
./configure: line 16790: `fi'
[root@srv pinba_engine]#

when i removed the empty else from the configure, the error disappeared.

Cheaternl commented 6 years ago

I got this too. Removing 'else' fixed it indeed.