Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread George
Hi,

I tried Sage 8.8 (the app) following Tom's comment and it seems to work 
(thanks Tom). 

I'll try building from source and see how it goes. 

Thanks a lot for your responses. 

Any additional updates/news are very welcome in case others are facing 
similar problems. 

Thanks,
G

On Wednesday, October 9, 2019 at 7:55:27 PM UTC+2, John H Palmieri wrote:
>
>
>
> On Wednesday, October 9, 2019 at 4:51:48 AM UTC-7, David Joyner wrote:
>>
>>
>>
>> On Wed, Oct 9, 2019 at 7:42 AM Dima Pasechnik  wrote:
>>
>>>
>>>
>>> On Wed, Oct 9, 2019 at 6:34 AM David Joyner  wrote:
>>>
>>>>
>>>>
>>>> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> On Wed, Oct 9, 2019 at 6:03 AM George  wrote:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> Thanks for the update and information.
>>>>>>
>>>>>> building from source should still work.
>>>>> Did you try this ?
>>>>>
>>>>
>>>> I did. It chokes on the gfortran build:
>>>>
>>>> ...
>>>>
>>>> [gfortran-7.4.0] make[7]: *** [gets-chk.lo] Error 1
>>>>
>>>> [gfortran-7.4.0] make[6]: *** [all] Error 2
>>>>
>>>> [gfortran-7.4.0] make[5]: *** [all-target-libssp] Error 2
>>>>
>>>> [gfortran-7.4.0] make[4]: *** [all] Error 2
>>>>
>>>> [gfortran-7.4.0] 
>>>> 
>>>>
>>>> [gfortran-7.4.0] Error building gfortran-7.4.0
>>>>
>>>> [gfortran-7.4.0] 
>>>> 
>>>>
>>>>
>>>>  
>>>>
>>> is there Homebrew for  Catalina?
>>> Then one can use its gfortran.
>>>
>>>
>> I googled around. Apparently the answer is no
>> (or not as of a few days ago anyway).
>>
>
> On a recent beta release of Catalina, I used homebrew to install gfortran, 
> and it went fine, allowing me to build Sage from scratch. I haven't yet 
> tried with the actual release of Catalina, but I will soon.
>
>   John
>
>  
>
>>  
>>
>>>
>>>
>>>>> Dima
>>>>>
>>>>>> G
>>>>>>
>>>>>> On Wednesday, October 9, 2019 at 1:00:37 PM UTC+2, David Joyner wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Oct 9, 2019 at 6:45 AM George  wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I upgraded to the new macOS Catalina and SageMath won't install. I 
>>>>>>>> get errors like "python2.7 cannot be opened because the developer 
>>>>>>>> cannot be 
>>>>>>>> verified" and for numerous other components as well. 
>>>>>>>>
>>>>>>>> Is anyone having the same problem? Any tips, advice or ideas on 
>>>>>>>> what is going on and how to fix this?
>>>>>>>>
>>>>>>>>
>>>>>>> I can confirm this issue. The problem is also discussed in the thread
>>>>>>>
>>>>>>> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-support/4dUg8mbiDYw/u5o-U9QBCAAJ
>>>>>>> That's all I know.
>>>>>>>  
>>>>>>>
>>>>>>>> Thanks a lot,
>>>>>>>> G
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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-s...@googlegroups.com.
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com?utm_medium=email_source=footer>
>

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread George
Hi,

I did not try building from source, but I guess by David's post that there 
are issues as well. 

G

On Wednesday, October 9, 2019 at 1:34:24 PM UTC+2, David Joyner wrote:
>
>
>
> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik  > wrote:
>
>> Hi,
>>
>> On Wed, Oct 9, 2019 at 6:03 AM George > 
>> wrote:
>>
>>> Hi David,
>>>
>>> Thanks for the update and information.
>>>
>>> building from source should still work.
>> Did you try this ?
>>
>
> I did. It chokes on the gfortran build:
>
> ...
>
> [gfortran-7.4.0] make[7]: *** [gets-chk.lo] Error 1
>
> [gfortran-7.4.0] make[6]: *** [all] Error 2
>
> [gfortran-7.4.0] make[5]: *** [all-target-libssp] Error 2
>
> [gfortran-7.4.0] make[4]: *** [all] Error 2
>
> [gfortran-7.4.0] 
> 
>
> [gfortran-7.4.0] Error building gfortran-7.4.0
>
> [gfortran-7.4.0] 
> ****
>
>
>  
>
>>
>> Dima
>>
>>> G
>>>
>>> On Wednesday, October 9, 2019 at 1:00:37 PM UTC+2, David Joyner wrote:
>>>>
>>>>
>>>>
>>>> On Wed, Oct 9, 2019 at 6:45 AM George  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I upgraded to the new macOS Catalina and SageMath won't install. I get 
>>>>> errors like "python2.7 cannot be opened because the developer cannot be 
>>>>> verified" and for numerous other components as well. 
>>>>>
>>>>> Is anyone having the same problem? Any tips, advice or ideas on what 
>>>>> is going on and how to fix this?
>>>>>
>>>>>
>>>> I can confirm this issue. The problem is also discussed in the thread
>>>>
>>>> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-support/4dUg8mbiDYw/u5o-U9QBCAAJ
>>>> That's all I know.
>>>>  
>>>>
>>>>> Thanks a lot,
>>>>> G
>>>>>
>>>>> -- 
>>>>> 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-s...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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-s...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/1cd586e5-35af-4e39-9322-8e055c144601%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/sage-support/1cd586e5-35af-4e39-9322-8e055c144601%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> -- 
>> 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-s...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/CAAWYfq0ZBO74cNDnkb33ywH7KkGUNci%3DMxXm5Dsoq5ak-mWb9Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/CAAWYfq0ZBO74cNDnkb33ywH7KkGUNci%3DMxXm5Dsoq5ak-mWb9Q%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/1c3b985f-49da-4097-a3ed-0fe9d00d8fa7%40googlegroups.com.


Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread George
Hi David,

Thanks for the update and information.

G

On Wednesday, October 9, 2019 at 1:00:37 PM UTC+2, David Joyner wrote:
>
>
>
> On Wed, Oct 9, 2019 at 6:45 AM George > 
> wrote:
>
>> Hi,
>>
>> I upgraded to the new macOS Catalina and SageMath won't install. I get 
>> errors like "python2.7 cannot be opened because the developer cannot be 
>> verified" and for numerous other components as well. 
>>
>> Is anyone having the same problem? Any tips, advice or ideas on what is 
>> going on and how to fix this?
>>
>>
> I can confirm this issue. The problem is also discussed in the thread
>
> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-support/4dUg8mbiDYw/u5o-U9QBCAAJ
> That's all I know.
>  
>
>> Thanks a lot,
>> G
>>
>> -- 
>> 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-s...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/1cd586e5-35af-4e39-9322-8e055c144601%40googlegroups.com.


[sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread George
Hi,

I upgraded to the new macOS Catalina and SageMath won't install. I get 
errors like "python2.7 cannot be opened because the developer cannot be 
verified" and for numerous other components as well. 

Is anyone having the same problem? Any tips, advice or ideas on what is 
going on and how to fix this?

Thanks a lot,
G

-- 
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/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com.


[sage-support] Solving equation

2014-05-28 Thread George Hokke
Hi,
what I want to do is to solve an equation in which the function contains a 
numerical integral in its definition.
Something like this:

sage: d=lambda y: numerical_integral(x**2+y,0,1)[0]
sage: d(0)
0.

works until here.
But now I'd want to do:

sage: solve(d(y)==1,y)
ValueError: Integral has wrong number of parameters

Even of I try to pass 'y' as parameter in function d, I get an error.

Is there any way to do it?
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: install R packages on OS X

2011-06-17 Thread George
On 17 June, 06:07, Kirill Vankov kirill.van...@gmail.com wrote:
   Detected SAGE64 flag
   Building Sage on OS X in 64-bit mode

  Does this happen every time you start Sage?  That is odd.

 Yes, it does.  But I really had never noticed, since usually I start
 sage not from terminal

  down.  Presumably you have no directories like the ones in

  '/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.7/local/
  lib/R/doc/html/packages.html'

I also ran into the problem of incorrect directories in R using
sage-4.6.2-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux.   R
stores these settings in the following text files:

sage/local/lib/R/bin/R
sage/local/lib/R/bin/libtool
sage/local/lib/R/etc/Makeconf
sage/local/lib/R/etc/ldpath
sage/local/lib/R/etc/Renviron
sage/local/bin/R

so simply replacing the bad paths with the ones that match your
installation worked for me.

The R documentation mentions other ways to override the default
settings of the variables on a per-user basis.

 Indeed I have no this type of directories.  Moreover, I tried to make
 one, but it did not help.

  The workaround for you is pretty simple, though it will take a few
  hours of sleep for it to happen.

  1) Download the *source* to Sage, e.g. 
  athttp://www.sagemath.org/download-source.html
  2) Follow the instructions to build Sage from source.  It consists of
  going into a certain directory in Terminal and typing make.
  3) Wait a few hours.
  4) Now try to install your package!

