Dear younes0!

I tried these on ubuntu 12.04 64bit:
# update with 1.1.2 for websockets
cd ~
git clone https://github.com/APE-Project/APE_Server.git
cd APE_Server/
./build.sh
# if compiled
service ape-server stop
rm /usr/bin/aped
cp ./bin/aped /usr/bin/

But the build fails:
src/sock.c: In function ‘ape_connect’:
src/sock.c:113:12: warning: variable ‘ret’ set but not used 
[-Wunused-but-set-variable]
src/sock.c: In function ‘sockroutine’:
src/sock.c:267:11: warning: variable ‘ticks’ set but not used 
[-Wunused-but-set-variable]
src/sock.c:262:21: warning: variable ‘sl’ set but not used 
[-Wunused-but-set-variable]
src/cmd.c: In function ‘cmd_send’:
src/cmd.c:532:2: warning: variable ‘json_iterator’ set but not used 
[-Wunused-but-set-variable]
src/cmd.c: In function ‘cmd_left’:
src/cmd.c:569:2: warning: variable ‘json_iterator’ set but not used 
[-Wunused-but-set-variable]
gcc -D_GNU_SOURCE -Wall -g -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
libape-spidermonkey.c:28:19: fatal error: jsapi.h: No such file or directory

What am i doing wrong?



On Tuesday, October 2, 2012 11:15:28 PM UTC+2, younes0 wrote:
>
> I recommend you to use the 1.1.2 version for websocket support, so retry 
> the building from source operation.
> If you get that error, you need to reconfigure the build process.
>
> # .. compilation failed, reconfigure build:
> $ apt-get install autoconf2.13
> $ cd APE_Server/deps/js/src/
> $ rm ./configure && rm ./configure.cache
> $ autoconf2.13
> $ ./configure 
> $ ../.build.sh # retry the compilation
>
> See link for more information:
>
> http://groups.google.com/group/ape-project/tree/browse_frm/month/2011-03/0ce08a6974673ccd?rnum=61&_done=%2Fgroup%2Fape-project%2Fbrowse_frm%2Fmonth%2F2011-03%3F
>
>
> To keep the original APE installation files structure and ape-server 
> installed as a service, you can install from binary then replace the 'aped' 
> bin file with the new compiled one.
>
> # installation 1.1.0 for Ubuntu 64 bits
> apt-get install mysql-common
> wget 
> http://launchpadlibrarian.net/94808408/libmysqlclient16_5.1.58-1ubuntu5_amd64.deb
> dpkg -i libmysqlclient16_5.1.58-1ubuntu5_amd64.deb
> wget http://www.ape-project.org/stable/APE_Server-1.1.1-amd64.deb
> dpkg -i APE_Server-1.1.1-amd64.deb
>
> # update with 1.1.2 for websockets
> cd ~
> git clone https://github.com/APE-Project/APE_Server.git
> cd APE_Server/
> ./build.sh
> # if compiled
> service ape-server stop
> rm /usr/bin/aped
> cp ./bin/aped /usr/bin/
>
>
>

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