[Xastir] GraphicsMagick include issue on Gentoo
David Flood
davidf4 at mindspring.com
Sun Jun 30 16:12:27 PDT 2019
Hello All,
I just did a git pull, bootstrap, configure, make clean, and make on my 32
bit Gentoo VM (and my 64 bit VM so not byte size dependent)..... and now my
compiles fail with:
CC map_geo.o
In file included from /usr/include/GraphicsMagick/magick/analyze.h:18,
from /usr/include/GraphicsMagick/magick/api.h:55,
from map_geo.c:137:
/usr/include/GraphicsMagick/magick/image.h:1108:10: fatal error:
magick/image-private.h: No such file or directory
#include "magick/image-private.h"
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:634: map_geo.o] Error 1
make[3]: Leaving directory '/home/dflood/src/Xastir/src'
make[2]: *** [Makefile:656: all-recursive] Error 1
make[2]: Leaving directory '/home/dflood/src/Xastir/src'
make[1]: *** [Makefile:744: all-recursive] Error 1
make[1]: Leaving directory '/home/dflood/src/Xastir'
make: *** [Makefile:426: all] Error 2
Here's what ./configure tells me:
xastir 2.1.3 has been configured to use the following
options and external libraries:
MINIMUM OPTIONS:
ShapeLib (Vector maps) .................... : yes
RECOMMENDED OPTIONS:
Xpm / Snapshots ........................... : yes
GraphicsMagick/ImageMagick (Raster maps) .. : yes (GraphicsMagick)
pcre (Shapefile customization) ............ : yes
dbfawk (Shapefile customization) .......... : yes
Berkeley DB map caching-Raster map speedups : yes
internet map retrieval .................... : yes (libcurl)
FOR THE ADVENTUROUS:
AX25 (Linux Kernel I/O Drivers) ........... : no
libproj (USGS Topos & Aerial Photos) ...... : yes
GeoTiff (USGS Topos & Aerial Photos) ...... : yes
Festival (Text-to-speech) ................. : no
GPSMan/gpsmanshp (GPS downloads) .......... : no
xastir will be installed in /usr/local/bin.
Here's my output of gm -version
GraphicsMagick 1.3.32 2019-06-15 Q8 http://www.GraphicsMagick.org/
Copyright (C) 2002-2019 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.
Feature Support:
Native Thread Safe no
Large Files (> 32 bit) yes
Large Memory (> 32 bit) no
BZIP yes
DPS no
FlashPix no
FreeType yes
Ghostscript (Library) no
JBIG no
JPEG-2000 no
JPEG yes
Little CMS yes
Loadable Modules no
Solaris mtmalloc no
OpenMP yes (201511 "4.5")
PNG yes
TIFF yes
TRIO no
Solaris umem no
WebP no
WMF no
X11 yes
XML yes
ZLIB yes
Host type: i686-pc-linux-gnu
Configured using the command:
./configure '--prefix=/usr' '--build=i686-pc-linux-gnu'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--disable-dependency-tracking'
'--disable-silent-rules' '--docdir=/usr/share/doc/graphicsmagick-1.3.32'
'--htmldir=/usr/share/doc/graphicsmagick-1.3.32/html' '--with-sysroot=/'
'--libdir=/usr/lib' '--enable-openmp' '--enable-largefile' '--enable-shared'
'--disable-static' '--disable-prof' '--disable-gcov'
'--disable-magick-compat' '--without-threads' '--without-modules'
'--with-quantum-depth=8' '--without-frozenpaths' '--with-magick-plus-plus'
'--with-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-bzlib'
'--without-dps' '--without-fpx' '--without-jbig' '--without-webp'
'--with-jpeg' '--without-jp2' '--with-lcms2' '--without-lzma' '--with-png'
'--with-tiff' '--with-ttf' '--without-wmf'
'--with-fontpath=/usr/share/fonts'
'--with-gs-font-dir=/usr/share/fonts/urw-fonts'
'--with-windows-font-dir=/usr/
Final Build Parameters:
CC = i686-pc-linux-gnu-gcc
CFLAGS = -fopenmp -O2 -march=i686 -pipe -Wall
CPPFLAGS = -I/usr/include/freetype2 -I/usr/include/libxml2
CXX = i686-pc-linux-gnu-g++
CXXFLAGS = -O2 -march=i686 -pipe
LDFLAGS = -Wl,-O1 -Wl,--as-needed
LIBS = -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lXext -lSM -lICE
-lX11 -lbz2 -lxml2 -lz -lm
I did find a ref to this error and Xastir in one of the Debian email lists
from March...
http://debian.2.n7.nabble.com/Re-Bug-924329-xastir-FTBFS-magick-image-privat
e-h-No-such-file-or-directory-td4492878.html
David Flood
KD7MYC
More information about the Xastir
mailing list