Seems like overkill if R is the only package that stores paths a build
time.

 I'll try.  Thank you for your suggestions.

 Kirill

-- 
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] sage-4.3-osx10.6-intel-64bit-i386-Darwin.dmg OS X 10.6.2 install problem

2009-12-27 Thread George Cunningham
Machine is 2009 Macbook Pro 2.8 GHz Intel Core 2 Duo, 4 GB 1067 MHz
DDR3 RAM, Version 10.6.2 of OS X.

Trying to install using sage-4.3-osx10.6-intel-64bit-Darwin.dmg

Downloaded, moved pretty icon to applications, and double clicked
while in the admin account.  Here is the resulting output in a window
labeled Sage.

Running...
Setting environment variables
Checking install location
The Sage install tree may have moved.
Regenerating Python.pyo and .pyc files that hardcode the install PATH
(please wait at most a few minutes)...
Do not interrupt this.
Traceback (most recent call last):
  File ./local/bin/sage-location, line 180, in module
update_library_files(R)
  File ./local/bin/sage-location, line 128, in update_library_files
open(LIB + F,'w').write(H)
IOError: [Errno 13] Permission denied: '/tmp/sage-map-app/local/lib/
libcord.la'
Starting notebook
--
| Sage Version 4.3, Release Date: 2009-12-24 |
| Type notebook() for the GUI, and license() for information.|
--

Please wait while the Sage Notebook server starts...
WARNING: There is one major unsolved bug in some versions of
Sage on OS X 10.6 that causes an 'Abort trap' crash when
doing certain symbolic computations.
See http://trac.sagemath.org/sage_trac/ticket/7095/.
/tmp/sage-map-app/local/lib/python/getpass.py:79: GetPassWarning: Can
not control echo on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Enter new password: ...
The notebook files are stored in: sage_notebook.sagenb



Please choose a new password for the Sage Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your
password
and connect to your machine could access or delete your files.
NOTE: Only the md5 hash of the password you type is stored by Sage.
You can change your password by typing notebook(reset=True).



Traceback (most recent call last):
  File /tmp/sage-map-app/local/bin/sage-notebook, line 36, in
module
notebook(port=8000)
  File /tmp/sage-map-app/local/lib/python2.6/site-packages/
sagenb-0.4.8-py2.6.egg/sagenb/notebook/notebook_object.py, line 174,
in __call__
return self.notebook(*args, **kwds)
  File /tmp/sage-map-app/local/lib/python2.6/site-packages/
sagenb-0.4.8-py2.6.egg/sagenb/notebook/run_notebook.py, line 113, in
notebook_twisted
passwd = get_admin_passwd()
  File /tmp/sage-map-app/local/lib/python2.6/site-packages/
sagenb-0.4.8-py2.6.egg/sagenb/notebook/run_notebook.py, line 296, in
get_admin_passwd
passwd = getpass.getpass(Enter new password: )
  File /tmp/sage-map-app/local/lib/python/getpass.py, line 79, in
unix_getpass
passwd = fallback_getpass(prompt, stream)
  File /tmp/sage-map-app/local/lib/python/getpass.py, line 114, in
fallback_getpass
return _raw_input(prompt, stream)
  File /tmp/sage-map-app/local/lib/python/getpass.py, line 130, in
_raw_input
raise EOFError
EOFError

I have no idea what any of this means.http://localhost:8000  does
not seem to exist.

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