[sage-support] Re: Installation problem

2020-04-21 Thread slelievre


Le mardi 21 avril 2020 18:59:01 UTC+2, Santanu a écrit :
>
> Dear all,
>   I am trying to install Sage 9.0. But I am getting error. 
> I have upgraded from Ubuntu 14.04 to Ubuntu 18.04.
> I am getting this:
>
> (base) 
> santanu@Santanu-Laptop:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$ make
> ...
> .
> make[1]: *** 
> [/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/lib/sage/installed/pkgconf-0.9.7.p2]
>  
> Error 1
> make[1]: Leaving directory 
> '/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/build/make'
>
> real 0m48.492s
> user 0m1.040s
> sys 0m0.363s
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make base-toolchain'):
>
> * package: pkgconf-0.9.7.p2
>   log file: 
> /home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/logs/pkgs/pkgconf-0.9.7.p2.log
>   build directory: 
> /home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/tmp/sage/build/pkgconf-0.9.7.p2
>
> 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:31: recipe for target 'base-toolchain' failed
> make: *** [base-toolchain] Error 1
> (base) 
> santanu@Santanu-Laptop:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$
>

If you downloaded the Ubuntu version

  sage-9.0-Ubuntu_18.04-i686

from the download-linux page on the SageMath website,
you don't need to run `make`, it should be ready to use.

If you want to build from source, you should

- download the source file, preferrably for the latest
  development version, currently SageMath 9.1.rc0

- install the prerequisites listed at

https://wiki.sagemath.org/prerequisites/Ubuntu

- run

make configure
./configure

- follow the recommendations at the end of that stage
  (it might suggest installing a few more system packages)

- then run

make -s V=0



-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/131e2e52-3907-44db-aa5e-55e08f5d01b3%40googlegroups.com.


[sage-support] Re: Installation problem for Sage 7.1 on MacOS X 10.11.3 El Capitan

2016-04-01 Thread FG R
OK guys

so to be more specific, I had my problem when i wanted to make an install 
with downloading the .app.dmg file

i deleted that install, and reinstalled with the .dmg file only
i do get a terminal opened when double clicking on the sage icon, i typed 
in notebook() and Sage DOES open in Chrome, its working fine 

so, problem solved to me doing the installation without the app.dmg file. I 
leave it to the devs to figure out why this install works and not the other 
one...

Thanks very much for your help

Le samedi 2 avril 2016 11:16:08 UTC+9, FG R a écrit :
>
> hi volker
>
> i'm a total noob in MacOS i bought my first Mac days ago. i was running 
> Windows prior to that (and managed to install SAGE for Windows)
>
> i open the terminal but 
>  /path/to/SageMath.app/Contents/Resources/sage/sage doesn't work
>
> maybe you want me to specify the exact path instead of "path/to"
>
> i don't see in which dir sagemath is installed. maybe its in a hidden 
> directory ?
>
> thanks for your help
>
> Le samedi 2 avril 2016 05:57:18 UTC+9, Volker Braun a écrit :
>>
>> What happens if you try to run it by hand? In a terminal: 
>> /path/to/SageMath.app/Contents/Resources/sage/sage
>>
>>
>>
>> On Friday, April 1, 2016 at 7:31:28 PM UTC+2, FG R wrote:
>>>
>>> I’ve installed SAGE on my brand new iMac Retina running on OS X El 
>>> Capitan 10.11.3
>>> after downloading the file 
>>>
>>> sage-7.2.beta0-OSX_10.11.4-x86_64.app.dmg from a mirror site in Japan
>>>
>>> the installation seems to be ok
>>>
>>> however when double click on the Sage application, a new folder in the 
>>> Chrome browser opens up
>>> saying 
>>> The Sage server is currently starting. Please wait...
>>> after a while (around 1minute) I get an error message
>>>
>>> Sage Server failed to start
>>> Please check the log for clues and have that information handy when 
>>> asking for help
>>>
>>> does it come from the Firewall perhaps ? i have AVAST Mac Security 2015 
>>> installed 
>>>
>>> the log is 
>>> Checking install location
>>> Checking existence of SageNB directory
>>> Starting Notebook in Terminal
>>> Checking install location
>>> Checking existence of SageNB directory
>>> Starting Notebook in Terminal
>>> Checking install location
>>> Checking existence of SageNB directory
>>> Starting Notebook in Terminal
>>>
>>> thanks for your hel
>>>
>>  
>

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


[sage-support] Re: Installation problem for Sage 7.1 on MacOS X 10.11.3 El Capitan

2016-04-01 Thread FG R
hi volker

i'm a total noob in MacOS i bought my first Mac days ago. i was running 
Windows prior to that (and managed to install SAGE for Windows)

