Okay...

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


The other weird thing is that I get the following permission denied:


make[1]: Entering directory `/home/roman/Software/sage-4.7/spkg'
/home/roman/Software/sage-4.7/spkg/pipestatus "sage-spkg $
{SAGE_SPKG_OPTS} python-2.6.4.p11 2>&1" "tee -a /home/roman/Software/
sage-4.7/spkg/logs/python-2.6.4.p11.log"
Warning: Attempted to overwrite SAGE_ROOT environment variable
python-2.6.4.p11
Machine:
Linux lmde64 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64
GNU/Linux
Deleting directories from past builds of previous/current versions of
python-2.6.4.p11
rm: cannot remove `python-2.6.4.p10/.hg': Permission denied
rm: cannot remove `python-2.6.4.p10/src/Makefile.pre.in': Permission
denied
rm: cannot remove `python-2.6.4.p10/src/Objects/floatobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/boolobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/codeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/funcobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/abstract.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/tupleobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/boolobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/setobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/dictobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/stringobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/rangeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/methodobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/stringobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bytearrayobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/exceptions.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/longobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/listsort.txt':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/fileobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/tupleobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/frameobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/iterobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bufferobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/structseq.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/moduleobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/typeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/genobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/weakrefobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/fileobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/floatobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/enumobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/enumobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/genobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/abstract.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/intobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/intobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/obmalloc.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodectype.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/dictnotes.txt':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/classobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/rangeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bytearrayobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/typeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/listobject.c':
Permission denied
... etc


what is going on here?


On Jun 27, 9:19 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> On Jun 26, 10:17 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > I basically swapped the python-2.6.4.p11.spkg file in /sage-4.7/spkg/
> > standard with the patched one and got the same error.
> > Am I doing something wrong?
>
> hmm, hard to say.
> IMHO, you need to post the truly relevant part of install.log, where
> the
> attempt to build the crypt module is being made.
> (what you posted just says that it has failed, for a reason we can
> only guess)
>
>
>
>
>
>
>
>
>
> > On Jun 26, 12:08 pm, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> > > On Jun 25, 10:20 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > > > I have that package installed already =/
>
> > > you probably need to install the patches 
> > > onhttp://trac.sagemath.org/sage_trac/ticket/11447
>
> > > > On Jun 25, 4:26 pm, Volker Braun <vbraun.n...@gmail.com> wrote:
>
> > > > > I haven't encountered that myself but I think you need openssl 
> > > > > development
> > > > > packages installed. Might be called libssl-dev in debian.

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