Error compiling latest APE version (1.01dev)

17 views
Skip to first unread message

Cadrach

unread,
Apr 8, 2010, 12:11:04 PM4/8/10
to APE Project
Hi,

I am trying to compile the latest version, and I get the following
error when running build.sh:

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/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/
bin/ld: cannot find -lmysac
collect2: ld returned 1 exit status


I am on Gentoo, and I already successufully installed previous
versions of APE. MySQL is installed and working on the server.

Thanks for any info!

++

Cadrach

Nicolas Trani

unread,
Apr 16, 2010, 7:08:55 PM4/16/10
to ape-p...@googlegroups.com
Hi Cadrach,

I think it's because mysac didn't compile. Try to go to
modules/deps/mysac and build mysac to see what is going wrong.

Regards.

Cadrach a écrit :
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
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/

Cadrach

unread,
Apr 18, 2010, 6:15:18 AM4/18/10
to APE Project
Hi Nicolas, thanks for your answer.

I trying doing a make in modules/deps/mysac and this is what I get:


make lib
make[1]: Entering directory `/home/apeNoWork/APE-Project-APE_Server-
a3d1686/modules/deps/mysac'
cc -DBUILDVER=0.4b -I/usr/include/mysql -O0 -g -Wall -fPIC -c -o
mysac.o mysac.c
In file included from mysac.c:25:
/usr/include/mysql/my_global.h:361:24: asm/atomic.h: No such file or
directory
make[1]: *** [mysac.o] Error 1
make[1]: Leaving directory `/home/apeNoWork/APE-Project-APE_Server-
a3d1686/modules/deps/mysac'
make: *** [build] Error 2

Any ideas?
> For more options, visit this group athttp://groups.google.com/group/ape-project?hl=en

Cadrach

unread,
Apr 30, 2010, 1:49:49 AM4/30/10
to APE Project
Heads up on this, we followed our provider advice and used his bundled
Gentoo release, which was VERY old.

Since it prevented us from upgrading to latest version on many things,
we rebuilt the server from the ground up and installed the latest
release. This solved all issues and APE now compiles successfully.

Thanks,

Cadrach
Reply all
Reply to author
Forward
0 new messages