Hi,

I cannot compile APE with Mysql under Ubuntu.

I found Nicolas Trani's message (dated april) that you can find at the
bottom of this one and tried to follow the steps.

1) I installed the missing  libmysqlclient-dev and ran ./build.sh

2) The aped file is not updated (same length as before).

3) I did not need to update the mysql path as it was correct in
build.sh

4) I can only find one reference to mysql in the compilation logs:
that is:
gcc -D_GNU_SOURCE -Wall -O2 -shared -fPIC -rdynamic -Wl,-
soname,libmod_spidermonkey.so -o lib/libmod_spidermonkey.so libape-
spidermonkey.c -I../deps/js/src/dist/include/ -L../deps/js/src/ -
ljs_static -lstdc++ -L./deps/mysac/ -I./deps/mysac/ -lmysac -
lmysqlclient_r
Is this normal?

5) Nicolas also added: "You might also need to add mysql path in the
Makefile of the modules directory." I don't know how to do it. Maybe
that's the missing bit.

Anyway, it does not work, I have no more clue now.

Thanks in advance.

PS : I tried to reply to the older message, but my post is ignored.



The orginal message by Nicolas Trani:

if you are unable to call Ape.MySQL it's because APE is not compiled
with mysql (probably because build script can't find mysql header).

First be sure you have libmysqlclient-dev installed on your system.

Then you should have to update build script to help him to find mysql
header file, because mysql location is harcoded in build.sh, so update
it with the right path. You might also need to add mysql path in the
Makefile of the modules directory.

Regards.

-- 
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/

Reply via email to