Hi all and Anthony,
I was not able to build ape server with mysql support on a server
using Ubuntu. I did some research on this issue and i found out that
mysac (which is included in the ape server source package) cannot be
build due to a change in the compiler security. A extra security
feature was added (for as much as i understand of it) which explains
that the ape-server could be compiled in older versions of linux
without problems. I suspect this has nothing to do with changes to
APE, but to changes within the used distributions. (Debian based
distributions seem to have this feature on and will fail to build
mysac due to it). Fortunately the Makefile of mysac can be adapted to
disable this security check and prevent it from not installing ape-
server with mysql support.
Steps to follow:
- First download source and place it in folder of your own choosing
- Then untar it using tar -xvf {Name of of tar file}.tar.gz
- Go to the folder with the unpacked files (i will call this ape-
server root for convenience)
- Go to modules/deps/mysac/
- Open the file Makefile in a texteditor and look for the line that
says CFLAGS
- At the end of this line add the following: -fno-stack-protector
- save the Makefile and close the editor
- type make
- Mysac should be made succesfully (first time it can give error, but
just type make again)
- go back to the root ape-server folder where the file build.sh is
located
- type ./build.sh (or sh build.sh if you prefer)
- No errors should occur during the build process this time.
It is VERY important to build the mysac first and only after that
compile the ape 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/