Hi All,

   I just thought I would chime in on the homebrew side of things.  I have 
freetype installed via homebrew on Catalina 10.15.5 and when I execute

> pkg-config --modversion freetype2

I get back 23.2.17.  Anne seemed to get back version 9.8.3, which means 
that something is screwy with your freetype.

Some things you could try:

1). If you have already installed freetype via homebrew then you can try
 brew unlink freetype && brew link freetype

2). It's possible that "brew doctor" will pick up on the inconsistencies 
and will give recommendations as to how to fix it.

Your log file specifically mentioned that the system could not find 
ftconfig.h.  With freetype correctly installed via homebrew you can do the 
following:

cd /usr/local/include
ls -l | grep freetype2

and you should see that that folder is symlinked to 
/usr/local/Cellar/freetype/2.10.2/include/freetype2 which is the folder 
that actually contains all the freetype header files.

Not sure how much you want to invest in fixing this, but my suggestion 
would be to head to /usr/local and try to find ftheader.h, which is the 
header file that defines where ftconfig.h is located.  If you find any 
ftheader.h file that is not originating from 
local/Cellar/freetype/2.10.2/include/freetype2/freetype/config/ftheader.h 
then you should delete it.



On Wednesday, July 1, 2020 at 2:53:05 AM UTC-4 dim...@gmail.com wrote:

>
>
> On Wed, 1 Jul 2020, 07:41 Anne Schilling, <anne1.s...@gmail.com> wrote:
>
>>
>>
>> On Tuesday, June 30, 2020 at 12:22:47 AM UTC-7, Dima Pasechnik wrote:
>>>
>>>
>>>
>>> On Tue, 30 Jun 2020, 07:46 Anne Schilling, <anne1.s...@gmail.com> wrote:
>>>
>>>> Here is the new config.log file. It still does not build:
>>>>
>>>> https://www.math.ucdavis.edu/~anne/config.log 
>>>> <https://www.google.com/url?q=https%3A%2F%2Fwww.math.ucdavis.edu%2F~anne%2Fconfig.log&sa=D&sntz=1&usg=AFQjCNGHbWAuGZkjNWZ_oCVmDNSsBSqS0w>
>>>>
>>>
>>> do you get the same error while building pillow (missing header)? If so, 
>>> it looks as if you removed the old freetype dylib files, but left headers 
>>> there.
>>>
>>
>> Thank you, but what exactly am I supposed to delete? I delete the folder 
>> /usr/local/Cellar/freetype
>>
>
> you had to delete the installation of freetype in /usr/local/{lib, 
> include, lib/pkgconfig}. 
>
> and after that, (re)install freetype in Homebrew.
>
> Deleting /usr/local/Cellar/freetype 
> probably was not a good idea - that is where, I guess, you have a good 
> installation of freetype (which you should uninstall using the brew 
> commands, not just deleting from shell)
>
> But I don't know whether your Homebrew is not too old. Can you do
>
> brew install freetype 
>
> (or is it freetype2) 
>
> paying attention to the version it mentions?
>
>
> in any case, 
>
> ./configure --with-freetype=system 
>
> should force sage to build freetype on its own.
>
>
>
>> Also, did you source .homebrew-build-env
>>> before doing ./configure && make ?
>>> As you use libraries from Homebrew, this might be crucial.
>>>
>>
>> I did that and it still does not work. See
>>
>> https://www.math.ucdavis.edu/~anne/config.log 
>> <https://www.google.com/url?q=https%3A%2F%2Fwww.math.ucdavis.edu%2F~anne%2Fconfig.log&sa=D&sntz=1&usg=AFQjCNGHbWAuGZkjNWZ_oCVmDNSsBSqS0w>
>>
>> Is it possible that this might be an issue
>>
>> https://github.com/Homebrew/legacy-homebrew/issues/43471
>>
>>
>> -- 
>> 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/6ec9e78d-fd63-4122-91b2-d4600836aee8o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-devel/6ec9e78d-fd63-4122-91b2-d4600836aee8o%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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8ffdfa07-94c0-45f2-81e0-d0cc4d710315n%40googlegroups.com.

Reply via email to