Last active
February 11, 2020 03:46
-
-
Save catvec/cf25705d0552fc742e5e00bc49736e86 to your computer and use it in GitHub Desktop.
libspatialite build issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./configure -h | |
`configure' configures libspatialite 4.3.0a to adapt to many kinds of systems. | |
Usage: ./masterdir/builddir/libspatialite-4.3.0a/configure [OPTION]... [VAR=VALUE]... | |
To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
VAR=VALUE. See below for descriptions of some of the useful variables. | |
Defaults for the options are specified in brackets. | |
Configuration: | |
-h, --help display this help and exit | |
--help=short display options specific to this package | |
--help=recursive display the short help of all the included packages | |
-V, --version display version information and exit | |
-q, --quiet, --silent do not print `checking ...' messages | |
--cache-file=FILE cache test results in FILE [disabled] | |
-C, --config-cache alias for `--cache-file=config.cache' | |
-n, --no-create do not create output files | |
--srcdir=DIR find the sources in DIR [configure dir or `..'] | |
Installation directories: | |
--prefix=PREFIX install architecture-independent files in PREFIX | |
[/usr/local] | |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
[PREFIX] | |
By default, `make install' will install all the files in | |
`/usr/local/bin', `/usr/local/lib' etc. You can specify | |
an installation prefix other than `/usr/local' using `--prefix', | |
for instance `--prefix=$HOME'. | |
For better control, use the options below. | |
Fine tuning of the installation directories: | |
--bindir=DIR user executables [EPREFIX/bin] | |
--sbindir=DIR system admin executables [EPREFIX/sbin] | |
--libexecdir=DIR program executables [EPREFIX/libexec] | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
--libdir=DIR object code libraries [EPREFIX/lib] | |
--includedir=DIR C header files [PREFIX/include] | |
--oldincludedir=DIR C header files for non-gcc [/usr/include] | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
--infodir=DIR info documentation [DATAROOTDIR/info] | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
--mandir=DIR man documentation [DATAROOTDIR/man] | |
--docdir=DIR documentation root [DATAROOTDIR/doc/libspatialite] | |
--htmldir=DIR html documentation [DOCDIR] | |
--dvidir=DIR dvi documentation [DOCDIR] | |
--pdfdir=DIR pdf documentation [DOCDIR] | |
--psdir=DIR ps documentation [DOCDIR] | |
Program names: | |
--program-prefix=PREFIX prepend PREFIX to installed program names | |
--program-suffix=SUFFIX append SUFFIX to installed program names | |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
System types: | |
--build=BUILD configure for building on BUILD [guessed] | |
--host=HOST cross-compile to build programs to run on HOST [BUILD] | |
Optional Features: | |
--disable-option-checking ignore unrecognized --enable/--with options | |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
--enable-silent-rules less verbose build output (undo: "make V=1") | |
--disable-silent-rules verbose build output (undo: "make V=0") | |
--enable-maintainer-mode | |
enable make rules and dependencies not useful (and | |
sometimes confusing) to the casual installer | |
--enable-dependency-tracking | |
do not reject slow dependency extractors | |
--disable-dependency-tracking | |
speeds up one-time build | |
--enable-shared[=PKGS] build shared libraries [default=yes] | |
--enable-static[=PKGS] build static libraries [default=yes] | |
--enable-fast-install[=PKGS] | |
optimize for fast installation [default=yes] | |
--disable-libtool-lock avoid locking (might break parallel builds) | |
--enable-mathsql enables SQL math functions [default=yes] | |
--enable-geocallbacks enables geometry callbacks [default=no] | |
--enable-proj enables PROJ.4 inclusion [default=yes] | |
--enable-iconv enables ICONV inclusion [default=yes] | |
--enable-freexl enables FreeXL inclusion [default=yes] | |
--enable-epsg enables full EPSG dataset support [default=yes] | |
--enable-geos enables GEOS inclusion [default=yes] | |
--enable-gcp enables Control Points (from Grass GIS) [default=no] | |
--enable-geosadvanced enables GEOS advanced features [default=yes] | |
--enable-lwgeom enables LWGEOM support [default=no] | |
--enable-libxml2 enables libxml2 inclusion [default=yes] | |
--enable-geopackage enables GeoPackage support [default=yes] | |
--enable-gcov turn on code coverage analysis tools | |
--enable-examples enables building examples [default=yes] | |
Optional Packages: | |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
--with-pic try to use only PIC/non-PIC objects [default=use | |
both] | |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
--with-sysroot=DIR Search for dependent libraries within DIR | |
(or the compiler's sysroot if not specified). | |
--with-geosconfig=FILE specify an alternative geos-config file | |
Some influential environment variables: | |
CC C compiler command | |
CFLAGS C compiler flags | |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
nonstandard directory <lib dir> | |
LIBS libraries to pass to the linker, e.g. -l<library> | |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
you have headers in a nonstandard directory <include dir> | |
CPP C preprocessor | |
CXX C++ compiler command | |
CXXFLAGS C++ compiler flags | |
CXXCPP C++ preprocessor | |
PKG_CONFIG path to pkg-config utility | |
PKG_CONFIG_PATH | |
directories to add to pkg-config's search path | |
PKG_CONFIG_LIBDIR | |
path overriding pkg-config's built-in search path | |
LIBXML2_CFLAGS | |
C compiler flags for LIBXML2, overriding pkg-config | |
LIBXML2_LIBS | |
linker flags for LIBXML2, overriding pkg-config | |
Use these variables to override the choices made by `configure' or to help | |
it to find libraries and programs with nonstandard names/locations. | |
Report bugs to <[email protected]>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ls masterdir/usr/include | grep proj_api.h | |
proj_api.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> xbps-src: updating repositories for host (x86_64)... | |
[*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... | |
[*] Updating `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ... | |
[*] Updating `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ... | |
[*] Updating `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ... | |
[*] Updating `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ... | |
=> xbps-src: updating software in / masterdir... | |
=> xbps-src: cleaning up / masterdir... | |
=> libspatialite-4.3.0a_1: removing autodeps, please wait... | |
=> libspatialite-4.3.0a_1: building [gnu-configure] for x86_64... | |
[target] sqlite-devel-3.31.1_1: found (/host/binpkgs/qgis) | |
[target] zlib-devel-1.2.11_3: found (https://alpha.de.repo.voidlinux.org/current) | |
[target] proj-devel-6.2.1_1: found (https://alpha.de.repo.voidlinux.org/current) | |
=> libspatialite-4.3.0a_1: installing target dependencies: sqlite-devel-3.31.1_1 zlib-devel-1.2.11_3 proj-devel-6.2.1_1 ... | |
=> libspatialite-4.3.0a_1: running pre-configure hook: 00-gnu-configure-asneeded ... | |
=> libspatialite-4.3.0a_1: running pre-configure hook: 01-override-config ... | |
=> libspatialite-4.3.0a_1: running pre-configure hook: 02-script-wrapper ... | |
=> libspatialite-4.3.0a_1: running do_configure ... | |
checking for a BSD-compatible install... /builddir/.xbps-libspatialite/wrappers/install -c | |
checking whether build environment is sane... yes | |
/builddir/libspatialite-4.3.0a/missing: Unknown `--is-lightweight' option | |
Try `/builddir/libspatialite-4.3.0a/missing --help' for more information | |
configure: WARNING: 'missing' script is too old or missing | |
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether to enable maintainer-specific portions of Makefiles... no | |
checking for style of include used by make... GNU | |
checking for x86_64-unknown-linux-gnu-gcc... cc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether cc accepts -g... yes | |
checking for cc option to accept ISO C89... none needed | |
checking whether cc understands -c and -o together... yes | |
checking dependency style of cc... gcc3 | |
checking how to run the C preprocessor... cpp | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for stdlib.h... (cached) yes | |
checking stdio.h usability... yes | |
checking stdio.h presence... yes | |
checking for stdio.h... yes | |
checking for string.h... (cached) yes | |
checking for memory.h... (cached) yes | |
checking math.h usability... yes | |
checking math.h presence... yes | |
checking for math.h... yes | |
checking float.h usability... yes | |
checking float.h presence... yes | |
checking for float.h... yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking for inttypes.h... (cached) yes | |
checking stddef.h usability... yes | |
checking stddef.h presence... yes | |
checking for stddef.h... yes | |
checking for stdint.h... (cached) yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking for unistd.h... (cached) yes | |
checking sqlite3.h usability... yes | |
checking sqlite3.h presence... yes | |
checking for sqlite3.h... yes | |
checking sqlite3ext.h usability... yes | |
checking sqlite3ext.h presence... yes | |
checking for sqlite3ext.h... yes | |
checking zlib.h usability... yes | |
checking zlib.h presence... yes | |
checking for zlib.h... yes | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking dependency style of g++... gcc3 | |
checking for x86_64-unknown-linux-gnu-gcc... (cached) cc | |
checking whether we are using the GNU C compiler... (cached) yes | |
checking whether cc accepts -g... (cached) yes | |
checking for cc option to accept ISO C89... (cached) none needed | |
checking whether cc understands -c and -o together... (cached) yes | |
checking dependency style of cc... (cached) gcc3 | |
checking how to run the C preprocessor... cpp | |
checking whether ln -s works... yes | |
checking whether make sets $(MAKE)... (cached) yes | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
checking how to print strings... printf | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by cc... ld | |
checking if the linker (ld) is GNU ld... yes | |
checking for BSD- or MS-compatible name lister (nm)... nm | |
checking the name lister (nm) interface... BSD nm | |
checking the maximum length of command line arguments... 1572864 | |
checking whether the shell understands some XSI constructs... yes | |
checking whether the shell understands "+="... yes | |
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop | |
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop | |
checking for ld option to reload object files... -r | |
checking for x86_64-unknown-linux-gnu-objdump... objdump | |
checking how to recognize dependent libraries... pass_all | |
checking for x86_64-unknown-linux-gnu-dlltool... dlltool | |
checking how to associate runtime and link libraries... printf %s\n | |
checking for x86_64-unknown-linux-gnu-ar... ar | |
checking for archiver @FILE support... @ | |
checking for x86_64-unknown-linux-gnu-strip... strip | |
checking for x86_64-unknown-linux-gnu-ranlib... ranlib | |
checking command to parse nm output from cc object... ok | |
checking for sysroot... no | |
checking for x86_64-unknown-linux-gnu-mt... no | |
checking for mt... no | |
checking if : is a manifest tool... no | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if cc supports -fno-rtti -fno-exceptions... no | |
checking for cc option to produce PIC... -fPIC -DPIC | |
checking if cc PIC flag -fPIC -DPIC works... yes | |
checking if cc static flag -static works... yes | |
checking if cc supports -c -o file.o... yes | |
checking if cc supports -c -o file.o... (cached) yes | |
checking whether the cc linker (ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... no | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking how to run the C++ preprocessor... g++ -E | |
checking for ld used by g++... ld -m elf_x86_64 | |
checking if the linker (ld -m elf_x86_64) is GNU ld... yes | |
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fPIC -DPIC | |
checking if g++ PIC flag -fPIC -DPIC works... yes | |
checking if g++ static flag -static works... yes | |
checking if g++ supports -c -o file.o... yes | |
checking if g++ supports -c -o file.o... (cached) yes | |
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes | |
checking dynamic linker characteristics... (cached) GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking for an ANSI C-conforming const... yes | |
checking for off_t... yes | |
checking for size_t... yes | |
checking whether time.h and sys/time.h may both be included... yes | |
checking whether struct tm is in sys/time.h or time.h... time.h | |
checking for working volatile... yes | |
checking whether lstat correctly handles trailing slash... yes | |
checking whether lstat accepts an empty string... no | |
checking whether lstat correctly handles trailing slash... (cached) yes | |
checking for working memcmp... yes | |
checking whether stat accepts an empty string... no | |
checking for strftime... yes | |
checking for memset... yes | |
checking for sqrt... no | |
checking for strcasecmp... yes | |
checking for strerror... yes | |
checking for strncasecmp... yes | |
checking for strstr... yes | |
checking for fdatasync... yes | |
checking for ftruncate... yes | |
checking for getcwd... yes | |
checking for gettimeofday... yes | |
checking for localtime_r... yes | |
checking for memmove... yes | |
checking for strerror... (cached) yes | |
checking for sqlite3_prepare_v2 in -lsqlite3... yes | |
checking for inflateInit_ in -lz... yes | |
checking proj_api.h usability... no | |
checking proj_api.h presence... no | |
checking for proj_api.h... no | |
configure: error: cannot find proj_api.h, bailing out | |
=> ERROR: libspatialite-4.3.0a_1: do_configure: '${configure_script} ${configure_args}' exited with 1 | |
=> ERROR: in do_configure() at common/build-style/gnu-configure.sh:7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Template file for 'libspatialite' | |
pkgname=libspatialite | |
version=4.3.0a | |
revision=1 | |
#archs="i686 x86_64" | |
#wrksrc= | |
#create_wrksrc=yes | |
build_style=gnu-configure | |
configure_args="--includedir=/usr/include/" | |
#make_build_args="" | |
#make_install_args="" | |
#conf_files="" | |
#make_dirs="/var/log/dir 0755 root root" | |
hostmakedepends="" | |
makedepends="sqlite-devel zlib-devel proj-devel" | |
depends="" | |
short_desc="Extends the SQLite core to support fully fledged Spatial SQL capabilities" | |
maintainer="Noah Huppert <[email protected]>" | |
license="GPL-2.0" | |
homepage="https://www.gaia-gis.it/fossil/libspatialite/home" | |
distfiles="http://www.gaia-gis.it/gaia-sins/libspatialite-${version}.tar.gz" | |
checksum=88900030a4762904a7880273f292e5e8ca6b15b7c6c3fb88ffa9e67ee8a5a499 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment