I found out that I had the error: c++ compiler cannot create executables
sudo apt-get install libc6-dev g++ gcc solved the problem or at least made some progress. Still waiting to see if everything is ok. Nicolas. On Nov 8, 6:09 pm, Nicolas <[email protected]> wrote: > Thanks for this precious information. It is very much appreciated. I > can see that I knew very little about all this. > > I compiled the latest version (hopefully) and got errors again. > > The errors were too long for the console so redirected to a text file. > However, in that text file, I only get the beginning of the output!! > (why?) when there is no error yet. > > Anyway, the end of the screen output is below and the content of the > error text file follows: > > Can you help? > > end of screen output: > > libape-spidermonkey.c:2845: note: expected ‘struct acetables *’ but > argument is of type ‘int’ > libape-spidermonkey.c:3130: error: too many arguments to function > ‘ape_fire_callback’ > libape-spidermonkey.c:3131: warning: passing argument 2 of > ‘ape_fire_callback’ makes pointer from integer without a cast > libape-spidermonkey.c:2845: note: expected ‘struct acetables *’ but > argument is of type ‘int’ > libape-spidermonkey.c:3131: error: too many arguments to function > ‘ape_fire_callback’ > libape-spidermonkey.c: In function ‘ape_cb_left’: > libape-spidermonkey.c:3136: error: ‘jsval’ undeclared (first use in > this function) > libape-spidermonkey.c:3136: error: expected ‘;’ before ‘params’ > libape-spidermonkey.c:3138: error: ‘params’ undeclared (first use in > this function) > libape-spidermonkey.c:3138: error: ‘JSObject’ undeclared (first use in > this function) > libape-spidermonkey.c:3138: error: expected expression before ‘)’ > token > libape-spidermonkey.c:3139: error: expected expression before ‘)’ > token > libape-spidermonkey.c:3141: warning: passing argument 2 of > ‘ape_fire_callback’ makes pointer from integer without a cast > libape-spidermonkey.c:2845: note: expected ‘struct acetables *’ but > argument is of type ‘int’ > libape-spidermonkey.c:3141: error: too many arguments to function > ‘ape_fire_callback’ > libape-spidermonkey.c: In function ‘ape_cb_addsubuser’: > libape-spidermonkey.c:3149: error: ‘JSObject’ undeclared (first use in > this function) > libape-spidermonkey.c:3149: error: ‘subjs’ undeclared (first use in > this function) > libape-spidermonkey.c:3151: error: ‘JSContext’ undeclared (first use > in this function) > libape-spidermonkey.c:3151: error: ‘gcx’ undeclared (first use in this > function) > libape-spidermonkey.c:3151: error: expected expression before ‘)’ > token > libape-spidermonkey.c:3153: error: ‘subuser_class’ undeclared (first > use in this function) > libape-spidermonkey.c: In function ‘ape_cb_delsubuser’: > libape-spidermonkey.c:3169: error: ‘JSContext’ undeclared (first use > in this function) > libape-spidermonkey.c:3169: error: ‘gcx’ undeclared (first use in this > function) > libape-spidermonkey.c:3169: error: expected expression before ‘)’ > token > make: *** [modules] Error 1 > > content of error.txt: > > 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 > 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 > 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... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking for mawk... mawk > 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 > 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/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/parser.c src/md5.c -o bin/aped -ldl -lm > -lpthread ./deps/udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/ > 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++ > > On Nov 8, 3:40 pm, <[email protected]> wrote: > > > No there is only one version. > > > - 1.0 release (from the website). > > - git (where there is several tags at some point of the development and > > the mainstream). > > > To stay updated with the last dev version, just install git on your > > PC/server, clone the mainstream (with git clone) and run "git pull" to > > update your local repository. > > > BTW (and you can blame us for that) the 1.0 is not the lasted stable > > revision. > > > Anthony > > > On Mon, 8 Nov 2010 06:52:37 -0800 (PST), Nicolas > > > <[email protected]> wrote: > > > OK. Thanks Anthony, I missed your last answer. Which is very useful > > > indeed. > > > > However, I still have one more question. > > > > What is the difference between the two things you are talking about? > > > > If I use method 1, will I get different files from if I use method 2? > > > > If I understand correctly, there are two versions of the project > > > developed in parallel? Is that right? And in that case, how do I know > > > whether I should use the first one or the second one? Where can I find > > > the information? > > > > Can you enlighten me? > > > > Sorry if my questions are basic, but really the answers are not > > > obvious at all to me. > > > > Thx again. > > > > Nicolas. > > > > On Nov 8, 2:26 pm, <[email protected]> wrote: > > >> To get the last revision, just download git and use : > > > >> git clonehttps://github.com/APE-Project/APE_Server.git > > > >> 1.0dev is a tag, (obvisouly not the current dev version) > > > >> To download the mainstream : > > > >>https://github.com/APE-Project/APE_Server/tarball/master > > > >> On Mon, 8 Nov 2010 06:17:56 -0800 (PST), Nicolas > > > >> <[email protected]> wrote: > > >> > OK. Got it. > > > >> > On this pagehttps://github.com/APE-Project/APE_Server/downloads > > > >> > the list of versions shows : > > > >> > v1.0dev.zip — v1.0 development version ZIP TAR.GZ > > > >> > in first position. > > > >> > Development version seems to mean that it is the latest version. Of > > >> > course, if you look at the date, you will know that it is not, but > > >> > hey... A bit of tidying up necessary? Maybe. > > > >> > Anyway, on the above mentioned page, all versions are quite old. I > > >> > guess that I will have to find another place to download a more > > recent > > >> > one. Weird that there are two places to download things anyway. > > > >> > I need to get used to this Git thing, I guess... > > > >> > On Nov 8, 12:40 pm, <[email protected]> wrote: > > >> >> Hi, > > > >> >> This is not a clone of the last git revision. > > >> >> Looks like you downloaded a really old version (0.9) > > > >> >> => git clonehttps://github.com/APE-Project/APE_Server.git > > > >> >> On Mon, 8 Nov 2010 03:35:10 -0800 (PST), Nicolas > > > >> >> <[email protected]> wrote: > > >> >> > Anyone? > > > >> >> > On Nov 8, 11:14 am, Nicolas <[email protected]> wrote: > > >> >> >> Hi, > > > >> >> >> I tried to make the latest dev git version on my Ubuntu. It > > failed > > ... > > 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/
