On Tuesday, May 21, 2013 1:24:08 AM UTC-4, ghm...@mst.edu wrote:
>
> Alright, here's all of the information that seems relevant:
>
> I'm running Ubuntu 12.04 as a Virtual Machine (More than enough memory - 
> up to 100 GB if needed for everything!) hosted on a Windows 8 laptop.  I 
> inherited a massive code base reliant on Sage to do the background 
> mathematics and many of the function calls and background work makes use of 
> Sage, in addition to the fact that I am not the only programmer and have 
> very little to do with Sage, needing it only to work correctly so that I 
> may work on the GUI side of things.  The code base uses Sage 4.6 along with 
> some overwritten sage functions to accomplish what we need to do...only 
> available in 4.6.
>
>
Presumably "last available in".  Is this perchance due to 

http://trac.sagemath.org/sage_trac/ticket/10043
http://trac.sagemath.org/sage_trac/ticket/10151

in which case it's possible that we here (or on sage-support, or wherever) 
could get your group up to speed with the new interface.  Nathann, do you 
know how hard it would be to update legacy code?  Maybe more than just 
solver=solver added everywhere... 

Naturally, this all assumes the OP's code is in fact GPL-compatible ;-)  We 
would be very interested in helping advertise projects which use Sage, so 
if you let us know that would be wonderful!
 

> My python spkg build log is attached (or at least I think it is.  I'm more 
> familiar with pypy and have little experience installing stuff like this 
> from scratch.  If this isn't it, please direct me to the correct file. 
>  Thanks!)
>
>
Yes, here we aren't installing a Python package, but rather building Python 
itself from scratch.

The following seems relevant.

building 'crypt' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -I. 
-I/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src/./Include 
-I. -IInclude -I./Include -I/home/george/APCG/apcg/mcp/sage/local/include 
-I/usr/local/include 
-I/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src/Include 
-I/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src -c 
/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src/Modules/cryptmodule.c
 
-o 
build/temp.linux-i686-2.6/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src/Modules/cryptmodule.o
gcc -pthread -shared -L/home/george/APCG/apcg/mcp/sage/local/lib -I. 
-IInclude -I./Include -I/home/george/APCG/apcg/mcp/sage/local/include 
build/temp.linux-i686-2.6/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9/src/Modules/cryptmodule.o
 
-L/home/george/APCG/apcg/mcp/sage/local/lib -L/usr/local/lib -L. 
-lpython2.6 -o build/lib.linux-i686-2.6/crypt.so
*** WARNING: renaming "crypt" since importing it failed: 
build/lib.linux-i686-2.6/crypt.so: undefined symbol: crypt

Failed to find the necessary bits to build these modules:
_bsddb             _curses            _curses_panel   
_hashlib           _ssl               bsddb185        
dbm                gdbm               linuxaudiodev   
ossaudiodev        sunaudiodev                        
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
crypt              nis                                


 
The first hit on a Google search for the crypt error message is

http://groups.google.com/group/sage-devel/browse_thread/thread/593b9a4124f5075d

which leads to 

http://trac.sagemath.org/sage_trac/ticket/11243

and it looks like 

http://boxen.math.washington.edu/home/kirkby/patches/python-2.6.4.p10.spkg

might be what you want.  This issue went away in Python 2.7 so it is no 
longer an issue.

Anything else that would be useful? 
>
>>
>>  

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to