Yeah, actually my host is running on centOS 6.x 64bit and can successfully build the apr server without problems. Male you have all the required dependencies like mysql-devel
yum mysql mysql-devel Should do, but im not if your suppose to get an specific version. On my server it just works. On Oct 1, 2013 1:33 PM, "Yaron Kufert" <[email protected]> wrote: > I've tried to build both versions over CentOS 5.8 32bit and got "*undefined > reference to `scramble'", *so i thought that it does not support mysql . > Have you manage to build it and use mysql? the gitub version? > > have you tried using it on a 64bit machine? > > > On 1 October 2013 14:33, Pablo Tejada <[email protected]> wrote: > >> Try to upgrade to either 1.1.2 or 1.1.3-dev they both have MySQL support, >> just make sure to back your current build in case something goes wrong. >> On Oct 1, 2013 2:53 AM, "Yaron Kufert" <[email protected]> wrote: >> >>> Hi, Thanks for the fast response, >>> >>> I am using version 1.01dev since i need the MySQL support, and yea, the >>> protocol is JSONP >>> >>> On Tuesday, October 1, 2013 12:09:53 AM UTC+3, Yaron Kufert wrote: >>>> >>>> Hi, >>>> >>>> I am quite new to the APE project. I had issues when over 200 clients >>>> connected to the APE server. When the client connects to the server, it >>>> issues a "CONNECT", followed by a "joinChatRoom" call. On the server, the >>>> even handler for that call looks like this: >>>> >>>> Ape.registerCmd("joinChatRoom"**, true, function(params, infos) { >>>> var cr = params.chatRoomName; >>>> var chan = Ape.getChannelByName(cr); >>>> >>>> if (!$defined(chan)) { >>>> chan = Ape.mkChan(cr); >>>> } >>>> >>>> // This data structure stores all the information about the user. >>>> var userState = infos.user.getProperty("**userState"); >>>> if (!userState) { >>>> userState = { >>>> credentials: { >>>> watchitoo: {}, >>>> twitter: {}, >>>> facebook: {}, >>>> guest: {} >>>> } >>>> }; >>>> } >>>> >>>> infos.user.setProperty("**userState", userState); >>>> infos.user.join(cr); >>>> >>>> }); >>>> >>>> >>>> the server answer looks like this: >>>> Ape.transport.read('[{"time":"**1380574741","raw":"CHANNEL","** >>>> data":{"users":[{"casttype":"**uni","pubid":"** >>>> 294fa43b43c6b152333d7d255f5496**a1","properties":{"userState":** >>>> {"credentials":{"watchitoo":0,**"twitter":0,"facebook":0,"** >>>> guest":0}}},"level":1}],"pipe"**:{"casttype":"multi","pubid":"** >>>> e70bff78a59dcb1524750a93cf7ce9**43","properties":{"name":"** >>>> wqd040"}}}}]') >>>> >>>> or parsed: >>>> >>>> [ >>>> >>>> 1. { >>>> - "time":"1380574741", >>>> - "raw":"CHANNEL", >>>> - "data":{ >>>> - "users":[ >>>> 1. { >>>> - "casttype":"uni", >>>> - "pubid":"**294fa43b43c6b152333d7d255f5496**a1", >>>> - "properties":{ >>>> - "userState":{ >>>> - "credentials":{ >>>> - "watchitoo":0, >>>> - "twitter":0, >>>> - "facebook":0, >>>> - "guest":0 >>>> } >>>> } >>>> }, >>>> - "level":1 >>>> } >>>> ], >>>> - "pipe":{ >>>> - "casttype":"multi", >>>> - "pubid":"**e70bff78a59dcb1524750a93cf7ce9**43", >>>> - "properties":{ >>>> - "name":"wqd040" >>>> } >>>> } >>>> } >>>> } >>>> >>>> ] >>>> >>>> As you can see, the server send the list of all connected clients, How >>>> can i stop the server from sending this list? >>>> >>>> The problem is that once over 200 clients connected, the server sends a >>>> huge list of current users, and for some reason attach another response to >>>> it, looking something like: >>>> Ape.transport.read('......')**Ape.transport.read('.....')** >>>> Ape.transport.read('.......') >>>> >>>> which cause the the ape client to fail on Uncaught SyntaxError: >>>> Unexpected identifier , since it fails to execute the response. >>>> >>>> I would appreciate any help as I am really stuck... >>>> >>>> >>>> >>>> -- >>> -- >>> 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 a topic in the >> Google Groups "APE Project" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ape-project/qV_EG6RKPys/unsubscribe. >> To unsubscribe from this group and all its topics, 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. > -- -- 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.
