Somehow I can't build an OSX anymore. Probably because I updated to XCode5 since? MySQL doesn't work on the version I built for you the other day. I don't get that same error when I try it, but it still doesn't work.
Let me know if you find something. - Louis On Thursday, September 26, 2013 1:47:23 PM UTC-4, Louis Charette wrote: > > That's the way to test if MySQL is working. > > What Peter said if mostly for Linux & Debian. On Debian/Ubuntu it's much > simpler. Just install *libmysqlclient-dev* with apt-get. On OSX, it's a > bit different. > > To build with MySQL support on OSX, you need to install MySQL first ( > http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg) and then move > or link things around (APE isn't looking for MySQL at the same place it's > installed. I should edit the build file for OSX). From my old notes, those > command will move things around once APE is installed: > > sudo mkdir /usr/include/mysql/ > sudo cp -R /usr/local/mysql/include/* /usr/include/mysql > sudo cp /usr/local/mysql/lib/libmysqlclient_r.* /usr/lib > > > > If you're using the OSX binaries I sent you, I didn't test if mysql was > actually working, but I don't think it will I'll have to rebuild later when > I get home. > > > - Louis > > > Le 2013-09-26 à 12:24, Joost van der Meijden < > [email protected]> a écrit : > > How can I check if MySQL thing is installed? Cause I got the error: > ../scripts/application/biedingen.js:28:TypeError: Ape.MySQL is not a > constructor > > Using code: > > var sql = new Ape.MySQL('localhost', 'user', 'password', 'database'); > sql.onConnect = function() { > Ape.log('Connected to mysql server'); > } > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
