my working conjecture was that Anne had two conflicting installations of freetype, for I cannot imagine Homebrew serving version 2.3 of freetype.
On Wed, Jul 1, 2020 at 1:36 PM Zachary Scherr <[email protected]> wrote: > > Also, you might also consider doing something like the following: > > > cd /usr > > find -L . -name 'ftheader.h' > > you should see the following locations: > > ./local/include/freetype2/freetype/config/ftheader.h > ./local/var/homebrew/linked/freetype/include/freetype2/freetype/config/ftheader.h > ./local/opt/freetype2/include/freetype2/freetype/config/ftheader.h > ./local/opt/freetype/include/freetype2/freetype/config/ftheader.h > ./local/Cellar/freetype/2.10.2/include/freetype2/freetype/config/ftheader.h > > notice though that > "/usr/local/Cellar/freetype/2.10.2/include/freetype2/freetype/config/ftheader.h" > is the real file and the others should all be symlinks of this one. > > On Wednesday, July 1, 2020 at 8:26:58 AM UTC-4 Zachary Scherr wrote: >> >> 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 [email protected] wrote: >>> >>> >>> >>> On Wed, 1 Jul 2020, 07:41 Anne Schilling, <[email protected]> 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, <[email protected]> wrote: >>>>>> >>>>>> Here is the new config.log file. It still does not build: >>>>>> >>>>>> https://www.math.ucdavis.edu/~anne/config.log >>>>> >>>>> >>>>> 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 >>>> >>>> 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 [email protected]. >>>> >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/sage-devel/6ec9e78d-fd63-4122-91b2-d4600836aee8o%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/5816c389-d789-4af7-a44b-46931de1e103n%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/CAAWYfq3S%3DLhVBshrbNz_8ZwEb-ix%3DmmES2-ZQLFuqRFj0Sr%2BhA%40mail.gmail.com.