i open the terminal but  /path/to/SageMath.app/Contents/Resources/sage/sage 
doesn't work

maybe you want me to specify the exact path instead of "path/to"

i don't see in which dir sagemath is installed. maybe its in a hidden 
directory ?

thanks for your help

Le samedi 2 avril 2016 05:57:18 UTC+9, Volker Braun a écrit :
>
> What happens if you try to run it by hand? In a terminal: 
> /path/to/SageMath.app/Contents/Resources/sage/sage
>
>
>
> On Friday, April 1, 2016 at 7:31:28 PM UTC+2, FG R wrote:
>>
>> I’ve installed SAGE on my brand new iMac Retina running on OS X El 
>> Capitan 10.11.3
>> after downloading the file 
>>
>> sage-7.2.beta0-OSX_10.11.4-x86_64.app.dmg from a mirror site in Japan
>>
>> the installation seems to be ok
>>
>> however when double click on the Sage application, a new folder in the 
>> Chrome browser opens up
>> saying 
>> The Sage server is currently starting. Please wait...
>> after a while (around 1minute) I get an error message
>>
>> Sage Server failed to start
>> Please check the log for clues and have that information handy when 
>> asking for help
>>
>> does it come from the Firewall perhaps ? i have AVAST Mac Security 2015 
>> installed 
>>
>> the log is 
>> Checking install location
>> Checking existence of SageNB directory
>> Starting Notebook in Terminal
>> Checking install location
>> Checking existence of SageNB directory
>> Starting Notebook in Terminal
>> Checking install location
>> Checking existence of SageNB directory
>> Starting Notebook in Terminal
>>
>> thanks for your hel
>>
>  

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


[sage-support] Re: Installation problem for Sage 7.1 on MacOS X 10.11.3 El Capitan

2016-04-01 Thread Volker Braun
What happens if you try to run it by hand? In a terminal: 
/path/to/SageMath.app/Contents/Resources/sage/sage



On Friday, April 1, 2016 at 7:31:28 PM UTC+2, FG R wrote:
>
> I’ve installed SAGE on my brand new iMac Retina running on OS X El Capitan 
> 10.11.3
> after downloading the file 
>
> sage-7.2.beta0-OSX_10.11.4-x86_64.app.dmg from a mirror site in Japan
>
> the installation seems to be ok
>
> however when double click on the Sage application, a new folder in the 
> Chrome browser opens up
> saying 
> The Sage server is currently starting. Please wait...
> after a while (around 1minute) I get an error message
>
> Sage Server failed to start
> Please check the log for clues and have that information handy when asking 
> for help
>
> does it come from the Firewall perhaps ? i have AVAST Mac Security 2015 
> installed 
>
> the log is 
> Checking install location
> Checking existence of SageNB directory
> Starting Notebook in Terminal
> Checking install location
> Checking existence of SageNB directory
> Starting Notebook in Terminal
> Checking install location
> Checking existence of SageNB directory
> Starting Notebook in Terminal
>
> thanks for your help
>

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


[sage-support] Re: Installation problem on Mac OS X

2016-03-31 Thread Volker Braun
Do you have SAGE_ROOT set permanently 
to Users/echolalie/Desktop/Sage-6.9.app for some reason? E.g. ~/.bashrc 
~/.bash_profile, ...,

Also, the "-bash: PS1: command not found" is suspicious. Not a Sage 
problem, but most likely an issue with your init files. What is $PS1?



On Thursday, March 31, 2016 at 8:27:37 PM UTC+2, Jacques Tramu wrote:
>
>  Hi, after installation of Sage-6.9 which did not work (unknow signal at 
> startup), I installed
> Sage 7-1. osX-10-11.3-x86-64 
> IT aborts with the following message :
>
>
> Last login: Thu Mar 31 19:20:44 on ttys000
> -bash: PS1: command not found
> '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook
> iMac-de-Jacques-Tramu:~ echolalie$ 
> '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook
> /Applications/SageMath-7.1.app/Contents/Resources/sage/sage: line 118: cd: 
> /Users/echolalie/Desktop/Sage-6.9.app/Contents/Resources/sage: No such file 
> or directory ?
> /Applications/SageMath-7.1.app/Contents/Resources/sage/sage: cannot 
> determine SAGE_ROOT directory ??
>
> Can you HELP ?
> Thanks
>
>
>

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


[sage-support] Re: Installation problem

2015-04-21 Thread Stan Schymanski
I faced the same problem when installing sage on a different computer and 
then copying my .sage folder from my original computer across. First I had 
a permission problem and when fixing this by chown -R newuser .sage, I got 
the Errno 39 as above. I found out that some symlinks didn't copy across 
(even when using rsync with pretty much preserve everything...), causing 
the Errno 39. These symlinks reside in .sage/sage_notebook.sagenb/home/ and 
after copying them over manually, the notebook starts again. I hope someone 
can give advice on how to properly migrate the .sage folder to a new 
computer properly without manual interaction.

