Read what I wrote about commenting certain lines of code. I am sure that you have an old version of MySQL (MySQL is consisted by the server and the client, each one may have different version).Even if you comment the lines I write you will stuck exactly afterwards because of the old version. You can comment again the next lines and finally install elxis but your server environment won't be good for Elxis.