-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fails to install in FreeBSD #18057
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What command are you using to install? I don't know anything about freebsd, but I would suggest at the very least using |
It's been used in a virtualenv with python3.7, and with What I can see from the logs is, freetype compilation fails. |
I agree that the freetype compilation seems to be the problem. With 3.3, we switched to building and using our static copy of freetype-2.6.1 by default (it makes it easier to run the test suite). I have no idea what the status of compiling that on FreeBSD is. You can set matplotlib to link to your system copy of freetype again by adding to the [libs]
system_freetype = True |
and how do I do that when I install matplotlib from requirements.txt? That way I'm afraid I can't add any customizations to the package. |
If you create that file and set the environment variable |
I'll test this tomorrow and will touch base with the results. |
Alright, so with the added Is there a way to do this the other way around and make matplotlib autodetect the installed libraries when it's not in testing mode? It would make sense to me, so that pesky environment variable wouldn't need to be set all the time. |
We already added a cut-out for AIX (#17831) to default to system packages. We might as well do the same on freeBSD? |
Just as a hint, Should I create a PR? |
It is also not installing on OpenBSD. AIX fix #17831 worked for OpenBSD, but I haven't tested FreeBSD yet. I guess I'll test on FreeBSD and create a PR for both BSDs ... |
@karolyi @asherpasha Yes please :) Do either of you know of a CI service that offers (free) FreeBSD or OpenBSD CI to open source projects? We would like to avoid problems like this in the future. |
@tacaswell I can't help you with a FreeBSD CI, on my own server I use buildbot for my own projects but I couldn't find any service offering CI on FreeBSD boxes. I try to keep mine on latest-greatest. @asherpasha wanna do the PR or should I? If the latter is the case, please let me know the output of |
I have submitted a pull request. Please test. |
Uh oh!
There was an error while loading. Please reload this page.
Hey,
I have a FreeBSD box where I try to install matplotlib. Neither from pypi, nor from the github source does it build. I get the following error message:
Sorry for the long output, but I'm clueless. Please help?
The text was updated successfully, but these errors were encountered: