Thanks! I am trying it right now, and I will report if it works.

On Wednesday, June 10, 2015 at 12:25:43 PM UTC-4, David Perkinson wrote:
>
> In case you didn't catch it, Nathann Cohen came up with a solution:
>
> Find the file called 'dependencies' in 
> SAGE_ROOT/build/pkgs/conway_polynomials/ and replace the line
>
>     | $(SAGERUNTIME)
>
> with
>
>     $(INST)/$(PEXPECT) | $(SAGERUNTIME) 
>
> Then run: 
>
> > export SAGE_KEEP_BUILT_SPKGS='yes'
> > make
>
> and wait for an hour.
>
> Alternatively, you could start from scratch with 
>
> > make distclean && make
>
>
>
>
> On Wednesday, June 10, 2015 at 7:36:09 AM UTC-7, Dinakar Muthiah wrote:
>>
>> Hello,
>>
>> Yesterday, I tried to build the development branch of Sage on my machine 
>> and failed. Apparently, the error occurs when attempting to build 
>> conway_polynomials-0.4.p0.
>>
>> Here are my machine specs:
>> Lubuntu 14.10 Virtual Machine running on Mac OSX Lion
>> The underlying hardware is a MacbookAir. In particular, it is a 64 bit 
>> processor.
>>
>> I'm posting the error message below. Please let me know if you need any 
>> further information, and of course, if anyone can help me to get the build 
>> to work.
>>
>> Thanks!
>> Dinakar Muthiah
>>
>>
>> Here is the error message that I get from the build (in particular, it 
>> suggests I post the message here). 
>>
>> Setting up build directory for conway_polynomials-0.4.p0
>> Finished set up
>> ****************************************************
>> Host system:
>> Linux dinakar-Lubuntu 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 
>> 17:37:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> ****************************************************
>> C compiler: gcc
>> C compiler version:
>> Using built-in specs.
>> COLLECT_GCC=/home/dmuthiah/sage/sage-git/local/bin/gcc
>>
>> COLLECT_LTO_WRAPPER=/home/dmuthiah/sage/sage-git/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
>> Target: x86_64-unknown-linux-gnu
>> Configured with: ../src/configure 
>> --prefix=/home/dmuthiah/sage/sage-git/local 
>> --with-local-prefix=/home/dmuthiah/sage/sage-git/local 
>> --with-gmp=/home/dmuthiah/sage/sage-git/local 
>> --with-mpfr=/home/dmuthiah/sage/sage-git/local 
>> --with-mpc=/home/dmuthiah/sage/sage-git/local --with-system-zlib 
>> --disable-multilib --disable-nls --enable-languages=c,c++,fortran 
>> --disable-libitm  
>> Thread model: posix
>> gcc version 4.9.2 (GCC) 
>> ****************************************************
>> Traceback (most recent call last):
>>   File "./spkg-install", line 4, in <module>
>>     from sage.all import save
>>   File 
>> "/home/dmuthiah/sage/sage-git/local/lib/python2.7/site-packages/sage/all.py",
>>  
>> line 84, in <module>
>>     from sage.misc.all       import *         # takes a while
>>   File 
>> "/home/dmuthiah/sage/sage-git/local/lib/python2.7/site-packages/sage/misc/all.py",
>>  
>> line 87, in <module>
>>     from functional import (additive_order,
>>   File 
>> "/home/dmuthiah/sage/sage-git/local/lib/python2.7/site-packages/sage/misc/functional.py",
>>  
>> line 26, in <module>
>>     import sage.interfaces.expect
>>   File 
>> "/home/dmuthiah/sage/sage-git/local/lib/python2.7/site-packages/sage/interfaces/expect.py",
>>  
>> line 58, in <module>
>>     import pexpect
>> ImportError: No module named pexpect
>>
>> real    0m0.272s
>> user    0m0.185s
>> sys    0m0.063s
>> ************************************************************************
>> Error installing package conway_polynomials-0.4.p0
>> ************************************************************************
>> Please email sage-devel (http://groups.google.com/group/sage-devel)
>> explaining the problem and including the relevant part of the log file
>>   /home/dmuthiah/sage/sage-git/logs/pkgs/conway_polynomials-0.4.p0.log
>> Describe your computer, operating system, etc.
>> If you want to try to fix the problem yourself, *don't* just cd to
>> /home/dmuthiah/sage/sage-git/local/var/tmp/sage/build/conway_polynomials-0.4.p0
>>  
>> and type 'make' 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/dmuthiah/sage/sage-git/local/var/tmp/sage/build/conway_polynomials-0.4.p0'
>>  
>> && '/home/dmuthiah/sage/sage-git/sage' --sh)
>> When you are done debugging, you can type "exit" to leave the subshell.
>> ************************************************************************
>> Makefile:739: recipe for target 
>> '/home/dmuthiah/sage/sage-git/local/var/lib/sage/installed/conway_polynomials-0.4.p0'
>>  
>> failed
>> make[2]: *** 
>> [/home/dmuthiah/sage/sage-git/local/var/lib/sage/installed/conway_polynomials-0.4.p0]
>>  
>> Error 1
>> make[2]: Leaving directory '/home/dmuthiah/sage/sage-git/build'
>> Makefile:562: recipe for target 'all' failed
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory '/home/dmuthiah/sage/sage-git/build'
>>
>> real    270m19.882s
>> user    235m20.678s
>> sys    23m59.507s
>> ***************************************************************
>> Error building Sage.
>>
>> The following package(s) may have failed to build:
>>
>> package: conway_polynomials-0.4.p0
>> log file: 
>> /home/dmuthiah/sage/sage-git/logs/pkgs/conway_polynomials-0.4.p0.log
>> build directory: 
>> /home/dmuthiah/sage/sage-git/local/var/tmp/sage/build/conway_polynomials-0.4.p0
>>
>> The build directory may contain configuration files and other potentially
>> helpful information. WARNING: if you now run 'make' again, the build
>> directory will, by default, be deleted. Set the environment variable
>> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>>
>> Makefile:19: recipe for target 'build' failed
>> make: *** [build] Error 1
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to