On Monday, December 10, 2012 at 1:41:27 PM UTC+1, Emmanuel wrote:
>
> Good afternoon,
>
> Havin installed sage 5.4 on my Ubuntu distribution 12.10, I have no 
> problem to run sage in a terminal. However, I can no more run it on my 
> browser , apparently due to exceptions.OSError: [Errno 39] Directory not 
> empty (see below). If I delet the .sage directory in mu user directory, 
> then everything works fine but I have no more access to my old worksheets. 
> Can someone suggest an idea of what is happening?
>
> Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny 
> "sage_notebook.sagenb/twistedconf.tac"
> 2012-12-10 13:30:52+0100 [-] Log opened.
> 2012-12-10 13:30:52+0100 [-] twistd 12.1.0 
> (/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/bin/python 
> 2.7.3) starting up.
> 2012-12-10 13:30:52+0100 [-] reactor class: 
> twisted.internet.epollreactor.EPollReactor.
> 2012-12-10 13:30:52+0100 [-] QuietSite starting on 8081
> 2012-12-10 13:30:52+0100 [-] Starting factory <__builtin__.QuietSite 
> instance at 0xad4636c>
> 2012-12-10 13:30:53+0100 [-] WSGI application error
> Traceback (most recent call last):
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/threadpool.py",
>  
> line 167, in _worker
> result = context.call(ctx, function, *args, **kwargs)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py",
>  
> line 118, in callWithContext
> return self.currentContext().callWithContext(ctx, func, *args, **kw)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py",
>  
> line 81, in callWithContext
> return func(*args,**kw)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/web/wsgi.py",
>  
> line 332, in run
> self.reactor.callFromThread(wsgiError, self.started, *exc_info())
> ---  ---
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/web/wsgi.py",
>  
> line 315, in run
> appIterator = self.application(self.environ, self.startResponse)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1701, in __call__
> return self.wsgi_app(environ, start_response)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1689, in wsgi_app
> response = self.make_response(self.handle_exception(e))
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1687, in wsgi_app
> response = self.full_dispatch_request()
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1360, in full_dispatch_request
> rv = self.handle_user_exception(e)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1358, in full_dispatch_request
> rv = self.dispatch_request()
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1344, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/decorators.py",
>  
> line 22, in wrapper
> return f(*args, **kwds)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/worksheet_listing.py",
>  
> line 68, in home
> return render_worksheet_list(request.args, pub=False, 
> username=username)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/worksheet_listing.py",
>  
> line 43, in render_worksheet_list
> search=search, reve

[sage-support] Re: Installation problem

2012-12-11 Thread Dima Pasechnik
On 2012-12-10, Emmanuel  wrote:
> --=_Part_20_25716954.1355143287028
> Content-Type: text/plain; charset=ISO-8859-1
>
> Good afternoon,
>
> Havin installed sage 5.4 on my Ubuntu distribution 12.10, I have no problem 
> to run sage in a terminal. However, I can no more run it on my browser , 
> apparently due to exceptions.OSError: [Errno 39] Directory not empty (see 
> below). If I delet the .sage directory in mu user directory, then 
> everything works fine but I have no more access to my old worksheets. Can 
> someone suggest an idea of what is happening?
>
> Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny 
> "sage_notebook.sagenb/twistedconf.tac"
> 2012-12-10 13:30:52+0100 [-] Log opened.
> 2012-12-10 13:30:52+0100 [-] twistd 12.1.0 
> (/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/bin/python 
> 2.7.3) starting up.
> 2012-12-10 13:30:52+0100 [-] reactor class: 
> twisted.internet.epollreactor.EPollReactor.
> 2012-12-10 13:30:52+0100 [-] QuietSite starting on 8081
> 2012-12-10 13:30:52+0100 [-] Starting factory <__builtin__.QuietSite 
> instance at 0xad4636c>
> 2012-12-10 13:30:53+0100 [-] WSGI application error
> Traceback (most recent call last):
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/threadpool.py",
>  

you are runnig a Sage Ubunty 12.04 installation on Ubuntu 12.10.
It's asking for trouble, IMHO.



> line 167, in _worker
> result = context.call(ctx, function, *args, **kwargs)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py",
>  
> line 118, in callWithContext
> return self.currentContext().callWithContext(ctx, func, *args, **kw)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py",
>  
> line 81, in callWithContext
> return func(*args,**kw)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/web/wsgi.py",
>  
> line 332, in run
> self.reactor.callFromThread(wsgiError, self.started, *exc_info())
> ---  ---
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/web/wsgi.py",
>  
> line 315, in run
> appIterator = self.application(self.environ, self.startResponse)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1701, in __call__
> return self.wsgi_app(environ, start_response)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1689, in wsgi_app
> response = self.make_response(self.handle_exception(e))
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1687, in wsgi_app
> response = self.full_dispatch_request()
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1360, in full_dispatch_request
> rv = self.handle_user_exception(e)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1358, in full_dispatch_request
> rv = self.dispatch_request()
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Flask-0.9-py2.7.egg/flask/app.py",
>  
> line 1344, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/decorators.py",
>  
> line 22, in wrapper
> return f(*args, **kwds)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/worksheet_listing.py",
>  
> line 68, in home
> return render_worksheet_list(request.args, pub=False, username=username)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/flask_version/worksheet_listing.py",
>  
> line 43, in render_worksheet_list
> search=search, reverse=reverse)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/sagenb/notebook/notebook.py",
>  
> line 1282, in worksheet_list_for_user
> X = self.get_worksheets_with_viewer(user)
>   File 
> "/opt/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/devel/sagenb/sagenb/notebook/notebook.py",
>  
> line 1460, in get_worksheets_with_viewer
> if self._user_manager.user_is_admin(username): return 
> self.get_all_worksheets()
>   File 
> "/opt/sage-5.4-lin

[sage-support] Re: Installation problem (Sage 4.6)

2010-11-11 Thread Simon King
PS:

sage-4.5.3 seems to be fine on my machine. I'm now trying to upgrade.

There is one detail that may be relevant: While I tried to build
sage-4.6, the computer crashed. Later, I typed "make" again, in order
to complete the build process. Perhaps this is then things went wrong.

Best regards,
Simon

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: installation problem

2010-09-20 Thread samrat
The 'readline hell' part is an annoying openSUSE problem. If you see
the file spkg-install of the package readline, you will find that
there is a provision for trying to recognize the system's readline
package. But this is only useful for some versions of openSUSE. For
example readline in sage-4.5.2 only recognizes openSUSE 11.1. Likewise
sage-4.5.3 might not recognize your SUSE distribution. You'll have to
create a small workaround --- much in the same way as the creators of
the spkg-install file did.

On Sep 17, 1:07 pm, Dan Drake  wrote:
> On Fri, 17 Sep 2010 at 08:40AM +0100, robin hankin wrote:
> > thanks for this.  I suppose "dependency" isn't quite the right word here.
>
> > The error message below is cut-and-pasted from the output of 'make';
> > at one point it asks me to email sage-devel, but perhaps this list
> > is better for now!
>
> Ah, I see. I think "readline hell" is a better description than
> "dependency hell". :)  I hope we can get this sorted out.
>
> Dan
>
> --
> ---  Dan Drake
> -  http://mathsci.kaist.ac.kr/~drake
> ---
>
>  signature.asc
> < 1KViewDownload

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: installation problem

2010-09-17 Thread Dan Drake
On Fri, 17 Sep 2010 at 08:40AM +0100, robin hankin wrote:
> thanks for this.  I suppose "dependency" isn't quite the right word here.
>
> The error message below is cut-and-pasted from the output of 'make';
> at one point it asks me to email sage-devel, but perhaps this list
> is better for now!

Ah, I see. I think "readline hell" is a better description than
"dependency hell". :)  I hope we can get this sorted out.

Dan

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


Re: [sage-support] Re: installation problem

2010-09-17 Thread robin hankin
Hello Dan

thanks for this.  I suppose "dependency" isn't quite the right word here.

The error message below is cut-and-pasted from the output of 'make';
at one point it asks me to email sage-devel, but perhaps this list
is better for now!

best wishes

Robin



Host system
uname -a:
Linux le112 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200
i686 i686 i386 GNU/Linux


CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib
--with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=i586-suse-linux
Thread model: posix
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)

bash: symbol lookup error: bash: undefined symbol: rl_filename_rewrite_hook

real0m0.002s
user0m0.000s
sys 0m0.001s
sage: An error occurred while installing sqlite-3.6.22
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/rksh/Download/sage-4.5.3/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/rksh/Download/sage-4.5.3/spkg/build/sqlite-3.6.22 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/rksh/Download/sage-4.5.3/spkg/build/sqlite-3.6.22' &&
'/home/rksh/Download/sage-4.5.3/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/sqlite-3.6.22] Error 1
make[1]: Leaving directory `/home/rksh/Download/sage-4.5.3/spkg'

real0m29.324s
user0m20.838s
sys 0m3.264s
Error building Sage.
./sage -docbuild all html  2>&1 | tee -a dochtml.log
python: can't open file
'/home/rksh/Download/sage-4.5.3/devel/sage/doc/common/builder.py':
[Errno 2] No such file or directory
le112:~/Download/sage-4.5.3%


On Fri, Sep 17, 2010 at 12:08 AM, Dan Drake  wrote:
> On Thu, 16 Sep 2010 at 07:43PM +0100, robin hankin wrote:
>> I did try to compile my own, but ran in to utter dependency hell.
>
> The Sage source should include very nearly everything it needs to build.
> There are very few dependencies. What kind of "dependency hell" did you
> run into?
>
> Dan
>
> --
> ---  Dan Drake
> -  http://mathsci.kaist.ac.kr/~drake
> ---
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAkySo3YACgkQr4V8SljC5LrLOACfQSxMAi2aSFl5LJRSwvewt3/l
> S+AAnimn5caqEvhfly43g6Urm9qOVjfj
> =DZ3D
> -END PGP SIGNATURE-
>
>



-- 
Robin Hankin
Uncertainty Analyst
hankin.ro...@gmail.com

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: installation problem

2010-09-16 Thread Dan Drake
On Thu, 16 Sep 2010 at 07:43PM +0100, robin hankin wrote:
> I did try to compile my own, but ran in to utter dependency hell.

The Sage source should include very nearly everything it needs to build.
There are very few dependencies. What kind of "dependency hell" did you
run into?

Dan

--
---  Dan Drake
-  http://mathsci.kaist.ac.kr/~drake
---


signature.asc
Description: Digital signature


Re: [sage-support] Re: installation problem

2010-09-16 Thread Dr. David Kirkby

On 09/16/10 07:43 PM, robin hankin wrote:

Thanks for this Marshall.

I did try to compile my own, but ran in to utter dependency hell.

In the end I managed to get it to work by deleting some of the
readline libraries, but I don't understand why that worked.


Redline often causes problems on Sage. I know it has done on OpenSUSE


Would you say that the google groups you point me towards
is a more active forum than the sage-support mailing list?

Thanks again

Robin


The mailing list is a Google group. Marshall just poined you to the same place. 
You can post via google groups or email. It's the same support forum.


Dave

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: installation problem

2010-09-16 Thread robin hankin
Thanks for this Marshall.

I did try to compile my own, but ran in to utter dependency hell.

In the end I managed to get it to work by deleting some of the
readline libraries, but I don't understand why that worked.

Would you say that the google groups you point me towards
is a more active forum than the sage-support mailing list?

Thanks again

Robin



On Thu, Sep 16, 2010 at 7:17 PM, Marshall Hampton  wrote:
> Your error message looks exactly like the one reported here a few
> months ago:
>
> http://groups.google.com/group/sage-support/browse_thread/thread/aba48495d9c09e03/f25d062b6764492f
>
> In that case it was somehow caused by an upgrade after installing the
> binary.  One option would be to install a source version.
>
> -M. Hampton
>
> On Sep 16, 8:04 am, robin hankin  wrote:
>> Hi.   suse 11.3, trying to work with sage 4.5.3
>>
>> I get various problems when trying to execute sage
>> (transcript below).
>>
>> Any ideas?
>>
>> thanks
>>
>> rksh
>>
>> le112:~/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux% ./sage
>> --
>> | Sage Version 4.5.3, Release Date: 2010-09-04                       |
>> | Type notebook() for the GUI, and license() for information.        |
>> --
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
>> ERROR: An unexpected error occurred while tokenizing input
>> The following traceback may be corrupted or invalid
>> The error message is: ('EOF in multi-line statement', (69, 0))
>>
>> ERROR: An unexpected error occurred while tokenizing input
>> The following traceback may be corrupted or invalid
>> The error message is: ('EOF in multi-line statement', (47, 0))
>>
>> ---
>> RuntimeError                              Traceback (most recent call last)
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/IPython/ipmaker.pyc
>> in force_import(modname)
>>      64         reload(sys.modules[modname])
>>      65     else:
>> ---> 66         __import__(modname)
>>      67
>>      68
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/bin/ipy_profile_sage.py
>> in ()
>>       5     preparser(True)
>>       6
>> > 7     import sage.all_cmdline
>>       8     sage.all_cmdline._init_cmdline(globals())
>>       9
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py
>> in ()
>>      12 try:
>>      13
>> ---> 14     from sage.all import *
>>      15     from sage.calculus.predefined import x
>>      16     preparser(on=True)
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/all.py
>> in ()
>>      62 get_sigs()
>>      63
>> ---> 64 from sage.misc.all       import *         # takes a while
>>      65
>>      66 from sage.misc.sh import sh
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/all.py
>> in ()
>>      65 from sage_eval import sage_eval, sageobj
>>      66
>> ---> 67 from sage_input import sage_input
>>      68
>>      69 from cython import cython_lambda, cython_create_local_so
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/sage_input.py
>> in ()
>>     161 """
>>     162
>> --> 163 from sage.misc.functional import parent
>>     164 import math
>>     165
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/functional.py
>> in ()
>>      36
>>      37
>> ---> 38 from sage.rings.complex_double import CDF
>>      39 from sage.rings.real_double import RDF, RealDoubleElement
>>      40
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/bin/complex_double.pyx
>> in init sage.rings.complex_double
>> (sage/rings/complex_double.c:14319)()
>>
>> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/l

[sage-support] Re: installation problem

2010-09-16 Thread Marshall Hampton
Your error message looks exactly like the one reported here a few
months ago:

http://groups.google.com/group/sage-support/browse_thread/thread/aba48495d9c09e03/f25d062b6764492f

In that case it was somehow caused by an upgrade after installing the
binary.  One option would be to install a source version.

-M. Hampton

On Sep 16, 8:04 am, robin hankin  wrote:
> Hi.   suse 11.3, trying to work with sage 4.5.3
>
> I get various problems when trying to execute sage
> (transcript below).
>
> Any ideas?
>
> thanks
>
> rksh
>
> le112:~/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux% ./sage
> --
> | Sage Version 4.5.3, Release Date: 2010-09-04                       |
> | Type notebook() for the GUI, and license() for information.        |
> --
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (69, 0))
>
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (47, 0))
>
> ---
> RuntimeError                              Traceback (most recent call last)
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/IPython/ipmaker.pyc
> in force_import(modname)
>      64         reload(sys.modules[modname])
>      65     else:
> ---> 66         __import__(modname)
>      67
>      68
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/bin/ipy_profile_sage.py
> in ()
>       5     preparser(True)
>       6
> > 7     import sage.all_cmdline
>       8     sage.all_cmdline._init_cmdline(globals())
>       9
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py
> in ()
>      12 try:
>      13
> ---> 14     from sage.all import *
>      15     from sage.calculus.predefined import x
>      16     preparser(on=True)
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/all.py
> in ()
>      62 get_sigs()
>      63
> ---> 64 from sage.misc.all       import *         # takes a while
>      65
>      66 from sage.misc.sh import sh
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/all.py
> in ()
>      65 from sage_eval import sage_eval, sageobj
>      66
> ---> 67 from sage_input import sage_input
>      68
>      69 from cython import cython_lambda, cython_create_local_so
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/sage_input.py
> in ()
>     161 """
>     162
> --> 163 from sage.misc.functional import parent
>     164 import math
>     165
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/functional.py
> in ()
>      36
>      37
> ---> 38 from sage.rings.complex_double import CDF
>      39 from sage.rings.real_double import RDF, RealDoubleElement
>      40
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/bin/complex_double.pyx
> in init sage.rings.complex_double
> (sage/rings/complex_double.c:14319)()
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc
> in ComplexField(prec, names)
>      84         if not C is None:
>      85             return C
> ---> 86     C = ComplexField_class(prec)
>      87     cache[prec] = weakref.ref(C)
>      88     return C
>
> /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc
> in __init__(self, prec)
>     184         ParentWithGens.__init__(self, self._real_field(),
> ('I',), False, category = Fields())

[sage-support] Re: Installation problem

2009-04-01 Thread Mathieu Dutour
>
> On Wed, Apr 1, 2009 at 5:51 AM, Mathieu Dutour 
> wrote:
> >> On Tue, Mar 31, 2009 at 7:10 AM, mathieu 
> wrote:
> >> >
> >> > Dear all,
> >> >
> >> > I experienced program installing version 3.4 of sage.
> >> > The system is linux Fedora 8.
> >>
> >> Post a link to the *complete* log.
>
> You didn't post a link to the log, so...

The full result of make > RESULT_compilation_sage3.4 is available from
http://www.liga.ens.fr/~dutour/Sending/RESULT_compilation_sage3.4

>> Do any of the binaries work?
> >
> > Binaries of 3.1 works but not binaries of 3.4
>
> So the CentOS binaries failed?
>
I am using Fedora 8 and the binaries for fedora 9 do not work on
fedora 9 because of a library issue.

But the CentOS binaries work. Thank you very much.

  Mathieu

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Installation problem

2009-04-01 Thread William Stein

On Wed, Apr 1, 2009 at 5:51 AM, Mathieu Dutour  wrote:
>> On Tue, Mar 31, 2009 at 7:10 AM, mathieu  wrote:
>> >
>> > Dear all,
>> >
>> > I experienced program installing version 3.4 of sage.
>> > The system is linux Fedora 8.
>>
>> Post a link to the *complete* log.

You didn't post a link to the log, so...

>> Which gcc version?
>
> gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
>
>> Precisely which sage tarball (sage-3.4.tar I guess)?
>
> sage-3.4.tar
>
>> Precisely what kinds of hardware?
>
> Linux neptun.irb.hr 2.6.26.8-57.fc8PAE #1 SMP Thu Dec 18 19:09:47 EST 2008
> i686 i686 i386 GNU/Linux
> 4 processors Intel Xeon 5120 at 1.86GHz
>
>> Have you ever built Sage before on that computer?
>
> no
>
>>
>> Do any of the binaries work?
>
> Binaries of 3.1 works but not binaries of 3.4

So the CentOS binaries failed?

William

>
>> >
>> > Here is the output:
>> > checking whether we are using the GNU C compiler... (cached) yes
>> > checking whether gcc accepts -g... (cached) yes
>> > checking for gcc option to accept ISO C89... (cached) none needed
>> > checking dependency style of gcc... (cached) gcc3
>> > checking for string.h... (cached) yes
>> > checking for gmp.h... yes
>> > checking for valid GMP... yes
>> > checking for mpfr.h... yes
>> > checking MPFR library... configure: error: /users/mathieu/opt/sage-3.4/
>> > local/lib/libmpfr.so or libmpfr.dylib not found
>> > Error configuring mpfi
>> >
>> > real    0m11.538s
>> > user    0m2.578s
>> > sys     0m5.651s
>> > sage: An error occurred while installing mpfi-1.3.4-cvs20071125.p7
>> > Please email sage-devel http://groups.google.com/group/sage-devel
>> > explaining the problem and send the relevant part of
>> > of /users/mathieu/opt/sage-3.4/install.log.  Describe your computer,
>> > operating system, etc.
>> > If you want to try to fix the problem, yourself *don't* just cd to
>> > /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7 and
>> > type 'make'.
>> > Instead type "/users/mathieu/opt/sage-3.4/sage -sh"
>> > in order to set all environment variables correctly, then cd to
>> > /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7
>> > (When you are done debugging, you can type "exit" to leave the
>> > subshell.)
>> > make[1]: *** [installed/mpfi-1.3.4-cvs20071125.p7] Error 1
>> > make[1]: Leaving directory `/home/remsen/home/mathieu/opt/sage-3.4/
>> > spkg'
>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Installation problem

