Hey.

mkChan is a server-side function ;)

Le 28/11/2010 22:06, kentsh a écrit :
omg
i upgraded serwer version to 1.01 on opensuse but still the same error
is this function bad?

client.addEvent('ready', function() {
var channel = client.mkChan("mychannel");
client.core.join(channel);
});

i think my reference to APE instance is client so should be ok, why
have still the same error? :(

On 28 Lis, 20:51, kentsh<[email protected]>  wrote:
it was mysql 5.0 i think.
anyway i coundn't install this on ubuntu 9.10 and 10.04 (the same
error everytime) but on opensuse 11.1 i did it, so i think i will
change distro for ape serwer.
thanks for reply Doug.

On 28 Lis, 19:44, Doug Molineux<[email protected]>  wrote:

Do you have MySQL installed on the machine, if so what version is it?
On Nov 27, 8:26 am, kentsh<[email protected]>  wrote:
anyone can help? please...
On 25 Lis, 12:04, kentsh<[email protected]>  wrote:
ok so i did like you said
i tried to lunch ape in bin directory
result was
*...@****-desktop:~/APE_Server/bin$ sudo ./aped
[sudo] password for ****:
    _   ___ ___
   /_\ | _ \ __|
  / _ \|  _/ _|
/_/ \_\_| |___|
AJAX Push Engine
Bind on port 6969
Version : 1.01dev
Build   : Nov 25 2010 11:52:16
Author  : Weelya ([email protected])
so i think ok because no errors but there is no
'libmod_spidermonkey.so' in modules/lib/ folder and still have error
like i wrote in first post here :(
'client.mkChan is not a function'
so it is still bad install version of 1.01 or still 1.0 version?
result of ps faux | grep aped is
*...@****-desktop:~$ ps faux | grep aped
****      2115  0.0  0.0   3060   800 pts/0    S+   12:03   0:00  |
\_ grep --color=auto aped
****      1986  0.0  0.0   2368  1112 pts/1    R+   11:58   0:00
\_ ./aped
*...@****-desktop:~$
On 24 Lis, 17:10, Doug Molineux<[email protected]>  wrote:
It's possible that it built successfully anyway, check the bin/
directory for an aped executable, if its there type
sudo ./aped
and then see if its running by going to yourURL.com:6969 (or whatever
port you used). Alternatively, you can run
ps faux | grep aped
And see if the process is running.
On Nov 24, 6:52 am, kentsh<[email protected]>  wrote:
anyone can help?
i tried solutions from 
herehttp://groups.google.com/group/ape-project/browse_thread/thread/3c3e1...
and herehttp://www.xosofox.de/2010/11/get-your-ape-up-to-date/
but it didn't help.
what kind of libraries my ubuntu don't have if it is the reason?
On 24 Lis, 10:52, kentsh<[email protected]>  wrote:
ok i downloaded i think new version from gidhub from link
git://github.com/harmer/APE_Server.git
and then fired sh.builed.sh
everythink was ok until moment when compileing stopped and there was
error like
src/entry.c: In function ‘ape_daemon’:
src/entry.c:86: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result
src/entry.c: In function ‘main’:
src/entry.c:147: warning: ignoring return value of ‘read’, declared
with attribute warn_unused_result
src/log.c: In function ‘ape_log’:
src/log.c:67: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
src/log.c:72: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
src/log.c:75: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
src/log.c:76: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
rm -f lib/libmod_spidermonkey.so
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 -lmysac
collect2: ld returned 1 exit status
make: *** [modules] Błąd 1
m...@mati-desktop:~/APE_Server$
what does it mean?
On 23 Lis, 19:42, Doug Molineux<[email protected]>  wrote:
Yes when I run
git clonehttp://github.com/APE-Project/APE_Server.git.
I do get a version, but I don't get one with the latest log.c updates
On Nov 23, 9:56 am, kentsh<[email protected]>  wrote:
ok so i am on this sitehttps://github.com/harmer/APE_Server/commits/master/
there are some fixes but i do not know how to install them, every each
one has some files, what should i do with this? copy to ubuntu serwer
folders?
On 23 Lis, 17:52, Anthony Catel<[email protected]>  wrote:
You can use the github version (which is more stable than the last
official release)
Le 23/11/2010 17:27, kentsh a crit :
so what can id do if i need to control channels, because i want to
write chat connection between two users.
On 23 Lis, 17:15, Anthony Catel<[email protected]>    wrote:
It's not a release. It's on github ;)
Le 23/11/2010 17:14, kentsh a crit :
great:(
can you give me link where i can download version 1.01?
On 23 Lis, 17:09, Anthony Catel<[email protected]>      wrote:
Hi,
Looks like it's a bug in the documentation. It's indeed available since
1.01dev
Anthony
Le 23/11/2010 16:48, kentsh a crit :
Hi again,
i have problem with function i found on ape documentation. for example
'mkChan'
i have function like
client.addEvent('ready', function() {
var channel = client.mkChan("mychannel");
client.core.join(channel);
});
and when i am conntected to ape server should be created channel
'mychannel' but all i have is error
'client.mkChan is not a function'
can you tell me why?
i found some information in this topic
http://groups.google.com/group/ape-project/browse_thread/thread/7b101...
that this function is avalible since version 1.01 but in documentation
it is written that it is since 1.0 so how it is finally?
is this error because of my code mistake or serwer version stuff?

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