Thanks Pablo.

This looks a bit too complicated for me here. I have had a look at the 
Makefile but you probably changed it quite a bit so it makes it difficult 
for me to see what I would need to change. And I dont feel really 
comfortable here.

The good news is that I managed to recompile the main version and make it 
work. I was a little bit worried that I had broken my whole server.

I'll probably get in touch with the author of mysac (who might understand 
the problem better than me).

An alternative is for someone to have a look at it and recompile APE with 
the latest mysac. As I said, mysac has had many bug corrections 
(see http://www.arpalert.org/mysac.html). We use version 0.4. It would be 
really worth updating (as far as I am concerned, I probably have memory 
leaks in my application and it may come from mysac).

Thanks again.

Nicolas.




Le mardi 2 septembre 2014 19:19:43 UTC+1, Pablo a écrit :
>
> Im not proficient in C but it could be a simlink problem.
>
> I don't have a dedicated server for APE so the way i made it work was by 
> installing the MySQL package in my home directory.
> Then modifying the Makefile in the modules directory to reference the 
> installation lib directory:
>
>  @$(CC) *-L/home/xxxxxx/mysql/lib* $(CFLAGS) $(CLFLAGS) $(DEBUGFLAGS) 
> $(PROFILEFLAGS) -o lib/$(SPIDERMONKEYMOD) $< $(UDNS) $(FLAGS) $(MYSQL_FLAGS)
>
> And on the bash_profile of the ssh account added this line which also 
> references the the custom mysql lib directory:
>
> export LD_LIBRARY_PATH=$HOME/mysql/lib
>
> Hope it helps.
>
>
> On Tue, Sep 2, 2014 at 1:22 PM, Nicolas <[email protected] <javascript:>> 
> wrote:
>
>> Actually, I am not sure I ever recompiled with any other version than 
>> 0.4. That's what I recommended here:
>>
>> https://groups.google.com/forum/#!searchin/ape-project/mysac$20version$20replace/ape-project/Vx9TlmQH1Ac/DR_De4MvKGoJ
>> but I might not have done it (as I did not have any issue).
>>
>> This said, with my latest compile (normal compile from scratch with Mysac 
>> 0.4 version), I got this error message:
>>
>> :TypeError: 0 is not a function
>>
>> after calling some basic queries. This made me think of the bug that the 
>> mysac author had told me about (if the query returns NULL, mysac crashes). 
>> So, I wanted to try and get rid of this error by updating mysac. It may not 
>> be possible, you are right. 
>>
>> But it looks like I have a simlink problem no?
>>
>>
>>
>>
>>
>> Le mardi 2 septembre 2014 18:13:20 UTC+1, Nicolas a écrit :
>>
>>> I remember compiling APE with version 0.9
>>>
>>> and it worked.
>>>
>>> But this does not seem to be the problem. It looks like I am missing a 
>>> simlink, no?
>>>
>>>
>>>
>>> Le mardi 2 septembre 2014 18:10:17 UTC+1, Pablo a écrit :
>>>>
>>>> I dont think you could just replace the MySac library. The API might 
>>>> have changed .
>>>> On Sep 2, 2014 1:07 PM, "Nicolas" <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have just installed the latest APE, but got a Mysql error. I 
>>>>> strongly suspect that this is due to the fact that APE uses an old 
>>>>> version 
>>>>> of Mysac (0.4) when it should use a newer one.
>>>>>
>>>>> So I recompiled APE with the latest Mysac (1.1.1).
>>>>>
>>>>> I copied-pasted aped and libmod_spidermonkey.so
>>>>>
>>>>> When running APE, I get this message:
>>>>>
>>>>> root@server56405:/etc# [Module] Failed to load 
>>>>> /ape_staging/modules/libmod_spidermonkey.so [Invalid library] 
>>>>> (libmysac.so.0.0: cannot open shared object file: No such file or 
>>>>> directory)
>>>>>
>>>>>  What should I do?
>>>>>
>>>>> -- 
>>>>> -- 
>>>>> 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/
>>>>>
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "APE Project" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>  -- 
>> -- 
>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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/
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "APE Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to