unable to build on OpenBSD
Posted: 2015-05-14T11:06:32-07:00
Hi,
I'm working on trying to update OpenBSD's ancient version of ImageMagick in the ports tree (6.7.7-7) to the latest (6.9.1-2) and ran into an issue compiling the latest and greatest.
I'm working on trying to update OpenBSD's ancient version of ImageMagick in the ports tree (6.7.7-7) to the latest (6.9.1-2) and ran into an issue compiling the latest and greatest.
Code: Select all
cc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/X11R6/include/freetype2 -O2 -pipe -Wall -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT magick/magick_libMagickCore_6_Q16_la-locale.lo -MD -MP -MF magick/.deps/magick_libMagickCore_6_Q16_la-locale.Tpo -c magick/locale.c -fPIC -DPIC -o magick/.libs/magick_libMagickCore_6_Q16_la-locale.o
magick/locale.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'c_locale'
magick/locale.c:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AcquireCLocale'
magick/locale.c: In function 'DestroyCLocale':
magick/locale.c:261: error: 'c_locale' undeclared (first use in this function)
magick/locale.c:261: error: (Each undeclared identifier is reported only once
magick/locale.c:261: error: for each function it appears in.)
magick/locale.c:261: error: 'locale_t' undeclared (first use in this function)