-
Notifications
You must be signed in to change notification settings - Fork 23
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
fatal error: ft2build.h: No such file or directory when building OpenSUSE Tumbleweed with Singularity def file #86
Comments
I think I may have found the issue: It might actually be libtiff-4. The code in the configure file makes it a little confusing, by combining the three libs together in the test to see if there are pc files. Line 10 in adf5f06
Line 25 in adf5f06
Then, when the last of the cases (use pkg-conf) is never met, things never appear to be set up right for ANY of the libraries. Lines 42 to 55 in adf5f06
(I never saw any of those echo statements in the output) So it fails the test as soon as it hits the first library (freetype2), even though it is one of the two which is installed. Lines 61 to 62 in adf5f06
I'm not even sure I can even install ragg on my system, since it looks like I might only have "libtiff5" available. Ah . . . I guess it should work: Information for package libtiff-devel:
--------------------------------------
Repository : openSUSE:Tumbleweed
Name : libtiff-devel
Version : 4.3.0-1.2
Arch : x86_64
Vendor : openSUSE
Installed Size : 157.2 KiB
Installed : No
Status : not installed
Source package : tiff-4.3.0-1.2.src
Summary : Development Tools for Programs which will use the libtiff Library
Description :
This package contains the header files and static libraries for
developing programs which will manipulate TIFF format image files using
the libtiff library. |
Looks like this is resolved (I don't get that ERROR any more). |
Thank you for your detailed introduction. I also encountered the same error during the installation process. However, after reading your answer, I still don't know how to solve the problem. Can you provide your detailed solution code. Thank you so much! |
I don't know what I did, but when I reinstalled it worked. Sorry for disturbing。 |
hey, I also had the same problem on Ubuntu 20.04. This solved it for me: sudo apt install libtiff-dev |
This worked for me. How did you reach this solution? |
Sorry I can't recall anymore... |
This test still fails improperly and provides distracting information.... if one is missing, all are blamed and it left to the installer to figure it out. It is all or nothing. Also, Looks like you updated the code in the branch, but really something like this would be useful (based on code in this thread). Just a hacky sorta of example R is frustrating enough.
|
ft2build.h is a file located in the folder |
For what it's worth, I had to run the command more than once before it took (I'm not going to try and explain) |
That header and the pkg-config file are there.
/usr/include/freetype2/ft2build.h
/usr/lib64/pkgconfig/freetype2.pc
And pkg-config . . .
> pkg-config --version 1.7.3
I've tried to manually . . .
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
. . . before the . . .
Rscript -e 'install.packages("shiny", repos="http://cran.r-project.org", dependencies = TRUE)'
. . . which must need ragg for something.
The rest of shiny (and the other R packages) install, except for units.
Below is the full message:
The text was updated successfully, but these errors were encountered: