Sorted. My process may help:

Host: PandaBoard
Environment: Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-1456-omap4 armv7l), armhf

----

cd

sudo apt-get install build-essential libmysqlclient-dev zip unzip g++ gcc 
git vim

sudo apt-get install mozjs1850-1.0

wget http://ape-project.org/download/stable/APE_Server-1.1.2.zip

unzip APE_Server-1.1.2.zip

cd APE_Server-1.1.2.zip/

vim --> src/js/http.c: set architecture -- #define __arm 1

vim --> modules/Makefile: add "-lmozjs185-1.0", remove "-js_static" (was 
deprecated), change dir to -I/usr/include/js/ 

vim --> Makefile: add "-Wno-unused-but-set-variable", remove 
"-minline-all-stringops" and "-m64" (architecture-specific flags)

vim --> /etc/apt/source.list: deb 
http://security.debian.org/debian-security wheezy/updates main 
    // (I know, I feel somewhat dirty)

sudo apt-get update 
    // (this will probably fail due to unverified public key -- copy the 
key that's outputted and paste in place of "{KEY}" below)

gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv *{KEY}*
gpg --export --armor *{KEY}* | sudo apt-key add -
    // source/info: 
http://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey

wget 
http://ftp.us.debian.org/debian/pool/main/libf/libffi/libffi5_3.0.10-3+b1_armhf.deb
    // source/info: 
https://packages.debian.org/wheezy/armhf/libffi5/download 

sudo dpkg -i libffi5_3.0.10-3+b1_armhf.deb
sudo apt-get install spidermonkey-bin

js --help 
    // (just to make sure spidermonkey was installed properly)

./build.sh > makelog 2>&1

cd bin/

sudo ./aped

On Monday, August 29, 2011 7:23:45 PM UTC-4, Jeremy Mitts wrote:
>
> Here's the latest, anyone know anything about this? :)
>
> I got the headers installed, and the build.sh fails after it goes into 
> modules and tries to make.
>
> I ran make from there (APE-Project-APE_Server-7368a9c/modules) and output 
> 2> to a log file, and it was complaining about there not being a 
> ../deps/js/src/dist/include folder with a jsapi.h file in it. That file was 
> in ../deps/js/src (there is no dist or dist/include in deps/js/src) so I 
> changed the build line* to specify deps/js/src instead of 
> deps/js/src/dist/include. 
>
> The next errors are about it not being able to find js-configure.h, which 
> I've surmised is a file that is supposed to be generated as an earlier part 
> of the build process. It also wants jsautocfg.h, which also appears to be 
> something that is automatically generated at build. But I don't think I 
> even have whatever it was that was supposed to build those?
>
> I'm obviously missing something. The problem is likely between the chair 
> and keyboard.
>
> To recap, I'm trying to figure out how to build APE on an ARM 
> processor, specifically a global scale technologies dreamplug running deb 
> lenny 2.6.33. I have all the pre-reqs installed and I'm using gnu make. I'm 
> not cross compiling, but actually working on the dreamplug directly. I'd 
> really like to get it running APE.
>
>
> Thanks for any insight anyone out there may have.
>
>
> Jeremy 
>
>
> * -- to clarify: make ran this
>
> 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
>
> and I told it to do this
>
> 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/ -L../deps/js/src/ -ljs_static 
> -lstdc++ -L./deps/mysac/ -I./deps/mysac/ -lmysac -lmysqlclient_r
>
> instead.
>
>

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