Ok, i have tried to compile sage for armel/fremantle, but run into an
error.

What i did is the following:

1)Run the maemo sdk virtual image on virtualbox (i didn't want to
install the sdk manually, so i opted for the easy option)

2)Unpack the sage source in a directory

3) Log in to scratchbox (it is the cross-compiling environment used
for arm/maemo).

4) cd to the directory where i unpacked sage code

5) make


The compilation went on fine for a while. But after around an hour, i
got the following output:

make[2]: Entering directory `/home/maemo/workspace/sage-4.3.1/spkg/
build/cliquer-1.2.p2/src'
gcc  -O2  -g  -Wall -fomit-frame-pointer -funroll-loops -c -fPIC  -
DENABLE_LONG_OPTIONS -o cl.o -c cl.c
gcc  -O2  -g  -Wall -fomit-frame-pointer -funroll-loops -c -fPIC   -I/
home/maemo/workspace/sage-4.3.1/local/include   -c -o cliquer.o
cliquer.c
gcc  -O2  -g  -Wall -fomit-frame-pointer -funroll-loops -c -fPIC   -I/
home/maemo/workspace/sage-4.3.1/local/include   -c -o graph.o graph.c
gcc  -O2  -g  -Wall -fomit-frame-pointer -funroll-loops -c -fPIC   -I/
home/maemo/workspace/sage-4.3.1/local/include   -c -o reorder.o
reorder.c
gcc  -L/home/maemo/workspace/sage-4.3.1/local/lib  -shared -Wl,-
soname,libcliquer.so -o libcliquer.so cl.o cliquer.o graph.o reorder.o
make[2]: Leaving directory `/home/maemo/workspace/sage-4.3.1/spkg/
build/cliquer-1.2.p2/src'
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/scratchbox/tools/bin/mkdir", line 3, in ?
    import sys, os, sb.config
  File "/home/maemo/workspace/sage-4.3.1/local/lib/python/os.py", line
120
    from os.path import (curdir, pardir, sep, pathsep, defpath,
extsep, altsep,
                        ^
SyntaxError: invalid syntax

real    0m1.496s
user    0m0.248s
sys     0m0.656s
sage: An error occurred while installing cliquer-1.2.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/maemo/workspace/sage-4.3.1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/maemo/workspace/sage-4.3.1/spkg/build/cliquer-1.2.p2 and type
'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/maemo/workspace/sage-4.3.1/spkg/build/cliquer-1.2.p2' && '/
home/maemo/workspace/sage-4.3.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/cliquer-1.2.p2] Error 1
make[1]: Leaving directory `/home/maemo/workspace/sage-4.3.1/spkg'

real    0m3.148s
user    0m0.412s
sys     0m1.340s
Error building Sage.




Any clue about how to solve this?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to