2009-04-01 Thread Mathieu Dutour
>
> On Tue, Mar 31, 2009 at 7:10 AM, mathieu  wrote:
> >
> > Dear all,
> >
> > I experienced program installing version 3.4 of sage.
> > The system is linux Fedora 8.
>
> Post a link to the *complete* log.
> Which gcc version?

gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)

Precisely which sage tarball (sage-3.4.tar I guess)?

sage-3.4.tar

Precisely what kinds of hardware?

Linux neptun.irb.hr 2.6.26.8-57.fc8PAE #1 SMP Thu Dec 18 19:09:47 EST 2008
i686 i686 i386 GNU/Linux
4 processors Intel Xeon 5120 at 1.86GHz

Have you ever built Sage before on that computer?

no


> Do any of the binaries work?

Binaries of 3.1 works but not binaries of 3.4

>
> > Here is the output:
> > checking whether we are using the GNU C compiler... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking for gcc option to accept ISO C89... (cached) none needed
> > checking dependency style of gcc... (cached) gcc3
> > checking for string.h... (cached) yes
> > checking for gmp.h... yes
> > checking for valid GMP... yes
> > checking for mpfr.h... yes
> > checking MPFR library... configure: error: /users/mathieu/opt/sage-3.4/
> > local/lib/libmpfr.so or libmpfr.dylib not found
> > Error configuring mpfi
> >
> > real0m11.538s
> > user0m2.578s
> > sys 0m5.651s
> > sage: An error occurred while installing mpfi-1.3.4-cvs20071125.p7
> > Please email sage-devel http://groups.google.com/group/sage-devel
> > explaining the problem and send the relevant part of
> > of /users/mathieu/opt/sage-3.4/install.log.  Describe your computer,
> > operating system, etc.
> > If you want to try to fix the problem, yourself *don't* just cd to
> > /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7 and
> > type 'make'.
> > Instead type "/users/mathieu/opt/sage-3.4/sage -sh"
> > in order to set all environment variables correctly, then cd to
> > /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7
> > (When you are done debugging, you can type "exit" to leave the
> > subshell.)
> > make[1]: *** [installed/mpfi-1.3.4-cvs20071125.p7] Error 1
> > make[1]: Leaving directory `/home/remsen/home/mathieu/opt/sage-3.4/
> > spkg'
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Installation problem

2009-03-31 Thread William Stein

On Tue, Mar 31, 2009 at 7:10 AM, mathieu  wrote:
>
> Dear all,
>
> I experienced program installing version 3.4 of sage.
> The system is linux Fedora 8.

Post a link to the *complete* log.
Which gcc version?
Precisely which sage tarball (sage-3.4.tar I guess)?
Precisely what kinds of hardware?
Have you ever built Sage before on that computer?
Do any of the binaries work?

>
> Here is the output:
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for string.h... (cached) yes
> checking for gmp.h... yes
> checking for valid GMP... yes
> checking for mpfr.h... yes
> checking MPFR library... configure: error: /users/mathieu/opt/sage-3.4/
> local/lib/libmpfr.so or libmpfr.dylib not found
> Error configuring mpfi
>
> real    0m11.538s
> user    0m2.578s
> sys     0m5.651s
> sage: An error occurred while installing mpfi-1.3.4-cvs20071125.p7
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /users/mathieu/opt/sage-3.4/install.log.  Describe your computer,
> operating system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7 and
> type 'make'.
> Instead type "/users/mathieu/opt/sage-3.4/sage -sh"
> in order to set all environment variables correctly, then cd to
> /users/mathieu/opt/sage-3.4/spkg/build/mpfi-1.3.4-cvs20071125.p7
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/mpfi-1.3.4-cvs20071125.p7] Error 1
> make[1]: Leaving directory `/home/remsen/home/mathieu/opt/sage-3.4/
> spkg'
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installation problem with sage-3.1.2

