Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Brian Sun
Running `./configure --with-system-givaro=no` fixed it! Thanks for all of 
the help!
On Thursday, August 19, 2021 at 6:57:23 AM UTC-4 dim...@gmail.com wrote:

>
>
> On Thu, 19 Aug 2021, 13:47 Samuel Lelievre,  wrote:
>
>> The Homebrew Givaro is also from the Macaulay2 taps.
>>
>> See the file `givaro.rb` in the "Formula" folder there:
>>
>> https://github.com/Macaulay2/homebrew-tap/tree/main/Formula
>>
>
> that was my guess. But, actually, anyone can create a custom Homebrew 
> formula...
>
>>
>>
>> 2021-08-19 01:49:05 UTC, John H Palmieri:
>>
>>> (I'm not sure where this comes from, since searching for "givaro" on 
>>> brew.sh comes up empty.)
>>>
>>> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>>>
 You could try uninstalling homebrew's givaro and/or use `./configure 
 --with-system-givaro=no` to force Sage to build its own givaro.

 On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:

> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
> work. I've the linbox log file again, which seems to be the only issue in 
> the installation. The errors seem similar to last time -- stuff about 
> "redefinition" and "implicit instantiation."
>
> Brian
>
 -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/ad1adb8d-57ac-4cac-b866-f528c6e927b4n%40googlegroups.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Dima Pasechnik
On Thu, 19 Aug 2021, 13:47 Samuel Lelievre, 
wrote:

> The Homebrew Givaro is also from the Macaulay2 taps.
>
> See the file `givaro.rb` in the "Formula" folder there:
>
> https://github.com/Macaulay2/homebrew-tap/tree/main/Formula
>

that was my guess. But, actually, anyone can create a custom Homebrew
formula...

>
>
> 2021-08-19 01:49:05 UTC, John H Palmieri:
>
>> (I'm not sure where this comes from, since searching for "givaro" on
>> brew.sh comes up empty.)
>>
>> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>>
>>> You could try uninstalling homebrew's givaro and/or use `./configure
>>> --with-system-givaro=no` to force Sage to build its own givaro.
>>>
>>> On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:
>>>
 I ran the two commands (and also uninstalled Macaulay2 and the copy of
 fflas-ffpack using Homebrew and tried it), and it still does not seem to
 work. I've the linbox log file again, which seems to be the only issue in
 the installation. The errors seem similar to last time -- stuff about
 "redefinition" and "implicit instantiation."

 Brian

>>> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2UNNPA5rGn%2BOtb9tSsJB2rKz0VS7mxV8o41aZfUsJTWw%40mail.gmail.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-19 Thread Samuel Lelievre
The Homebrew Givaro is also from the Macaulay2 taps.

See the file `givaro.rb` in the "Formula" folder there:

https://github.com/Macaulay2/homebrew-tap/tree/main/Formula

2021-08-19 01:49:05 UTC, John H Palmieri:

> (I'm not sure where this comes from, since searching for "givaro" on 
> brew.sh comes up empty.)
>
> On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:
>
>> You could try uninstalling homebrew's givaro and/or use `./configure 
>> --with-system-givaro=no` to force Sage to build its own givaro.
>>
>> On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:
>>
>>> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
>>> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
>>> work. I've the linbox log file again, which seems to be the only issue in 
>>> the installation. The errors seem similar to last time -- stuff about 
>>> "redefinition" and "implicit instantiation."
>>>
>>> Brian
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/f6ff2489-81da-45fa-bd02-427874681c69n%40googlegroups.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-18 Thread John H Palmieri
(I'm not sure where this comes from, since searching for "givaro" on 
brew.sh comes up empty.)

On Wednesday, August 18, 2021 at 6:48:10 PM UTC-7 John H Palmieri wrote:

> You could try uninstalling homebrew's givaro and/or use `./configure 
> --with-system-givaro=no` to force Sage to build its own givaro.
>
> On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:
>
>> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
>> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
>> work. I've the linbox log file again, which seems to be the only issue in 
>> the installation. The errors seem similar to last time -- stuff about 
>> "redefinition" and "implicit instantiation."
>>
>> Brian
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/e10a9b20-673a-464e-8419-9c3caaa45408n%40googlegroups.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-18 Thread John H Palmieri
You could try uninstalling homebrew's givaro and/or use `./configure 
--with-system-givaro=no` to force Sage to build its own givaro.

On Wednesday, August 18, 2021 at 4:45:54 PM UTC-7 Brian Sun wrote:

> I ran the two commands (and also uninstalled Macaulay2 and the copy of 
> fflas-ffpack using Homebrew and tried it), and it still does not seem to 
> work. I've the linbox log file again, which seems to be the only issue in 
> the installation. The errors seem similar to last time -- stuff about 
> "redefinition" and "implicit instantiation."
>
> Brian
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/fd2ab24d-7651-40fd-a7b6-67eee061ac64n%40googlegroups.com.


Re: [sage-devel] Problem Building Sage from Source

2021-08-17 Thread Dima Pasechnik
You seem to be using a non-official Homebrew package
fflas-ffpack (from Macaulay2/homebrew-tap, perhaps?), which appear to
conflicts with our version of Linbox.
Build fflas-ffpack from source, then it hopefully will work.
That is, run

./configure --with-system-fflas_ffpack=no
make build

On Tue, Aug 17, 2021 at 11:23 PM Brian Sun  wrote:
>
>
> Hello,
>
> I am having some issues building sage from source. My machine is a 2019 
> MacBook Pro running macOS Catalina. The commands I have been running in the 
> appropriate directory are:
>
> source .homebrew-build-env
> ./bootstrap -d
> ./configure
> make -j4 build
>
> The problem, and I believe the only problem, that I am running into is that 
> linbox-1.6.3 failed to build, and I'm not exactly sure why this is happening. 
> I have attached two log files, one that gives the output of the make command 
> and the other from the linbox-1.6.3. build, within which about twenty errors 
> can be found, although I was unable to trace their source.
>
> Thanks!
> Brian
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/5bc0c584-cacc-4988-af55-eb05e377bf24n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq05UG8TtGU6A-zr6n-Kc%2Be_5089GTBoaNDDf9404AjuJA%40mail.gmail.com.


Re: [sage-devel] Problem building sage from source

2011-03-23 Thread Willem Jan Palenstijn
On Tue, Mar 22, 2011 at 04:07:18PM -0700, jtyard wrote:
 Hi,
 
 I'm unable to successfully build sage 4.6.2 from source on OS X
 10.6.7.  Everything in the build seems to work fine until the very
 end.  Here is where the build starts complaining:
 
 
 Sage build/upgrade complete!
 spkg/pipestatus ./sage -docbuild all html  21 tee -a dochtml.log
 sphinx-build -b html -d 
 /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/doc/output/doctrees/en/a_tour_of_sage
 /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/doc/en/a_tour_of_sage 
 /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/doc/output/html/en/a_tour_of_sage
 Traceback (most recent call last):
snip
   File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
 line 77, in copystat
 os.chflags(dst, st.st_flags)
 OSError: [Errno 45] Operation not supported: 
 '/nh/nest/u/jtyard/.sage/_Volumes_Extra_jtyard_sage-4.6.2_devel_sage-main-lazy_import_cache.pickle'


This sounds like that file may be on a filesystem with limited support for unix
permissions (and/or related metadata). I'm not sure about the implications of
this, though; it may or may not have been fatal looking at the log.


-Willem Jan

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


[sage-devel] Problem building sage from source

2011-03-22 Thread jtyard
Hi,

I'm unable to successfully build sage 4.6.2 from source on OS X
10.6.7.  Everything in the build seems to work fine until the very
end.  Here is where the build starts complaining:


Sage build/upgrade complete!
spkg/pipestatus ./sage -docbuild all html  21 tee -a dochtml.log
sphinx-build -b html -d /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/
doc/output/doctrees/en/a_tour_of_sage/Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/en/a_tour_of_sage /Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/output/html/en/a_tour_of_sage
Traceback (most recent call last):
  File /Volumes/Extra/jtyard/sage-4.6.2/local/bin/sphinx-build, line
6, in module
import sage.all
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all.py, line 319, in module
sage.misc.lazy_import.save_cache_file()
  File lazy_import.pyx, line 779, in
sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:4185)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 264, in move
copy2(src, real_dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 100, in copy2
copystat(src, dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 77, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 45] Operation not supported: '/nh/nest/u/jtyard/.sage/
_Volumes_Extra_jtyard_sage-4.6.2_devel_sage-main-
lazy_import_cache.pickle'
Build finished.  The built documents can be found in /Volumes/Extra/
jtyard/sage-4.6.2/devel/sage/doc/output/html/en/a_tour_of_sage
sphinx-build -b html -d /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/
doc/output/doctrees/en/bordeaux_2008/Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/en/bordeaux_2008 /Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/output/html/en/bordeaux_2008
Traceback (most recent call last):
  File /Volumes/Extra/jtyard/sage-4.6.2/local/bin/sphinx-build, line
6, in module
import sage.all
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all.py, line 319, in module
sage.misc.lazy_import.save_cache_file()
  File lazy_import.pyx, line 779, in
sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:4185)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 264, in move
copy2(src, real_dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 100, in copy2
copystat(src, dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 77, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 45] Operation not supported: '/nh/nest/u/jtyard/.sage/
_Volumes_Extra_jtyard_sage-4.6.2_devel_sage-main-
lazy_import_cache.pickle'
Build finished.  The built documents can be found in /Volumes/Extra/
jtyard/sage-4.6.2/devel/sage/doc/output/html/en/bordeaux_2008
sphinx-build -b html -d /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/
doc/output/doctrees/en/constructions/Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/en/constructions /Volumes/Extra/jtyard/
sage-4.6.2/devel/sage/doc/output/html/en/constructions
Traceback (most recent call last):
  File /Volumes/Extra/jtyard/sage-4.6.2/local/bin/sphinx-build, line
6, in module
import sage.all
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all.py, line 319, in module
sage.misc.lazy_import.save_cache_file()
  File lazy_import.pyx, line 779, in
sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:4185)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 264, in move
copy2(src, real_dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 100, in copy2
copystat(src, dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 77, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 45] Operation not supported: '/nh/nest/u/jtyard/.sage/
_Volumes_Extra_jtyard_sage-4.6.2_devel_sage-main-
lazy_import_cache.pickle'
Build finished.  The built documents can be found in /Volumes/Extra/
jtyard/sage-4.6.2/devel/sage/doc/output/html/en/constructions
sphinx-build -b html -d /Volumes/Extra/jtyard/sage-4.6.2/devel/sage/
doc/output/doctrees/en/developer/Volumes/Extra/jtyard/sage-4.6.2/
devel/sage/doc/en/developer /Volumes/Extra/jtyard/sage-4.6.2/devel/
sage/doc/output/html/en/developer
Traceback (most recent call last):
  File /Volumes/Extra/jtyard/sage-4.6.2/local/bin/sphinx-build, line
6, in module
import sage.all
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python2.6/site-
packages/sage/all.py, line 319, in module
sage.misc.lazy_import.save_cache_file()
  File lazy_import.pyx, line 779, in
sage.misc.lazy_import.save_cache_file (sage/misc/lazy_import.c:4185)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 264, in move
copy2(src, real_dst)
  File /Volumes/Extra/jtyard/sage-4.6.2/local/lib/python/shutil.py,
line 100, in copy2
copystat(src, dst)
  File