i got something :
i installed mysql-devel
and got this error when re build ape server :

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
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld a retourné 1 code d'état d'exécution
make: *** [modules] Erreur 1

Thanks again


On 27 fév, 11:00, tUtOo <[email protected]> wrote:
> Hi
> I installed the rpm package mysql-libs by doing this : rpm -ivh
> mysql-5.0.82sp1-1.el4_8.src.rpm
> but i got these warnings, is that normal ?
>
> attention: mysql-5.0.82sp1-1.el4_8.src.rpm: Entête V3 DSA signature:
> NOKEY, key ID 443e1821
>    1:mysql                  attention: utilisateur mockbuild
> inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> ########################################### [100%]
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
> attention: utilisateur mockbuild inexistant - utilisation de root
> attention: groupe mockbuild inexistant - utilisation de root
>
> anyway, i re build my ape server and still nothing in the output when
> i launched my ape and try to connect to mysql :(
> is that normal that i dont have any error messages telling me what
> going wrong ?
> Don't i have to update my build.sh and makefile for the correct path
> to mysql ?
>
> Thanks for helping me !
>
> On 26 fév, 22:28, Martin-Zack Mekkaoui <[email protected]> wrote:
>
> > Hi,
>
> > You can find it in mysql-libs* centos package.
>
> > Regards,
>
> > 2011/2/26 tUtOo <[email protected]>
>
> > > Hi
> > > If i do yum install libmysqlclient-dev
> > > i have No package libmysqlclient-dev available
> > > Nothing to do
>
> > > How can i install libmysqlclient-dev on CentOS ?
> > > Thanks a lot for helping me !
>
> > > On 26 fév, 15:12, <[email protected]> wrote:
> > > > Hi,
>
> > > > You need to install libmysqlclient-dev
>
> > > > On Sat, 26 Feb 2011 05:40:48 -0800 (PST), tUtOo <[email protected]>
> > > > wrote:
>
> > > > > I saw that in my file build.sh the path to mysql was wrong
>
> > > > > if [ -e "/usr/include/mysql/mysql.h" ]
>
> > > > > when i do locate mysql.h i dont find this file :(
>
> > > > > what can i do to fix it ??
>
> > > > > thanks
>
> > > > > On 26 fév, 14:19, tUtOo <[email protected]> wrote:
> > > > >> Thank you for your replies !
> > > > >> It works, all the modules are loaded when I launched APE ! and I
> > > > >> confirm that we can use an APE's server name like
> > > > >> "*.anything.domain.com" !
>
> > > > >> But, it seems that my module don't connect to MySQL ! :(
>
> > > > >>  /_\ | _ \ __|
> > > > >>  / _ \|  _/ _|
> > > > >> /_/ \_\_| |___|
> > > > >> AJAX Push Engine
>
> > > > >> Bind on port 6969
>
> > > > >> Version : 1.01dev
> > > > >> Build   : Feb 26 2011 12:46:49
> > > > >> Author  : Weelya ([email protected])
>
> > > > >> [Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
> > > > >> Anthony Catel
> > > > >> [JS] Loading script ../scripts/framework/mootools.js...
> > > > >> [JS] Loading script ../scripts/framework/Http.js...
> > > > >> [JS] Loading script ../scripts/framework/userslist.js...
> > > > >> [JS] Loading script ../scripts/utils/utils.js...
> > > > >> [JS] Loading script ../scripts/commands/proxy.js...
> > > > >> [JS] Loading script ../scripts/commands/inlinepush.js...
> > > > >> [JS] Loading script ../scripts/utils/checkTool.js...
> > > > >> [JS] Loading script ../scripts/Mysql/MySQLDemo.js...
>
> > > > >> > Here what I have in my MySQLDemo.js and that works in local :
>
> > > > >> var Ape = new Class({
> > > > >>               initialize: function() {
> > > > >>                                         this.sql = new
> > > > >> Ape.MySQL("ip_server:3306", "user", "pass",
> > > > >> "name_bd"); // Connexion MySQL.
>
> > > > >>                                         //onConnect callback
> > > > >>                                         this.sql.onConnect =
> > > function()
> > > > >> {
> > > > >>                                                         Ape.log( 'The
> > > > >> server is started and you are now connected to
> > > > >> MySQL server ' );
> > > > >>                                         },
>
> > > > >>                                         //onError callback
> > > > >>                                         this.sql.onError =
> > > > >> function(errorNo) {
>
> > > > >> Ape.log('Connection error ' + errorNo +' '+
> > > > >> this.errorString());
> > > > >>                                         },
>
> > > > >>                                         this.sql.query("SELECT 1" ,
> > > > >> function(result) { }.bind(this));
> > > > >>               },});
>
> > > > >> var objape = new Ape();
>
> > > > >> Nothing happen ! No error and no message in the output !
> > > > >> I really don't understand !
>
> > > > >> Thanks again to help me
>
> > > > >> info about new server:
> > > > >> CentOS 5.5 + Plesk 9.5 32 bit
>
> > > > >> On 25 fév, 22:26, Anthony Catel <[email protected]> wrote:
>
> > > > >> > No, you can use *.anything.domain.com
>
> > > > >> > Le 25/02/2011 20:19, Nicolas a crit :
>
> > > > >> > > I think you indeed have to use the syntax ape.yourdomain.com
>
> > > > >> > > Probably this can be changed somewhere in the code, but keep
> > > things
> > > > >> > > simple and use ape...
>
> > > > >> > > On 25 f v, 10:51, tUtOo<[email protected]>  wrote:
> > > > >> > >> a stupid question :
> > > > >> > >> I called my sub domain : comet.www.[my_domain].fr
>
> > > > >> > >> Do I have to call it : ape.[my_domain].fr ???
>
> > > > >> > >> Thnaks for the help !
>
> > > > >> > >> On 24 f v, 22:40, tUtOo<[email protected]>  wrote:>  Hi, All!
>
> > > > >> > >>> I successfully used aped on my previous local server, and ape
> > > > works
> > > > >> > >>> well !
> > > > >> > >>> Now i must setup it on a dedicated server and i got problems:
> > > > >> > >>> - when i launch APE (I installed APE from sources), the only
> > > > >> > >>> things i
> > > > >> > >>> get on outputs is
> > > > >> > >>> [root....]# ./aped
> > > > >> > >>>     _   ___ ___
> > > > >> > >>>    /_\ | _ \ __|
> > > > >> > >>>   / _ \|  _/ _|
> > > > >> > >>> /_/ \_\_| |___|
> > > > >> > >>> AJAX Push Engine
> > > > >> > >>> Bind on port 6969
> > > > >> > >>> Version : 1.01dev
> > > > >> > >>> Build   : Feb 20 2011 21:30:16
> > > > >> > >>> Author  : Weelya ([email protected])
> > > > >> > >>> no modules loaded ! :(
> > > > >> > >>> and if I do :http://subdomain.domain.fr/ape_jsf/Tools/Check/
> > > > >> > >>> I've got this :
> > > > >> > >>> Connection etablished but something went wrong. Server response
> > > > is
> > > > >> > >>> [{"time":"1298581306","raw":"ERR","data":
> > > > >> > >>> {"code":"003","value":"BAD_CMD"}}]
> > > > >> > >>> Can anyone give me advice how solve this problems? which
> > > > additional
> > > > >> > >>> info is needed?
> > > > >> > >>> info about new server:
> > > > >> > >>> CentOS 5.5 + Plesk 9.5 32 bit
> > > > >> > >>> Many thanks !
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "APE Project" group.
>
> ...
>
> plus de détails »

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