2008-09-23 Thread mabshoff



On Sep 23, 7:37 am, abhi <[EMAIL PROTECTED]> wrote:

Hi,

> I am trying to install sage-3.1.2 on my Fedora 9 with gcc-4.3. I am
> having problem with matplotlib-0.98.3.p1its giving error given
> below
>
> BUILDING MATPLOTLIB
>             matplotlib: 0.98.3
>                 python: 2.5.2 (r252:60911, Sep 23 2008, 17:09:57)
> [GCC
>                         4.3.0 20080428 (Red Hat 4.3.0-8)]
>               platform: linux2
>
> REQUIRED DEPENDENCIES
>                  numpy: 1.1.0
>              freetype2: 9.16.3
>
> OPTIONAL BACKEND DEPENDENCIES
>                 libpng: 1.2.29
> Traceback (most recent call last):
>   File "setup.py", line 125, in 
>     if check_for_tk() or (options['build_tkagg'] is True):
>   File "/home/abhishek/sage-3.1.2/spkg/build/matplotlib-0.98.3.p1/src/
> setupext.py", line 846, in check_for_tk
>     explanation = add_tk_flags(module)
>   File "/home/abhishek/sage-3.1.2/spkg/build/matplotlib-0.98.3.p1/src/
> setupext.py", line 1106, in add_tk_flags
>     module.libraries.extend(['tk' + tk_ver, 'tcl' + tk_ver])
> UnboundLocalError: local variable 'tk_ver' referenced before
> assignment
> Error building matplotlib package


