Changeset 33826


Ignore:
Timestamp:
01/14/20 13:57:09 (14 months ago)
Author:
davidb
Message:

Fix to help compiling on CentOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/PKG-CONFIG.sh

    r31808 r33826  
    2121# "#error GNU libiconv not in use but included iconv.h is from libiconv"
    2222# then prepend --with-libiconv before --with-internal-glib for darwin too
     23
     24# On a CentOS build encountered an error related to dtrace
     25# (potentially related to static/dynamic libraries and whether the '-dev' header
     26#  files are included)
     27# Solution is to disable dtrace with
     28#    --disable-dtrace
     29# In 'glib' in gnomelib-ext  a similar error occurred relating to 'systemtap'.  If this was
     30# to occur here, then presumably the related fix of '--disable-systemtap'
     31# would suffice.
     32# Potentially related link to all this (from the glib:CASCADE-MAKE comment)
     33#    https://gitlab.gnome.org/GNOME/glib/issues/653
     34
    2335if [ "x$GSDLOS" = "xdarwin" ] ; then
    2436    LIBS=-lintl opt_run_configure $force_config $auto_config $package $version $prefix \
     
    2638else
    2739    opt_run_configure $force_config $auto_config $package $version $prefix \
    28               --with-libiconv --with-internal-glib --disable-shared
     40              --with-libiconv --with-internal-glib --disable-shared --disable-dtrace
    2941fi
    3042
Note: See TracChangeset for help on using the changeset viewer.