got the problem. there was no C++ compiler. Now I have built it again.
Seems okay, with a few warnings here and there.

I have this much on console now:

Bind on port 6969

Version : 1.00
Build   : Dec  9 2009 06:55:45
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/examples/nickname.js
[JS] Loading script ../scripts/examples/move.js
[JS] Loading script ../scripts/utils/checkTool.js




Does it look good ?



I still have the problem with the virtual hosts.


On Dec 9, 4:44 pm, Anthony Catel <[email protected]> wrote:
> I see, go to ./deps/js/src/ => run a ./configure and check packages are
> missing.
>
> Anthony
>
> Le 09/12/09 12:35, Sreelaj John a crit :
>
>
>
> > I am not sure if the installation was right:I got the following at the
> > console: All the errors are from spider monkey.
>
> > _________________________________________________________________________
>
> > rm -f udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o udns_init.o
> > udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o udns_rr_mx.o
> > udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o udns_codes.o
> > rm -f udns_dn.lo udns_dntosp.lo udns_parse.lo udns_resolver.lo
> > udns_init.lo udns_misc.lo udns_XtoX.lo udns_rr_a.lo udns_rr_ptr.lo
> > udns_rr_mx.lo udns_rr_txt.lo udns_bl.lo udns_rr_srv.lo
> > udns_rr_naptr.lo udns_codes.lo
> > rm -f dnsget.o rblcheck.o ex-rdns.o
> > rm -f build-stamp config.log
> > configure... udns package
> > checking for C compiler... gcc
> > checking whenever C compiler (gcc) is GNU CC... yes
> > checking whenever the C compiler (gcc -Wall -W -O2 -pipe)
> >             can produce executables... yes
> > checking for ranlib... ranlib
> > checking for getopt()... yes
> > checking for inet_pton()&&  inet_ntop()... yes
> > checking for socklen_t... yes
> > checking for libraries needed for socket and connect... ok (none
> > needed)
> > checking for IPv6... yes
> > checking for poll()... yes
> > creating config.h... unchanged
> > creating Makefile... ok
> > creating config.status... ok
> > all done.
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dn.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dntosp.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_parse.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_resolver.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_init.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_misc.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_XtoX.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_a.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_ptr.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_mx.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_txt.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_bl.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_srv.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_naptr.c
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_codes.c
> > rm -f libudns.a
> > ar rv libudns.a udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o
> > udns_init.o udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o
> > udns_rr_mx.o udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o
> > udns_codes.o
> > ar: creating libudns.a
> > a - udns_dn.o
> > a - udns_dntosp.o
> > a - udns_parse.o
> > a - udns_resolver.o
> > a - udns_init.o
> > a - udns_misc.o
> > a - udns_XtoX.o
> > a - udns_rr_a.o
> > a - udns_rr_ptr.o
> > a - udns_rr_mx.o
> > a - udns_rr_txt.o
> > a - udns_bl.o
> > a - udns_rr_srv.o
> > a - udns_rr_naptr.o
> > a - udns_codes.o
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c dnsget.c
> > dnsget.c: In function 'dbgcb':
> > dnsget.c:404: warning: unused parameter 'unused_q'
> > dnsget.c:404: warning: unused parameter 'unused_data'
> > gcc -Wall -W -O2 -pipe -o dnsget dnsget.o -L. -ludns
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c rblcheck.c
> > gcc -Wall -W -O2 -pipe -o rblcheck rblcheck.o -L. -ludns
> > gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c ex-rdns.c
> > gcc -Wall -W -O2 -pipe -o ex-rdns ex-rdns.o -L. -ludns
> > loading cache ./config.cache
> > checking host system type... x86_64-unknown-linux-gnu
> > checking target system type... x86_64-unknown-linux-gnu
> > checking build system type... x86_64-unknown-linux-gnu
> > checking for mawk... no
> > checking for gawk... gawk
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  ) works... yes
> > checking whether the C compiler (gcc  ) is a cross-compiler... no
> > checking whether we are using GNU C... yes
> > checking whether gcc accepts -g... yes
> > checking for c++... no
> > checking for g++... no
> > checking for gcc... gcc
> > checking whether the C++ compiler (gcc  ) works... no
> > configure: error: installation or configuration problem: C++ compiler
> > cannot create executables.
> > gcc -D_GNU_SOURCE -Wall -O2 -minline-all-stringops -rdynamic -I ./deps/
> > udns-0.0.9/ src/entry.c src/sock.c src/hash.c src/handle_http.c src/
> > cmd.c src/users.c src/channel.c src/config.c src/json.c src/
> > json_parser.c src/plugins.c src/http.c src/extend.c src/utils.c src/
> > ticks.c src/proxy.c src/base64.c src/pipe.c src/raw.c src/events.c src/
> > event_kqueue.c src/event_epoll.c src/transports.c src/servers.c src/
> > dns.c src/sha1.c src/log.c src/log.h -o bin/aped -ldl -lm ./deps/
> > udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
> > In file included from src/../modules/plugins.h:42,
> >                   from src/plugins.h:27,
> >                   from src/entry.c:22:
> > src/../modules/../src/log.h:37:7: warning: no newline at end of file
> > In file included from src/entry.c:41:
> > src/servers.h:29:7: warning: no newline at end of file
> > In file included from src/entry.c:43:
> > src/log.h:37:7: warning: no newline at end of file
> > In file included from src/sock.c:40:
> > src/log.h:37:7: warning: no newline at end of file
> > In file included from src/../modules/plugins.h:42,
> >                   from src/plugins.h:27,
> >                   from src/users.c:35:
> > src/../modules/../src/log.h:37:7: warning: no newline at end of file
> > In file included from src/users.c:41:
> > src/log.h:37:7: warning: no newline at end of file
> > In file included from src/../modules/plugins.h:42,
> >                   from src/plugins.h:27,
> >                   from src/channel.c:28:
> > src/../modules/../src/log.h:37:7: warning: no newline at end of file
> > In file included from src/../modules/plugins.h:42,
> >                   from src/plugins.h:27,
> >                   from src/plugins.c:22:
> > src/../modules/../src/log.h:37:7: warning: no newline at end of file
> > src/http.c:425:2: warning: no newline at end of file
> > In file included from src/utils.c:27:
> > src/log.h:37:7: warning: no newline at end of file
> > In file included from src/../modules/plugins.h:42,
> >                   from src/plugins.h:27,
> >                   from src/raw.c:27:
> > src/../modules/../src/log.h:37:7: warning: no newline at end of file
> > In file included from src/servers.c:22:
> > src/servers.h:29:7: warning: no newline at end of file
> > src/dns.c:221:2: warning: no newline at end of file
> > In file included from src/log.c:29:
> > src/log.h:37:7: warning: no newline at end of file
> > src/log.c: In function 'ape_log':
> > src/log.c:71: warning: format '%i' expects type 'int', but argument 4
> > has type 'long unsigned int'
> > src/log.c:80:2: warning: no newline at end of file
> > src/log.h:37:7: warning: no newline at end of file
> > 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++
> > libape-spidermonkey.c:29:19: error: jsapi.h: No such file or directory
> > In file included from plugins.h:42,
> >                   from libape-spidermonkey.c:32:
> > ../src/log.h:37:7: warning: no newline at end of file
> > libape-spidermonkey.c:49: error: expected declaration specifiers or
> > '...' before 'JSObject'
> > libape-spidermonkey.c:49: error: expected declaration specifiers or
> > '...' before 'JSObject'
> > libape-spidermonkey.c:51: error: expected ')' before '*' token
> > libape-spidermonkey.c:67: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'ape_sm_stub'
> > libape-spidermonkey.c:83: error: expected specifier-qualifier-list
> > before 'jsval'
> > libape-spidermonkey.c:88: error: expected declaration specifiers or
> > '...' before 'JSObject'
> > libape-spidermonkey.c:88: error: expected declaration specifiers or
> > '...' before 'JSObject'
> > libape-spidermonkey.c:94: error: expected specifier-qualifier-list
> > before 'JSScript'
> > libape-spidermonkey.c:111: error: expected specifier-qualifier-list
> > before 'JSRuntime'
>
> > _________________________________________________________________________
>
> > On Dec 9, 3:52 pm, Anthony Catel<[email protected]>  wrote:
>
> >> What errors do you get at compile time?
>
> >> It seems that you forgot to create *.ape.vpscustomer.com :
>
> >> ** server can't find 0.ape.vpscustomer.com: NXDOMAIN
>
> >> Does spidermonkey is running? (should output [Module] [spidermonkey]
> >> Loading module : Javascript embeded (0.01) - Anthony Catel)
>
> >> Anthony Catel
>
> >> Le 09/12/09 11:44, Sreelaj John a crit :
>
> >>> I have compiled the server from the source[there were many errors
> >>> though]  and now running the aped process.  No error on the console
> >>> now.
> >>> How do i check that the server has been set up correctly ? How can i
> >>> debug ?
>
> >>> I have installed the JSF part, and while testing that, i get the
> >>> following error
>
> >>> ng test : Contacting APE Server
> >>> Can't contact APE Server. Please check the your APE Server is running
> >>> and the folowing url is pointing to your APE server 
> >>> :http://ape.vpscustomer.com:6969
>
> >>> Inputs?
>
> >>> On Dec 9, 2:17 pm, Anthony Catel<[email protected]>    wrote:
>
> >>>> Hi,
>
> >>>> Thanks for the reporting.
>
> >>>> Try : apt-get install libstdc++6
> >>>> (Or something like that)
>
> >>>> I guess we forgot to add it as dependency.
>
> >>>> Anthony
>
> >>>> Sreelaj John a crit :
>
> >>>>> Hi,
>
> >>>>> I am now trying with a debian server. Extracted the binary file and
> >>>>> launched the process 'aped', getting the following error
>
> >>>>> Bind on port 6969
>
> >>>>> Version : 1.00
>
> ...
>
> read more »

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