I have seen the same error on Cygwin when tcl/tk was installed, but I
have not fixed this yet. Hopefully I will get around to it in 3.1.3. I
worked around this by disabling tcl/tk detection in setupext.pu, but I
do not have a clean patch I could post.

I have opened a ticket at http://trac.sagemath.org/sage_trac/ticket/4176
to track the issue.

> plz help

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installation problem

2007-08-27 Thread William Stein

On 8/27/07, John P. Burkett <[EMAIL PROTECTED]> wrote:
]> Working on a Dell 390n (x86_64 architecture) running Red Hat Enterprise
> Linux version 4, I have been trying to install Sage from
> sage-2.8.2-debian64-x86_64-Linux.tar.gz, following instructions in the
> Installation Guide (release 2007.08.22).  After doing tar zxvf
> sage-2.8.2-debian64-x86_64-Linux.tar.gz, I changed to the
> sage-2.8.2-debian64-x86_64-Linux directory and did ./sage.  The response
> was as follows:
> : /usr/lib64/libstdc++.so.6: version
> `CXXABI_1.3.1' not found (required by
> /root/sage-2.8.2-debian64-x86_64-Linux/local/lib/libgivaro.so.0)

The error above is unfortunately fatal -- it means that the libstdc++ that
the SAGE binary was linked against is much newer than the one on
a Redhat EL 4 system (which is fairly old -- but stable, actually).
Your options include:
   (1) Download the file libstdc++.so.6  that I just posted at
 http://www.sagemath.org/SAGEbin/linux/64bit/
and put it in SAGE_ROOT/local/lib/ and try again.  This might
just easily fix the problem for you.
   (2) Wait until I somehow get a copy of RHEL, install it, and
create a binary for it.
   (3) Build SAGE from source yourself (this is usually very easy);
you just download sage-2.8.2.tar from
  http://www.sagemath.org/dist/src
   extract the tarball, type "make", and wait about 2 hours.

-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---