Dear Andrea,

Run this in a terminal:
 sudo apt-get install dpkg-dev
and try again please.

Regards,
Jan


On 14 October 2011 18:59, akm <andrew.mussel...@gmail.com> wrote:

> Hi group, just a quick note that building sage-4.7.1 from source on a
> fresh install of Ubuntu 11.10 fails with this in the end of the log:
>
>
> Sleeping for three seconds before testing python
> math module imported OK
> hashlib module imported OK
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> ImportError: No module named crypt
> crypt module failed to import
> Error: One or more modules failed to import.
> /usr/bin/dpkg
> You may have to install 'dpkg-architecture'
> which is part of the Debian package 'dpkg-dev'.
> Try installing it by typing
>    sudo apt-get install dpkg-dev
> and rerun 'make'.
>
> real    6m39.244s
> user    4m46.190s
> sys     0m43.071s
> sage: An error occurred while installing python-2.6.4.p11
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/amusselman/Applications/sage-4.7.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/amusselman/Applications/sage-4.7.1/spkg/build/python-2.6.4.p11
> 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/amusselman/Applications/sage-4.7.1/spkg/build/
> python-2.6.4.p11' && '/home/amusselman/Applications/sage-4.7.1/sage' -
> sh)
> When you are done debugging, you can type "exit" to leave the
> subshell.
> make[1]: *** [installed/python-2.6.4.p11] Error 1
> make[1]: Leaving directory `/home/amusselman/Applications/sage-4.7.1/
> spkg'
>
> real    19m8.440s
> user    12m1.489s
> sys     2m11.224s
> Error building Sage.
>
>
>
> --
> 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
>



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

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