I got an error while trying to build sage devel for the first time on my mac and it told me to put the log file here.

90 views
Skip to first unread message

B. Thompson

unread,
Oct 3, 2020, 1:10:03 PM10/3/20
to sage-devel
Hello,

I'm trying to install the latest version of sage, the developer version. I've done this before on my Mac before it got wiped, albeit with a lot of computer scientists' help to get past git hub errors. 

I followed the guide on wiki along with a quick guide written by Ben Hutz (attached) and I'm stuck on step 6. I'm on a Max with Mojave 10.14.6, I think I have python 2.7.16 (I don't know how to find the actual python file, and I don't know how to update it to python 3.0). I have way more than 6 gigs of space and 2gigs of ram (the recommended info on the guide). I installed homebrew as the guide said as well, since I'm running a more recent Mac OS. I also installed xcode as the guide suggested.

During the build I got an error:
"Error building Sage.
The following package(s) may have failed to build (not necessarily during this run of 'make all-start'):

* package:         pynac-0.7.26.sage-2020-04-03.p0
  last build time: Oct 2 21:54
  log file:        /Users/bthompson/Dropbox/Sage_development/logs/pkgs/pynac-0.7.26.sage-2020-04-03.p0.log
  build directory: /Users/bthompson/Dropbox/Sage_development/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03.p0

......

make[1]: *** [all-start] Error 1

make: *** [all] Error 2"

I've included one of the log files of the two above. I wasn't able to find the other log file. 

I would love to know if folk have some suggestions on getting past these errors. I am not well versed in computer science language and only know what I do from the sage workshops I've attended. 

Thank you!

Bianca Thompson

SetupSageAndGIT.pdf
pynac-0.7.26.sage-2020-04-03.p0.log

Samuel Lelievre

unread,
Oct 3, 2020, 1:39:47 PM10/3/20
to sage-devel
After getting the latest sources and changing to the
Sage folder, did you run the following commands?

    source .homebrew-build-env
    make configure
    ./configure
    make

Please send the file config.log, and also run

    brew list --versions > brew-list-versions.txt

and send the resulting file brew-list-versions.txt

Dima Pasechnik

unread,
Oct 4, 2020, 5:58:20 AM10/4/20
to sage-devel
On Sat, Oct 3, 2020 at 6:39 PM Samuel Lelievre
<samuel....@gmail.com> wrote:
>
> After getting the latest sources and changing to the
> Sage folder, did you run the following commands?
>
> source .homebrew-build-env
- yes, this is most likely the problem.

> make configure
> ./configure
I'd recommend running

./configure --enable-download-from-upstream-url

(to automatically pull in the recently changed tarballs of packages)


> make
>
> Please send the file config.log, and also run
>
> brew list --versions > brew-list-versions.txt
>
> and send the resulting file brew-list-versions.txt
>
> --
> 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/53cb32cd-4247-4037-81e5-2423b4ffe265o%40googlegroups.com.

Bianca

unread,
Oct 4, 2020, 3:50:09 PM10/4/20
to sage-...@googlegroups.com
I did run ./config in the sage folder. I also ran the source .homebrew command (not in my sage folder, but I added in my sage home directory to that command).

I did not make config before doing ./config. If I do the make config now after having sage trying to make, will I mess things up? or should I somehow figure out how to do a clean wipe and start over?

--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/QzT7BpJoOd4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.

Bianca

unread,
Oct 4, 2020, 3:50:14 PM10/4/20
to sage-...@googlegroups.com
I did ./config last time, would running it again with your suggestion of adding the "enable" piece cause things to clash?

I haven't done the configure piece yet, so I can't send the config.log yet. But here is the brew-list-versions.txt.

Thank you both for your suggestions!

You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/QzT7BpJoOd4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1FTBCc%2BN1d5BDDS%3DWre9YwKba_ayAUUkDnmFJLQYYXLQ%40mail.gmail.com.
brew-list-versions.txt

Bianca

unread,
Oct 4, 2020, 3:50:19 PM10/4/20
to sage-...@googlegroups.com
I had two things called config.log, so I attached both.
config.log
config.log

Dima Pasechnik

unread,
Oct 4, 2020, 6:39:33 PM10/4/20
to sage-devel
Dear Bianca,

I think the pynac build error you see is caused by not running "source
.homebrew-build-env"
before make. (as pynac complains it cannot find gmp, whereas you've
got gmp installed in homebrew
and Sage configured to be using it).
Can you just try running in terminal (in the main Sage directory, i.e.
in /Users/bthompson/Dropbox/Sage_development )

source .homebrew-build-env
make

and see if it goes through.
HTH
Dima
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAPn5xfcFPnXDxn7N%3DmZA9_hfSixYeEFyzKsNGR%2BGp4OYhnBpaQ%40mail.gmail.com.

Bianca

unread,
Oct 5, 2020, 4:00:08 PM10/5/20
to sage-...@googlegroups.com
Thank you! It worked! Now I have a working version of sage. :) I may have even linked it to git, I'll find out later if it worked when I try pulling a ticket.

Thank you both again!

Reply all
Reply to author
Forward
0 new messages