Did someone tried this? Would be cool if we could get this fix on GitHub and have one official working version available for download :)
Le jeudi 3 janvier 2013 11:01:04 UTC-5, Nicolas a écrit : > > Hi, > > The solution has already been written somewhere. But I can't find it back. > As I have tried it myself today successfully, I'd like to write it down as > clearly as possible. This should help some users a lot. > > Summary: > > 1) install an old version : > https://github.com/APE-Project/APE_Server/commit/358ea62d787371bd5aa42d3448fe4977028e048a(version > 1.0.8) > 2) install the latest version: > https://github.com/APE-Project/APE_Server/tarball/master > 3) copy libmod_spidermonkey.so from the old version to the latest one (or > aped from the latest onto the old one). > > Details: > > 1) > Download old version: > wget > https://github.com/APE-Project/APE_Server/commit/358ea62d787371bd5aa42d3448fe4977028e048a > > Then: > $ tar -xzf file_name.tar.gz && *cd* APE_Server/ > > $./build.sh > > This should generate errors (compile of mysac fails) so we do: > > $ *cd* modules/deps/mysac && *make* > $ *cd* ../ cd ../ && *make* && *cd* ../ && *make* > This compiles mysac separately and remake the whole aped afterwards. *This > is the first trick to make Mysql work*. > > Now we have a working aped in /bin/ and a libmod_spidermonkey.so file in > modules/lib/ > > Following discussions with Thierry Fournier (author of mysac), I strongly > advise to regroup these two files under one and only folder (for example > /ape_server) as well as an etc folder, a log folder and a scripts folder. > So your /ape_server/ will contain: > - bin > - modules/lib/ (or simply modules for me) > - etc > - scripts > - log > It makes maintenance of APE so much easier. I used to work with the > default install, which meant many different locations for the files. Now > everything is in one place. > > > Test that your APE server is running. It should be fine. We have now APE > working with mysql under version 1.0.8. > > 2) In a separate directory do the same procedure of install as in 1) but > with this file: https://github.com/APE-Project/APE_Server/tarball/master > > 3) Take the aped file from the compile of 2) and paste on the aped from 1) > You should now have APE working with MYSQL under the latest version. > The second trick is to use libmod_spidermonkey.so from previous version. > Which we did by only copy-pasting aped on version 1.0.8. > > I hope this helps. Let me know if this works for you. > > Also, if you happen to think that this is unsafe, let me know too! > > Nicolas. > Test our gaming platform on www.happymeeple.com (much improved version 2 > is coming soon but there is already a lot of fun to be had now) > > > PS: Please note that Mysql version shipped with APE server is 0.4b (b > means beta) and it is bugged. If your query returns NULL (as the first > parameter only I think), it will crash. Download a more recent version of > mysac and replace the one shipped with APE if you need to fix that. > > -- -- 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.
