I must have typed it wrong. The second option you gave failed on numpy, but
I tried the first option again, and it is compiling.

Best Regards,

Trevor Karn


On Mon, Feb 8, 2021 at 11:31 AM Zachary Scherr <[email protected]> wrote:

> Are you sure you typed it correctly? Maybe try running
>
> ./bootstrap
>
> to make sure that the make targets are in order.
>
> On Monday, February 8, 2021 at 12:27:01 PM UTC-5 Trevor Karn wrote:
>
>> I tried make distclean and got an error “make: *** No rule to make target
>> ‘distclean’. Stop.”
>>
>> So I tried your second suggestion and it seems to be working so far, but
>> it is still compiling.
>>
>> On Mon, Feb 8, 2021 at 10:29 AM Zachary Scherr <[email protected]> wrote:
>>
>>> Probably the thing to try would be:
>>>
>>> make distclean
>>>
>>> and then you can build from scratch via:
>>>
>>> ./bootstrap
>>> source .homebrew-build-env
>>> ./configure
>>> make -j4 build
>>>
>>> But if you want to try cleaning wheel first before starting from
>>> scratch, you could just try
>>>
>>> make wheel-clean
>>> make -j4 build
>>>
>>> but it might be better to clean everything and start from scratch.
>>>
>>> On Monday, February 8, 2021 at 10:59:05 AM UTC-5 Trevor Karn wrote:
>>>
>>>> I do not see pep425tags.py in that directory.
>>>>
>>>> trevorkarn@Trevors-MacBook-Air sage % cd
>>>> /Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/
>>>>
>>>> trevorkarn@Trevors-MacBook-Air wheel % ls
>>>>
>>>> __init__.py __pycache__ cli metadata.py util.py wheelfile.py
>>>>
>>>> __main__.py bdist_wheel.py macosx_libfile.py pkginfo.py vendored
>>>>
>>>> Is there a way to clean the build environment?
>>>>
>>>> Best Regards,
>>>>
>>>> Trevor Karn
>>>>
>>>>
>>>> On Mon, Feb 8, 2021 at 9:54 AM Dima Pasechnik <[email protected]> wrote:
>>>>
>>>>> the only explanation for pep425tags.py would be an unclean build
>>>>> environment - e.g. weird env vars set, or strange stuff in PATH.
>>>>>
>>>>> On Mon, Feb 8, 2021 at 3:51 PM Zachary Scherr <[email protected]>
>>>>> wrote:
>>>>> >
>>>>> > and do you see that pep425tags.py file in that directory?
>>>>> >
>>>>> > On Monday, February 8, 2021 at 10:21:09 AM UTC-5 Trevor Karn wrote:
>>>>> >>
>>>>> >> The only contents of the file you pointed me towards are
>>>>> >>
>>>>> >> __version__ = '0.36.2'
>>>>> >>
>>>>> >> Best Regards,
>>>>> >>
>>>>> >> Trevor Karn
>>>>> >>
>>>>> >>
>>>>> >> On Mon, Feb 8, 2021 at 9:09 AM Zachary Scherr <[email protected]>
>>>>> wrote:
>>>>> >>>
>>>>> >>> I really don't understand.  The Cython log file shows that the
>>>>> problem is in
>>>>> >>>
>>>>> >>>
>>>>> /Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/pep425tags.py
>>>>> >>>
>>>>> >>> I could be mistaken, but I don't think pep425tags.py has been a
>>>>> part of the wheel package for a while now.  Certainly when I looked at
>>>>> wheel on my sage there was no such file.
>>>>> >>>
>>>>> >>> Can you go to your
>>>>> "/Users/trevorkarn/Applications/sage/local/lib/python3.9/site-packages/wheel/"
>>>>> directory and take a look at __init__.py.  Does the version say 0.36.2?
>>>>> >>>
>>>>> >>> On Monday, February 8, 2021 at 9:32:20 AM UTC-5 Trevor Karn wrote:
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> Here is what I get. It seems like it is the same as yours?
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> trevorkarn@Trevors-MacBook-Air sage % brew info python3
>>>>> >>>>
>>>>> >>>> [email protected]: stable 3.9.1
>>>>> >>>>
>>>>> >>>> Interpreted, interactive, object-oriented programming language
>>>>> >>>>
>>>>> >>>> https://www.python.org/
>>>>> >>>>
>>>>> >>>> /usr/local/Cellar/[email protected]/3.9.1_8 (8,665 files, 129.4MB) *
>>>>> >>>>
>>>>> >>>>   Built from source on 2021-02-05 at 16:39:31
>>>>> >>>>
>>>>> >>>> From:
>>>>> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
>>>>> >>>>
>>>>> >>>> License: Python-2.0
>>>>> >>>>
>>>>> >>>> ==> Dependencies
>>>>> >>>>
>>>>> >>>> Build: pkg-config ✔
>>>>> >>>>
>>>>> >>>> Required: gdbm ✔, [email protected] ✔, readline ✔, sqlite ✔, tcl-tk ✔,
>>>>> xz ✔
>>>>> >>>>
>>>>> >>>> ==> Caveats
>>>>> >>>>
>>>>> >>>> Python has been installed as
>>>>> >>>>
>>>>> >>>>   /usr/local/bin/python3
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> Unversioned symlinks `python`, `python-config`, `pip` etc.
>>>>> pointing to
>>>>> >>>>
>>>>> >>>> `python3`, `python3-config`, `pip3` etc., respectively, have been
>>>>> installed into
>>>>> >>>>
>>>>> >>>>   /usr/local/opt/[email protected]/libexec/bin
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> You can install Python packages with
>>>>> >>>>
>>>>> >>>>   pip3 install <package>
>>>>> >>>>
>>>>> >>>> They will install into the site-package directory
>>>>> >>>>
>>>>> >>>>   /usr/local/lib/python3.9/site-packages
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> See: https://docs.brew.sh/Homebrew-and-Python
>>>>> >>>>
>>>>> >>>> ==> Analytics
>>>>> >>>>
>>>>> >>>> install: 755,419 (30 days), 2,396,024 (90 days), 2,995,387 (365
>>>>> days)
>>>>> >>>>
>>>>> >>>> install-on-request: 244,063 (30 days), 714,665 (90 days), 799,812
>>>>> (365 days)
>>>>> >>>>
>>>>> >>>> build-error: 0 (30 days)
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> Best Regards,
>>>>> >>>>
>>>>> >>>> Trevor Karn
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> On Mon, Feb 8, 2021 at 8:17 AM Dima Pasechnik <[email protected]>
>>>>> wrote:
>>>>> >>>>>
>>>>> >>>>> Could it be that you need to update your Homebrew (?) python3
>>>>> package?
>>>>> >>>>> What version do you have now?
>>>>> >>>>> E.g. on a box where the latest Sage builds I have
>>>>> >>>>>
>>>>> >>>>> % brew info python3
>>>>> >>>>>
>>>>> >>>>> [email protected]: stable 3.9.1 (bottled)
>>>>> >>>>> Interpreted, interactive, object-oriented programming language
>>>>> >>>>> https://www.python.org/
>>>>> >>>>> /usr/local/Cellar/[email protected]/3.9.1_8 (4,057 files, 67.8MB) *
>>>>> >>>>>   Poured from bottle on 2021-02-06 at 10:13:24
>>>>> >>>>> From:
>>>>> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
>>>>> >>>>>
>>>>> >>>>>
>>>>> >>>>> On Mon, Feb 8, 2021 at 1:53 PM Trevor Karn <[email protected]>
>>>>> wrote:
>>>>> >>>>> >
>>>>> >>>>> > Ah I see, thanks for explaining.
>>>>> >>>>> >
>>>>> >>>>> > Here is my top-level config.log.
>>>>> >>>>> >
>>>>> >>>>> > Best Regards,
>>>>> >>>>> >
>>>>> >>>>> > Trevor Karn
>>>>> >>>>> >
>>>>> >>>>> >
>>>>> >>>>> > On Mon, Feb 8, 2021 at 7:09 AM Dima Pasechnik <
>>>>> [email protected]> wrote:
>>>>> >>>>> >>
>>>>> >>>>> >>
>>>>> >>>>> >>
>>>>> >>>>> >> On Mon, 8 Feb 2021, 13:02 Trevor Karn, <[email protected]>
>>>>> wrote:
>>>>> >>>>> >>>
>>>>> >>>>> >>> Thanks for sending that link. I am confused though, because
>>>>> it says a fix was issued. Does that mean it should work now?
>>>>> >>>>> >>
>>>>> >>>>> >>
>>>>> >>>>> >> sorry, I was not clear. What I meant to say that it appears
>>>>> to be a well-known issue in the Python@macOS universe,
>>>>> >>>>> >> and lately all seems to be OK with Sage.
>>>>> >>>>> >>
>>>>> >>>>> >> To figure out exactly goes wrong in your case, we need to
>>>>> know where Python3 used in Sage is coming from.
>>>>> >>>>> >> Please post the top-level config.log
>>>>> >>>>> >>
>>>>> >>>>> >>
>>>>> >>>>> >>>
>>>>> >>>>> >>> And yes, I am on the most recent develop branch
>>>>> >>>>> >>>
>>>>> >>>>> >>> On Mon, Feb 8, 2021 at 5:42 AM Dima Pasechnik <
>>>>> [email protected]> wrote:
>>>>> >>>>> >>>>
>>>>> >>>>> >>>> This seems to be well-known issue, see e.g
>>>>> >>>>> >>>> https://github.com/pypa/virtualenv/issues/2027
>>>>> >>>>> >>>>
>>>>> >>>>> >>>> Are you on the most recent develop branch (9.3.beta7)?
>>>>> >>>>> >>>>
>>>>> >>>>> >>>> On Mon, Feb 8, 2021 at 9:20 AM Trevor Karn <
>>>>> [email protected]> wrote:
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > Hi,
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > I'm trying to build Sage from the source code. I cloned
>>>>> it from git, and tried to build from the develop branch using make from 
>>>>> the
>>>>> sage directory. I ran into trouble building cython. The error message
>>>>> suggested that I email this group. Does anyone have any advice on how to
>>>>> proceed?
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > I am using macOS Big Sur 11.2 on a MacBook Air.
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > The log file is attached, this is from a second run - it
>>>>> failed once, and I tried running make a second time without any changes 
>>>>> and
>>>>> this is the log from the second run, which returns the same error just
>>>>> without all of the info before it (eg. the flint installation).
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > Thanks so much.
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > Best,
>>>>> >>>>> >>>> > Trevor
>>>>> >>>>> >>>> >
>>>>> >>>>> >>>> > --
>>>>> >>>>> >>>> > 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 [email protected].
>>>>> >>>>> >>>> > To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/1c93ec2e-86bd-45f0-bba0-cc254a392305n%40googlegroups.com
>>>>> .
>>>>> >>>>> >>>>
>>>>> >>>>> >>>> --
>>>>> >>>>> >>>> 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/TmbLnmwz2mg/unsubscribe.
>>>>> >>>>> >>>> To unsubscribe from this group and all its topics, send an
>>>>> email to [email protected].
>>>>> >>>>> >>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3CFFAYzUtNnSrt_RPKW7X_p8j_VXGtZbKLWG%2BST%3DCO%2BQ%40mail.gmail.com
>>>>> .
>>>>> >>>>> >>>
>>>>> >>>>> >>> --
>>>>> >>>>> >>> Best,
>>>>> >>>>> >>>
>>>>> >>>>> >>> Trevor
>>>>> >>>>> >>>
>>>>> >>>>> >>> --
>>>>> >>>>> >>> 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 [email protected].
>>>>> >>>>> >>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMAVGG57CHovd7zoXa0C3Nxsr3WfXi0FWwapKrDfup7_sA%40mail.gmail.com
>>>>> .
>>>>> >>>>> >>
>>>>> >>>>> >> --
>>>>> >>>>> >> 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/TmbLnmwz2mg/unsubscribe.
>>>>> >>>>> >> To unsubscribe from this group and all its topics, send an
>>>>> email to [email protected].
>>>>> >>>>> >> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq026cNP9FTmBySPskZZoc%2BH4ykTQO7je6TW4YTkirg_qw%40mail.gmail.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 [email protected].
>>>>> >>>>> > To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMDJEN7KzDmvB0x0GDrXiQrK3F_e_eBZvSJf-JxVre0n-Q%40mail.gmail.com
>>>>> .
>>>>> >>>>>
>>>>> >>>>> --
>>>>> >>>>> 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/TmbLnmwz2mg/unsubscribe.
>>>>> >>>>> To unsubscribe from this group and all its topics, send an email
>>>>> to [email protected].
>>>>> >>>>>
>>>>> >>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3meWN5AWip9BG5GzJ%3DFfLvoHKFrpS6Ezmq4X2GWH8mQw%40mail.gmail.com
>>>>> .
>>>>> >>>
>>>>> >>> --
>>>>> >>> 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/TmbLnmwz2mg/unsubscribe.
>>>>> >>> To unsubscribe from this group and all its topics, send an email
>>>>> to [email protected].
>>>>> >>>
>>>>> >>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/c02796d9-9057-41e2-829f-eeb933132d42n%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 [email protected].
>>>>>
>>>> > To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/bd636baa-f6b1-42f7-866b-77ba0af40b6en%40googlegroups.com
>>>>> .
>>>>>
>>>>> --
>>>>> 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/TmbLnmwz2mg/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq08zf6vp0LfT%2BGfAy25ML95cxTyxAQho9gB_UdGjqpHFA%40mail.gmail.com
>>>>> .
>>>>>
>>>> --
>>> 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/TmbLnmwz2mg/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-devel/c6d5aec3-7f1c-4dc7-a94b-d1e2ab5fdf53n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-devel/c6d5aec3-7f1c-4dc7-a94b-d1e2ab5fdf53n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> Best,
>>
>> Trevor
>>
> --
> 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/TmbLnmwz2mg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/47b9954f-e37a-4a81-a7f4-7747b8139e5an%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/47b9954f-e37a-4a81-a7f4-7747b8139e5an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAJ6VCMAo9At6_bbz9xRE0z%3DDPTbav9Do6cooNZCDo3jk9-yEyw%40mail.gmail.com.

Reply via email to