On Sat, Jan 23, 2010 at 5:17 AM, mmarco <mma...@unizar.es> wrote:
> 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

What happens if you type this:

cd /home/maemo/workspace/sage-4.3.1
./sage -python
import sys, os


 -- William

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