Thanks for answer!

libmysql++-dev - as i understood, this is for ubuntu. In my gentoo I
did following:

1. Installed mysql++ version 3.0.9
2. Cloned APE_Server from git to new directory
3. built aped

after starting i got my old error:
[Module] Failed to load ../modules/lib/libmod_spidermonkey.so [Invalid
library] (../modules/lib/libmod_spidermonkey.so: undefined symbol:
memcpy_fixed)

What changes installed mysql++, mysac will use it?

Thanks for help!

2011/2/23 tunisiano <[email protected]>:
> try to install libmysql++-dev after that re-compile aped
>
> On Feb 23, 8:10 am, pavimus <[email protected]> wrote:
>> Hi, All!
>>
>> I successfully used aped on my previous server, and ape is great! now
>> i must setup it on my new server and i got problems: aped compiles
>> successully, but when i run it, see the error:
>>
>> h03 bin # ./aped
>>    _   ___ ___
>>   /_\ | _ \ __|
>>  / _ \|  _/ _|
>> /_/ \_\_| |___|
>> AJAX Push Engine
>>
>> Bind on port 6969
>>
>> Version : 1.01dev
>> Build   : Feb 21 2011 11:30:16
>> Author  : Weelya ([email protected])
>>
>> [Module] Failed to load ../modules/lib/libmod_spidermonkey.so [Invalid
>> library] (../modules/lib/libmod_spidermonkey.so: undefined symbol:
>> memcpy_fixed)
>>
>> I found, that problem is in mysac library, after adding:
>> #ifdef BAD_MEMCPY                       /* Problem with gcc on Alpha
>> */
>> #define memcpy_fixed(A,B,C) bmove((A),(B),(C))
>> #else
>> #define memcpy_fixed(A,B,C) memcpy((A),(B),(C))
>> #endif
>>
>> to mysac.h (i taked this code from /usr/include/mysql/m_string.h).
>> When i tried to include mysql/m_string.h in mysac.h
>> it fails to compile. Now i got next error from tracemonkey:
>>
>>   /_\ | _ \ __|
>>  / _ \|  _/ _|
>> /_/ \_\_| |___|
>> AJAX Push Engine
>>
>> Bind on port 6969
>>
>> Version : 1.01dev
>> Build   : Feb 23 2011 06:56:18
>> Author  : Weelya ([email protected])
>>
>> [Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
>> Anthony Catel
>> [JS] Loading script ../scripts/framework/mootools.js...
>> Segmentation fault
>>
>> there is coredump backtrace:
>> #0  0x00000267d34de1f3 in nanojit::CodeAlloc::alloc(unsigned char*&,
>> unsigned char*&) () from ../modules/lib/libmod_spidermonkey.so
>> (gdb) bt
>> #0  0x00000267d34de1f3 in nanojit::CodeAlloc::alloc(unsigned char*&,
>> unsigned char*&) () from ../modules/lib/libmod_spidermonkey.so
>> #1  0x00000267d34d9438 in nanojit::Assembler::codeAlloc(unsigned
>> char*&, unsigned char*&, unsigned char*&) ()
>>    from ../modules/lib/libmod_spidermonkey.so
>> #2  0x00000267d34f46da in nanojit::Assembler::nativePageSetup() ()
>> from ../modules/lib/libmod_spidermonkey.so
>> #3  0x00000267d34d9ae5 in
>> nanojit::Assembler::beginAssembly(nanojit::Fragment*) () from ../
>> modules/lib/libmod_spidermonkey.so
>> #4  0x00000267d34e3f59 in nanojit::compile(nanojit::Assembler*,
>> nanojit::Fragment*, nanojit::Allocator&) ()
>>    from ../modules/lib/libmod_spidermonkey.so
>> #5  0x00000267d34b471e in TraceRecorder::compile() () from ../modules/
>> lib/libmod_spidermonkey.so
>> #6  0x00000267d34bef95 in TraceRecorder::closeLoop(SlotMap&,
>> VMSideExit*) () from ../modules/lib/libmod_spidermonkey.so
>> #7  0x00000267d34bf4a5 in TraceRecorder::closeLoop(VMSideExit*) ()
>> from ../modules/lib/libmod_spidermonkey.so
>> #8  0x00000267d34c3db4 in TraceRecorder::checkTraceEnd(unsigned char*)
>> () from ../modules/lib/libmod_spidermonkey.so
>> #9  0x00000267d34d57e9 in TraceRecorder::monitorRecording(JSOp) ()
>> from ../modules/lib/libmod_spidermonkey.so
>> #10 0x00000267d34fd34a in js_Interpret () from ../modules/lib/
>> libmod_spidermonkey.so
>> #11 0x00000267d3414810 in js_Execute () from ../modules/lib/
>> libmod_spidermonkey.so
>> #12 0x00000267d33c7956 in JS_ExecuteScript () from ../modules/lib/
>> libmod_spidermonkey.so
>> #13 0x00000267d33bf99f in ape_sm_include () from ../modules/lib/
>> libmod_spidermonkey.so
>> #14 0x00000267d3413824 in js_Invoke () from ../modules/lib/
>> libmod_spidermonkey.so
>> #15 0x00000267d34f7d45 in js_Interpret () from ../modules/lib/
>> libmod_spidermonkey.so
>> #16 0x00000267d3413d7d in js_Invoke () from ../modules/lib/
>> libmod_spidermonkey.so
>> #17 0x00000267d3414392 in js_InternalInvoke () from ../modules/lib/
>> libmod_spidermonkey.so
>> #18 0x00000267d33c738a in JS_CallFunctionValue () from ../modules/lib/
>> libmod_spidermonkey.so
>> #19 0x00000267d33beb63 in ape_fire_callback.clone.5 () from ../modules/
>> lib/libmod_spidermonkey.so
>> #20 0x00000267d33bf816 in init_module () from ../modules/lib/
>> libmod_spidermonkey.so
>> #21 0x0000003e0fe18191 in findandloadplugin ()
>> #22 0x0000003e0fe0ca48 in main ()
>>
>> Can anyone give me advice how solve this problems? which  additional
>> info is needed?
>>
>> info about new server:
>> Hardened Gentoo Linux amd64
>> gcc version 4.5.1 (Gentoo Hardened 4.5.1-r1 p1.4, pie-0.4.5)
>> glibc-2.12.1
>> kernel 2.6.36-hardened-
>> r6
>> mysql 5.1.53
>>
>> Thanks for help!
>
> --
> 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 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