Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage-4.8 installation failed in ubuntu 10.04

First of all: information related to my computer (output of uname -a): Linux myname-desktop 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:47:32 UTC 2012 i686 GNU/Linux

I was trying to install sage-4.8 from source in ubuntu 10.04. I had downloaded the sage-4.8.tar archive, created the sage-4.8 directory and then used the command "make" inside the sage-4.8 directory. After nearly two hours, I got the report (only relevant part is shown below):


Traceback (most recent call last): File "setup.py", line 830, in <module> execute_list_of_commands(queue) File "setup.py", line 287, in execute_list_of_commands execute_list_of_commands_in_parallel(command_list, nthreads) File "setup.py", line 238, in execute_list_of_commands_in_parallel p = Pool(nthreads) File "/home/myname/sage-4.8/local/lib/python/multiprocessing/__init__.py", line 227, in Pool return Pool(processes, initializer, initargs) File "/home/myname/sage-4.8/local/lib/python/multiprocessing/pool.py", line 84, in __init__ self._setup_queues() File "/home/myname/sage-4.8/local/lib/python/multiprocessing/pool.py", line 131, in _setup_queues self._inqueue = SimpleQueue() File "/home/myname/sage-4.8/local/lib/python/multiprocessing/queues.py", line 328, in __init__ self._rlock = Lock() File "/home/myname/sage-4.8/local/lib/python/multiprocessing/synchronize.py", line 117, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1) File "/home/myname/sage-4.8/local/lib/python/multiprocessing/synchronize.py", line 49, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)

"OSError: [Errno 30] Read-only file system sage: There was an error installing modified sage library code. ERROR installing Sage make[1]: * [installed/sage-4.8] Error 1 make[1]: Leaving directory `/home/myname/sage-4.8/spkg'

real 126m42.538s user 121m51.361s sys 12m44.712s Error building Sage. make: * [build] Error 1"


Earlier I thought I probably should have used the command "sudo make" rather than "make" but later I found, in sage installation guide and also in ubuntu pages that I am allowed to use the command "make". Please suggest what I should do now. Will it be proper to use the "sudo make" command at this stage or should I do something about the already created sage-files and directories (in the failed installation process)?

Sage-4.8 installation failed in ubuntu 10.04

First of all: information related to my computer (output of uname -a): Linux myname-desktop 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:47:32 UTC 2012 i686 GNU/Linux

I was trying to install sage-4.8 from source in ubuntu 10.04. I had downloaded the sage-4.8.tar archive, created the sage-4.8 directory and then used the command "make" inside the sage-4.8 directory. After nearly two hours, I got the report (only relevant part is shown below):


Traceback (most recent call last): File "setup.py", line 830, in <module> <module>

execute_list_of_commands(queue)
 

File "setup.py", line 287, in execute_list_of_commands execute_list_of_commands

execute_list_of_commands_in_parallel(command_list, nthreads)
 

File "setup.py", line 238, in execute_list_of_commands_in_parallel execute_list_of_commands_in_parallel

p = Pool(nthreads)
 

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/__init__.py", line 227, in Pool Pool

return Pool(processes, initializer, initargs)
 

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/pool.py", line 84, in __init__ self._setup_queues() self._setup_queues()

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/pool.py", line 131, in _setup_queues self._inqueue = SimpleQueue() SimpleQueue()

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/queues.py", line 328, in __init__ self._rlock = Lock() Lock()

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/synchronize.py", line 117, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1) 1)

File "/home/myname/sage-4.8/local/lib/python/multiprocessing/synchronize.py", line 49, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)

"OSError: [Errno 30] Read-only file system system

sage: There was an error installing modified sage library code. code.

ERROR installing Sage Sage

make[1]: * [installed/sage-4.8] Error 1 1

make[1]: Leaving directory `/home/myname/sage-4.8/spkg'

real 126m42.538s 126m42.538s

user 121m51.361s 121m51.361s

sys 12m44.712s 12m44.712s

Error building Sage. Sage.

make: * [build] Error 1"


Earlier I thought I probably should have used the command "sudo make" rather than "make" but later I found, in sage installation guide and also in ubuntu pages that I am allowed to use the command "make". Please suggest what I should do now. Will it be proper to use the "sudo make" command at this stage or should I do something about the already created sage-files and directories (in the failed installation process)?