Building on openSUSE fails #1073
              
                Unanswered
              
          
                  
                    
                      jayvdb
                    
                  
                
                  asked this question in
                Looking for help
              
            Replies: 1 comment
-
| I understand your desire. It is a bit trickier though: 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
In the build spec for openSUSE we have to manually add
-I/usr/include/freetype2toCFLAGS.https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF
Without it, we see the following.
From a quick look at the setup.py, I see the include paths are all hard coded.
It would be nice if https://pypi.org/project/pkgconfig/ was used to grab the required paths.
Beta Was this translation helpful? Give feedback.
All reactions