i tried to understand the makefile inside modules folder and typed
this in the terminal

"cd modules/ && make all " and it gave me the following output

"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] Error 1
"

really grateful for your help

On Mar 30, 9:54 am, vineet naik <[email protected]> wrote:
> hi i am not sure if my earlier reply got posted.
>
> This is what i am getting upon doing "cd modules/ && make clean &&
> make "
>
> make: *** No rule to make target `clean'.  Stop.
>
> i installed build essential and cmake after doing some google search .
> Still it isnt working .
>
> Thanks
>
> On Mar 30, 9:00 am, Nicolas Trani <[email protected]> wrote:
>
> > It looks spidermonkey module is not complied. Go to the root folder of
> > APE and type :
>
> > cd modules/ && make clean && make
>
> > And post the output (if the oupout is too big post it on pastbin.com)
>
> > You can also revert your changes in javascript.conf scripts_path should
> > be ../scripts/
> > As you installed APE from source, the right way to launch it is from bin
> > folder and type ./aped
>
> > Regards.
>
> > vineet naik wrote:
> > > Hi Nicholas,
>
> > > Thanks a lot .
> > > That fixed the first error. Regarding the second one , i checked the
> > > thread as per which the reason is that the scripts arent loading. i
> > > tried to change value of scripts_path in javascript.conf from "../
> > > scripts/" to "../../scripts/" as scripts is located alongside modules
> > > dir. but still it isnt working .
>
> > > Also, since i am still new to linux, i have a basic doubt . Hope you
> > > dont mind.
>
> > >  i installed the ape server from the source by extracting the file and
> > > using the command ./build.sh . So to start the server i go inside the
> > > bin directory and do ./aped and it runs. Is this the right way to do
> > > it ? I am doubtful because it gives me only the following output in
> > > the terminal and nothing regarding the scripts as mentioned in that
> > > thread
>
> > > [WARN] You have to run 'aped' as root to increase r_limit
> > >    _   ___ ___
> > >   /_\ | _ \ __|
> > >  / _ \|  _/ _|
> > > /_/ \_\_| |___|
> > > AJAX Push Engine
>
> > > Bind on port 6969
>
> > > Version : 1.00
> > > Build   : Mar 30 2010 07:43:49
> > > Author  : Weelya ([email protected])
>
> > > Thats it.
>
> > > The command mentioned in the thread
> > > "/usr/bin/ape-server --cfg /etc/ape/ape.conf " doesnt  work .
>
> > > Thanks again.
>
> > > On Mar 30, 8:09 am, Nicolas Trani <[email protected]> wrote:
>
> > >> Hi,
>
> > >> you have two errors :
>
> > >>     * The first is "ERREUR: bind(6969) (non-root ?).. (src/sock.c line:
> > >>       88)" you'll find some information on how to fix it on this page :
> > >>      http://www.ape-project.org/wiki/index.php/APE_Server_does_not_start
> > >>       First try to kill your ape server and then launch it again.
> > >>     * The BAD_CMD error you have in the check tool mean the APE Server
> > >>       is launched, but it wasn't able to load some module. This thread
> > >>      
> > >> http://groups.google.com/group/ape-project/browse_thread/thread/16dc9...
> > >>       might help you to fix it.
>
> > >> Regards.
>
> > >> vineet naik wrote:
>
> > >>> Hi,
>
> > >>> Following is the debug output that i am getting when i click on launch
> > >>> test
>
> > >>> "Running test : Contacting APE Server
> > >>> Connection etablished but something went wrong. Server response is
>
> > >>> [{"time":"1269944715","raw":"ERR","data":
> > >>> {"code":"003","value":"BAD_CMD"}}]
>
> > >>> Something went wrong. If you can't fix it by yourself post a message
> > >>> on the newsgroups with the output below or join our IRC channel"
>
> > >>> I am new to linux as well as APE and am not able to figure out what
> > >>> the problem is .
>
> > >>> Also i noticed that, when i launch the APE server from the Terminal,
> > >>> it gives the following  error but starts the server
>
> > >>> ERREUR: bind(6969) (non-root ?).. (src/sock.c line: 88)
>
> > >>> To start the server i am using the command ./aped inside the APE/bin
> > >>> directory. Is it the right way to start it ?
>
> > >>> I have created a virtual host and the directory is inside /var/www/
> > >>> folder while the server is in home/user.
>
> > >>> Please help !
>
> > >> --
> > >> Nicolas Trani - Web engineer
> > >> Weelya - Improve the web
> > >> 32 rue du faubourg boutonnet
> > >> 34090 Montpellier
> > >> Tel: 04 67 169 778 - Fax: 09 57 91 99 
> > >> 91http://www.weelya.comhttp://www.ape-project.org
>
> > --
> > Nicolas Trani - Web engineer
> > Weelya - Improve the web
> > 32 rue du faubourg boutonnet
> > 34090 Montpellier
> > Tel: 04 67 169 778 - Fax: 09 57 91 99 
> > 91http://www.weelya.comhttp://www.ape-project.org

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

To unsubscribe from this group, send email to 
ape-project+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to