metwork-framework / mfextaddon_scientific

scientific addon for metwork/mfext
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

pango doesn't build on CentOS7 #102

Closed thebaptiste closed 4 years ago

thebaptiste commented 4 years ago
../pango/.libs/libpangocairo-1.0.so: undefined reference to `cairo_ft_font_options_substitute'
../pango/.libs/libpangocairo-1.0.so: undefined reference to `cairo_ft_font_face_create_for_pattern'

It seems to have something to do with cairo build in mfext, may be linked to fontconfig version used for this build or to PKG_CONFIG_PATH issue (see config.log) May be we should move fontconfig build from mfextaddon_scientific to mfext... Or may be we should downgrade cairo to 1.15.12 in mfext...

thebaptiste commented 4 years ago

It's seems to be ok adding --enable-fc in cairo build options But we should move fontconfig and freetype from mfextaddon_scientific to mfext anyway (unless pango is build with cairo using fontconfig and freetype from system but when using pango we will load fontconfig and freetype from mfextaddon_scientific)

thebaptiste commented 4 years ago

Nothing to do with --enable-fc. fontconfig-devel was only missing on the machine at cairo build, so cairo was built without fontconfig support. So I close this issue but we should consider doing https://github.com/metwork-framework/mfext/issues/479