[sage-support] Re: Cannot upgrade from 4.5.2 to 4.5.3

2010-09-13 Thread samrat
Hi Jan,

Yes i do use a proxyserver. I did make some changes in a couple of
*.conf files as suggested by the CentOS team but it seems that it is
not yet complete for sage to upgrade flawlessly. I'll browse some more
and try to rectify the problem. I'll report failures or successes
soon.

Thanks and bye.

On Sep 13, 10:44 am, Mitesh Patel qed...@gmail.com wrote:
 On 09/13/2010 12:28 AM, Jan Groenewald wrote:

  Hi Mitesh

  Does your firefox have a proxy set up under
  Edit  Preferences  Advanced  Network ?

 Good idea!  Samrat's upgrade problem may well stem from the local
 networking setup.  Can you check the firewall, too?

-- 
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: Cannot upgrade from 4.5.2 to 4.5.3

2010-09-13 Thread Jan Groenewald
Hi

On Sun, Sep 12, 2010 at 11:00:21PM -0700, samrat wrote:
 Yes i do use a proxyserver. I did make some changes in a couple of
 *.conf files as suggested by the CentOS team but it seems that it is
 not yet complete for sage to upgrade flawlessly. I'll browse some more
 and try to rectify the problem. I'll report failures or successes
 soon.

http://docs.python.org/library/urllib.html :

The urlopen() function works transparently with proxies which do not require 
authentication. In a Unix or Windows environment, set the http_proxy, or 
ftp_proxy environment variables to a URL that identifies the proxy server 
before starting the Python interpreter. For example (the '%' is the command 
prompt):

% http_proxy=http://www.someproxy.com:3128;
% export http_proxy
% python

Replace 'someproxy' with your real settings.
The last python would be 'sage -upgrade' in your case.
I advise adding a trailing slash (/) to the http_proxy setting.
I have seen apps fail due to it not being there.

regards,
Jan

-- 
   .~. 
   /V\ Jan Groenewald
  /( )\www.aims.ac.za
  ^^-^^ 

-- 
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] Machine Learning Py

2010-09-13 Thread Pere Quintana Seguí
Hello,

Do you know if there are any plans to integrate the mlpy library
(https://mlpy.fbk.eu/) in sage?

Thanks,

Pere

-- 
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] Machine Learning Py

2010-09-13 Thread Minh Nguyen
Hi Pere,

On Mon, Sep 13, 2010 at 5:49 PM, Pere  Quintana Seguí
p...@illadelaire.org wrote:
 Hello,

 Do you know if there are any plans to integrate the mlpy library
 (https://mlpy.fbk.eu/) in sage?

I'm not aware of any such plans. But a few months ago, there was some
discussion about having support vector machine functionalities in
Sage. If you would like to use mlpy [1] from within Sage, you could
produce an optional package or a contributed package. A contributed
package (otherwise known as an experimental package) is something you
produce and maintain yourself. The Sage project take no responsibility
in maintaining a contributed package. However, we offer hosting space
for your contributed spkg.

An optional package needs to pass some minimum requirements in order
for it to become an optional package. For example, an optional spkg
must be tested and work on most of the operating systems that Sage
runs on. The Sage project takes minimum responsibility vis-a-vis
maintaining an optional package. That is, we don't do all the work of
maintaining an optional package; you need to commit yourself to
sharing that task. A reason is that there are many standard packages
currently distributed by default with Sage, and the effort required to
maintain those standard spkg's is huge. There are not enough human
resource and volunteers to maintain the standard packages, so the Sage
project needs to prioritize its effort. If you would like to produce
and maintain an optional or contributed spkg, we can provide hosting
space.

[1] https://mlpy.fbk.eu

-- 
Regards
Minh Van Nguyen

-- 
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] Operations for analysis and design of feedback control systems

2010-09-13 Thread pepe
Hello

I am not familiar with SAGE therefore my inexperienced question:
Is there support for operations for analysis and design of feedback
control systems, kind of MATLAB Control Systems Toolbox?

Up to now I found only python-control package
https://sourceforge.net/apps/mediawiki/python-control and some
extension http://linux3.dti.supsi.ch/~bucher/

Does SAGE provide something control engineering purposes?

Thank you!

Regards,
pepe

-- 
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: Problem doing symbolic computations (bug in Pynac ?)

2010-09-13 Thread Burcin Erocal
Hi Jean-Pierre,

On Mon, 13 Sep 2010 04:58:00 -0700 (PDT)
Jean-Pierre Flori jpfl...@gmail.com wrote:

 I've got some other questions:

These should be on a separate thread, on sage-devel or pynac-devel.

 - Sage and pynac do not realize that 2^(-b_0) and (2^b_0)^(-1) are
 equal.
 I guess there is no canonical way of expanding 2^(a*b) into something
 else, but it could be a good idea doing it when a or b is an integer
 and the other one a variable ?

I don't understand your suggestion. Are you saying we should
 * expand 2^(-b) to (2^b)^(-1) or 
 * simplify (2^b)^(-1) to 2^(-b)?

Apart from a few simple modifications, e.g., exp(a)^b - exp(a*b) when
possible, pynac keeps the automatic evaluation rules from GiNaC.

These operations effect the performance of the library quite a bit. We
should be careful before adding more of them, and perhaps consult the
GiNaC developers in the process.

 - Should symbolic sums be implemented into pynac (at some point...) to
 avoid calling Maxima ?

They should be implemented in Sage. I don't think this requires any
modification at the C++ level in the pynac library.

Actually, I am working on this right now.

 By the way calling symbolic_sum(1,x,0,b_0) gives me an error whereas
 calling sum(1,x,0,b_0) does not.

This is the difference between sage.misc.functional.symbolic_sum and
sage.calculus.calculus.symbolic_sum. The latter tries to convert the
output received from maxima to the parent of the given expression. In
your example, this is ZZ. The conversion fails of course. The wrapper
sage.misc.functional.symbolic_sum first converts the first argument to
a symbolic expression, which prevents the error.

When we move to new code in sage/symbolic/summation/* (which is not in
the library yet), things will be much cleaner.


Cheers,
Burcin

-- 
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: Machine Learning Py

2010-09-13 Thread Marshall Hampton
Most of my needs in this area are taken care of by the support for the
Cluster library in the optional package biopython, but since I have
some interest I tried to make a preliminary spkg:

http://sage.math.washington.edu/home/mhampton/MLPY-2.2.1.p0.spkg

Unfortunately although GSL is a standard component of Sage, its header
files weren't picked up correctly for some reason.  I'm not sure who
to ask about this since as far as I know GSL isn't a dependency of
other Sage components.

-Marshall Hampton

On Sep 13, 3:12 am, Minh Nguyen nguyenmi...@gmail.com wrote:
 Hi Pere,

 On Mon, Sep 13, 2010 at 5:49 PM, Pere  Quintana Seguí

 p...@illadelaire.org wrote:
  Hello,

  Do you know if there are any plans to integrate the mlpy library
  (https://mlpy.fbk.eu/) in sage?

 I'm not aware of any such plans. But a few months ago, there was some
 discussion about having support vector machine functionalities in
 Sage. If you would like to use mlpy [1] from within Sage, you could
 produce an optional package or a contributed package. A contributed
 package (otherwise known as an experimental package) is something you
 produce and maintain yourself. The Sage project take no responsibility
 in maintaining a contributed package. However, we offer hosting space
 for your contributed spkg.

 An optional package needs to pass some minimum requirements in order
 for it to become an optional package. For example, an optional spkg
 must be tested and work on most of the operating systems that Sage
 runs on. The Sage project takes minimum responsibility vis-a-vis
 maintaining an optional package. That is, we don't do all the work of
 maintaining an optional package; you need to commit yourself to
 sharing that task. A reason is that there are many standard packages
 currently distributed by default with Sage, and the effort required to
 maintain those standard spkg's is huge. There are not enough human
 resource and volunteers to maintain the standard packages, so the Sage
 project needs to prioritize its effort. If you would like to produce
 and maintain an optional or contributed spkg, we can provide hosting
 space.

 [1]https://mlpy.fbk.eu

 --
 Regards
 Minh Van Nguyen

-- 
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: Problem doing symbolic computations (bug in Pynac ?)

2010-09-13 Thread kcrisman


 When we move to new code in sage/symbolic/summation/* (which is not in
 the library yet), things will be much cleaner.

Can you give a ticket # for this?  I would be interested in looking at
this.

- kcrisman

-- 
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] continued_fraction returns nothing

2010-09-13 Thread Håkan Granath
In certain cases I get nothing from the continued_fraction function
in the latest Sage version:

--
| Sage Version 4.5.3, Release Date: 2010-09-04   |
| Type notebook() for the GUI, and license() for information.|
--
sage: a=sqrt(2).n()*sqrt(2)
sage: continued_fraction(a)
[]

In version 4.5.2 the output was

[2, 2251799813685248]

Best regards,

Håkan Granath

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

2010-09-13 Thread Michael
All right, I run that utility at least once a week, so that should e
fine.

On 12 Sep., 23:14, Mitesh Patel qed...@gmail.com wrote:
 On 09/12/2010 09:18 AM, Michael wrote:

  On 12 Sep., 00:19, Mitesh Patel qed...@gmail.com wrote:
  Michael, is your system fully updated to the latest stable packages for
  your openSUSE version?  Also, how much RAM does your computer have?

  I am afraid I don't know what stable packages are. My computer has got
  987 MB RAM.

 I'm not familar with the openSUSE distribution, but your installation
 should have a semi-automatic update utility that checks openSUSE servers
 (or mirrors) for newer packages (with bug and security fixes, etc.) than
 you have on your system and installs them.  I'm just asking whether
 you've run this utility recently.

-- 
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] Obtaining data from a computation in process

2010-09-13 Thread Nick
Hello!

I have a computation running in Sage.  It is a search of more or less
the following form:

Let S be an empty set.
For i in some interval:
Check some property for i
If i satisfies the property:
add i to the set S.

I now realise I should have said print i rather than add i to the
set S.  Originally I thought it was a good idea because it was easy
to manipulate the output once the search had been completed if it was
in a set.  However, now that the search has yet to conclude after a
week or so I wonder if there is a simple way to check what is
currently in S?

Is there any way to obtain the set S while the process continues to
run?  I'd even be interested to learn if there is a way to terminate
the process and check what values of i have gathered in S up until
termination.  Any ideas?  Or is it a lose cause?

Thanks very much.

-- 
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] Obtaining data from a computation in process

2010-09-13 Thread Alastair Irving

On 13/09/2010 20:01, Nick wrote:

Hello!

I have a computation running in Sage.  It is a search of more or less
the following form:

Let S be an empty set.
For i in some interval:
Check some property for i
If i satisfies the property:
add i to the set S.

I now realise I should have said print i rather than add i to the
set S.  Originally I thought it was a good idea because it was easy
to manipulate the output once the search had been completed if it was
in a set.  However, now that the search has yet to conclude after a
week or so I wonder if there is a simple way to check what is
currently in S?

Is there any way to obtain the set S while the process continues to
run?  I'd even be interested to learn if there is a way to terminate
the process and check what values of i have gathered in S up until
termination.  Any ideas?  Or is it a lose cause?

Hi

It depends on precisely what form your code takes.  If you're running 
the loop at the top level with S as a global variable then you should be 
able to do ctrl-c to terminate the computation and then look at S or any 
other global variable.  If your computations happening inside a function 
call then I don't know of any way round it.


HTH

Alastair



Thanks very much.



--
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] Obtaining data from a computation in process

2010-09-13 Thread Mike Hansen
On Mon, Sep 13, 2010 at 12:41 PM, Alastair Irving
alastair.irv...@sjc.ox.ac.uk wrote:
 It depends on precisely what form your code takes.  If you're running the
 loop at the top level with S as a global variable then you should be able to
 do ctrl-c to terminate the computation and then look at S or any other
 global variable.  If your computations happening inside a function call then
 I don't know of any way round it.

If your set S is occurring in a (Python) function call and you are at
the Sage command-line, then you can do Ctrl-C to stop the computation,
type in %debug to enter the debugger, enter u until you move up
the call stack until you are at the place where your S is defined.
Then, you can do print S to have it print the set.

There may be trickier ways of manipulating the stack frame, but I
don't know offhand what they are.

--Mike

-- 
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: Obtaining data from a computation in process

2010-09-13 Thread Nick
Thanks to you both.  It is a relief to know there is a solution.
However, ...

I just pressed Ctrl-c and ^C appeared.  I pressed enter but I still
didn't return to the sage: command prompt.  In my ignorance I even
typed out ctrl-c but the black block is still flashing...

In case it wasn't transparent, I'm a newbie!


On Sep 13, 8:41 pm, Alastair Irving alastair.irv...@sjc.ox.ac.uk
wrote:
 On 13/09/2010 20:01, Nick wrote:

  Hello!

  I have a computation running in Sage.  It is a search of more or less
  the following form:

  Let S be an empty set.
  For i in some interval:
  Check some property for i
  If i satisfies the property:
  add i to the set S.

  I now realise I should have said print i rather than add i to the
  set S.  Originally I thought it was a good idea because it was easy
  to manipulate the output once the search had been completed if it was
  in a set.  However, now that the search has yet to conclude after a
  week or so I wonder if there is a simple way to check what is
  currently in S?

  Is there any way to obtain the set S while the process continues to
  run?  I'd even be interested to learn if there is a way to terminate
  the process and check what values of i have gathered in S up until
  termination.  Any ideas?  Or is it a lose cause?

 Hi

 It depends on precisely what form your code takes.  If you're running
 the loop at the top level with S as a global variable then you should be
 able to do ctrl-c to terminate the computation and then look at S or any
 other global variable.  If your computations happening inside a function
 call then I don't know of any way round it.

 HTH

 Alastair



  Thanks very much.

-- 
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: Obtaining data from a computation in process

2010-09-13 Thread Nick
Thanks to you both.  It is a relief to know there is a solution.
However, ...

I just pressed Ctrl-c and ^C appeared.  I pressed enter but I still
didn't return to the sage: command prompt.  In my ignorance I even
typed out ctrl-c but the black block is still flashing...

In case it wasn't transparent, I'm a newbie!


On Sep 13, 8:41 pm, Alastair Irving alastair.irv...@sjc.ox.ac.uk
wrote:
 On 13/09/2010 20:01, Nick wrote:

  Hello!

  I have a computation running in Sage.  It is a search of more or less
  the following form:

  Let S be an empty set.
  For i in some interval:
  Check some property for i
  If i satisfies the property:
  add i to the set S.

  I now realise I should have said print i rather than add i to the
  set S.  Originally I thought it was a good idea because it was easy
  to manipulate the output once the search had been completed if it was
  in a set.  However, now that the search has yet to conclude after a
  week or so I wonder if there is a simple way to check what is
  currently in S?

  Is there any way to obtain the set S while the process continues to
  run?  I'd even be interested to learn if there is a way to terminate
  the process and check what values of i have gathered in S up until
  termination.  Any ideas?  Or is it a lose cause?

 Hi

 It depends on precisely what form your code takes.  If you're running
 the loop at the top level with S as a global variable then you should be
 able to do ctrl-c to terminate the computation and then look at S or any
 other global variable.  If your computations happening inside a function
 call then I don't know of any way round it.

 HTH

 Alastair



  Thanks very much.

-- 
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: Obtaining data from a computation in process

2010-09-13 Thread Nick
Sorry, I just needed to be a little patient.  I eventually returned to
the Sage command prompt.  Typed S and got back an empty set (I know it
wouldn't have been completely empty).  I tried the debug suggestion by
Mike but that didn't seem to work. I've resigned myself that this was
a failed attempt and will start again this time using the print
command.  Thanks for your help.


On Sep 13, 9:29 pm, Nick aroy...@gmail.com wrote:
 Thanks to you both.  It is a relief to know there is a solution.
 However, ...

 I just pressed Ctrl-c and ^C appeared.  I pressed enter but I still
 didn't return to the sage: command prompt.  In my ignorance I even
 typed out ctrl-c but the black block is still flashing...

 In case it wasn't transparent, I'm a newbie!

 On Sep 13, 8:41 pm, Alastair Irving alastair.irv...@sjc.ox.ac.uk
 wrote:

  On 13/09/2010 20:01, Nick wrote:

   Hello!

   I have a computation running in Sage.  It is a search of more or less
   the following form:

   Let S be an empty set.
   For i in some interval:
   Check some property for i
   If i satisfies the property:
   add i to the set S.

   I now realise I should have said print i rather than add i to the
   set S.  Originally I thought it was a good idea because it was easy
   to manipulate the output once the search had been completed if it was
   in a set.  However, now that the search has yet to conclude after a
   week or so I wonder if there is a simple way to check what is
   currently in S?

   Is there any way to obtain the set S while the process continues to
   run?  I'd even be interested to learn if there is a way to terminate
   the process and check what values of i have gathered in S up until
   termination.  Any ideas?  Or is it a lose cause?

  Hi

  It depends on precisely what form your code takes.  If you're running
  the loop at the top level with S as a global variable then you should be
  able to do ctrl-c to terminate the computation and then look at S or any
  other global variable.  If your computations happening inside a function
  call then I don't know of any way round it.

  HTH

  Alastair

   Thanks very much.

-- 
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] continued_fraction returns nothing

2010-09-13 Thread Alastair Irving

On 13/09/2010 17:31, Håkan Granath wrote:

In certain cases I get nothing from the continued_fraction function
in the latest Sage version:

--
| Sage Version 4.5.3, Release Date: 2010-09-04   |
| Type notebook() for the GUI, and license() for information.|
--
sage: a=sqrt(2).n()*sqrt(2)
sage: continued_fraction(a)
[]

   

Try doing
continued_fraction(a,bits=100)
This solves the problem for me.  I believe the issue is that with the 
default precision it doesn't know if the number is less than or greater 
than 2, so it can't determine the first quotient.  the number 100 was 
fairly arbitrary, the default I think is 52.



HTH

Alastair

In version 4.5.2 the output was

[2, 2251799813685248]

Best regards,

Håkan Granath

   


--
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: continued_fraction returns nothing

2010-09-13 Thread Robert Bradshaw
On Mon, Sep 13, 2010 at 1:30 PM, Marshall Hampton hampto...@gmail.com wrote:
 I am guessing this is an indirect effect from this patch:

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

 but I am not sure.  If you do continued_fraction(N(a)) you get the
 same answer as before, but I would say this is a bug that shouldn't
 need a workaround.

Alastair correctly deduced the issue that it can't tell if the number
is less than or greater than 2, what should it do here?

 On Sep 13, 11:31 am, Håkan Granath hakan.gran...@googlemail.com
 wrote:
 In certain cases I get nothing from the continued_fraction function
 in the latest Sage version:

 --
 | Sage Version 4.5.3, Release Date: 2010-09-04                       |
 | Type notebook() for the GUI, and license() for information.        |
 --
 sage: a=sqrt(2).n()*sqrt(2)
 sage: continued_fraction(a)
 []

 In version 4.5.2 the output was

 [2, 2251799813685248]

Which was wrong.

- Robert

-- 
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] continued_fraction returns nothing

2010-09-13 Thread Paul Zimmermann
   In certain cases I get nothing from the continued_fraction function
   in the latest Sage version:

   --
   | Sage Version 4.5.3, Release Date: 2010-09-04   |
   | Type notebook() for the GUI, and license() for information.|
   --
   sage: a=sqrt(2).n()*sqrt(2)
   sage: continued_fraction(a)
   []

   In version 4.5.2 the output was

   [2, 2251799813685248]

the reason is that the 4.5.2 result was wrong, see
http://trac.sagemath.org/sage_trac/ticket/8017.

You get no partial quotient because with the default precision of 53 bits,
it is not possible to *correctly* deduce a single partial quotient, because
a is very close to 2. You have to increase the precision:

sage: continued_fraction(a, bits=100)
[2]
sage: continued_fraction(a, bits=150)
[2, 7314423575030504, 1, 83, 1, 2, 1, 108, 1, 20]

Paul Zimmermann

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

2010-09-13 Thread Mitesh Patel
On 09/13/2010 01:57 PM, Michael wrote:
 sqlite-3.6.22
 [...]
 bash: symbol lookup error: bash: undefined symbol:
 rl_filename_rewrite_hook
 [...]
 
 I tired to update bash, but it doesn't semm to make any difference.


Just to be sure:  Did you try

cd SAGE_ROOT
mv local/lib/*readline* /path/to/some/temp/dir

with the binary Sage distribution?  You could also try this in the
compilation from scratch; run make again to continue the build.

The Sage SQLite package (and other packages) depends on the Sage
Readline package.  We may see the bash error here because this is where
your system's bash first finds a newly-built but incompatible Readline
library under SAGE_ROOT.


 On 12 Sep., 23:34, Mitesh Patel qed...@gmail.com wrote:
 On 09/12/2010 09:16 AM, Michael wrote:

 On 12 Sep., 00:15, John H Palmieri jhpalmier...@gmail.com wrote:
 Have you tried building from the source distribution?  Download it,
 unpack the tar file, and type make.  Then wait a few hours.  (I
 suppose there may be some incompatibility between the binary
 distribution and your system.)

 I tried what you said, but there occured an error again. I'll post the
 relevant lines below. I tired to open the subshell and debug the
 program, but that didn't work either. There seems to be a missing
 .py-file or something, I do not fully understand what I get there.

 I hope you can help me to fix that. Thanks!

 Here the command line output from the occurance of the error on:

 Could you give us a link to SAGE_ROOT/spkg/logs/sqlite-3.6.22.log ?

 ./sage -docbuild all html  21 | tee -a dochtml.log
 python: can't open file '/home/michael/Downloads/sage-4.5.3/devel/sage/
 doc/common/builder.py': [Errno 2] No such file or directory

 The builder.py error here is secondary.  We're tracking this problem at

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

 mich...@linux-pu35:~/Downloads/sage-4.5.3 cd '/home/michael/Downloads/
 sage-4.5.3/spkg/build/sqlite-3.6.22'  '/home/michael/Downloads/
 sage-4.5.3/sage' -sh

 Starting subshell with Sage environment variables set.
 Be sure to exit when you are done and do not do anything
 with other copies of Sage!

 Bypassing shell configuration files ...

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

 According to

 http://forums.opensuse.org/english/get-help-here/pre-release-beta/433...

 you may need to update bash.  I think you can check for updates with YaST:

 http://en.opensuse.org/YaST_Software_Management

 Exited Sage subshell.
 mich...@linux-pu35:~/Downloads/sage-4.5.3/spkg/build/sqlite-3.6.22

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