sile-typesetter / sile

The SILE Typesetter — Simon’s Improved Layout Engine
https://sile-typesetter.org
MIT License
1.68k stars 99 forks source link

Unable to ./configure [2] #541

Closed hmslima closed 6 years ago

hmslima commented 6 years ago

Sorry for openning a second topic, but it's another problem. Seems that someone already made similar question here, but the problem was unsolved...

As the title says, I can't ./configure SILE. I am using Lubuntu 18.04 64bits:

$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
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 style of include used by make... GNU
checking for gcc... gcc
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... rm: cannot remove 'core': Is a directory
yes
checking whether gcc accepts -g... rm: cannot remove 'core': Is a directory
yes
checking for gcc option to accept ISO C89... rm: cannot remove 'core': Is a directory
none needed
checking whether gcc understands -c and -o together... rm: cannot remove 'core': Is a directory
yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
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 /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... rm: cannot remove 'core': Is a directory
@
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... rm: cannot remove 'core': Is a directory
rm: cannot remove 'core': Is a directory
yes
checking for sys/types.h... rm: cannot remove 'core': Is a directory
yes
checking for sys/stat.h... rm: cannot remove 'core': Is a directory
yes
checking for stdlib.h... rm: cannot remove 'core': Is a directory
yes
checking for string.h... rm: cannot remove 'core': Is a directory
yes
checking for memory.h... rm: cannot remove 'core': Is a directory
yes
checking for strings.h... rm: cannot remove 'core': Is a directory
yes
checking for inttypes.h... rm: cannot remove 'core': Is a directory
yes
checking for stdint.h... rm: cannot remove 'core': Is a directory
yes
checking for unistd.h... rm: cannot remove 'core': Is a directory
yes
checking for dlfcn.h... rm: cannot remove 'core': Is a directory
yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... rm: cannot remove 'core': Is a directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... rm: cannot remove 'core': Is a directory
no
checking for shl_load in -ldld... rm: cannot remove 'core': Is a directory
no
checking for dlopen... rm: cannot remove 'core': Is a directory
no
checking for dlopen in -ldl... rm: cannot remove 'core': Is a directory
yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... rm: cannot remove 'core': Is a directory
no
checking whether gcc accepts -g... rm: cannot remove 'core': Is a directory
rm: cannot remove 'core': Is a directory
rm: cannot remove 'core': Is a directory
no
checking dependency style of gcc... gcc3
checking for OS X... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for HARFBUZZ... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for a Lua interpreter with version >= 5.1... none
configure: error: cannot find suitable Lua interpreter
rm: cannot remove 'core': Is a directory

$pkg-config --list-all | grep harf

harfbuzz                       harfbuzz - HarfBuzz text shaping library
harfbuzz-icu                   harfbuzz - HarfBuzz text shaping library ICU integration
harfbuzz-gobject               harfbuzz - HarfBuzz text shaping library GObject integration

$pkg-config --list-all | grep -i lua

lua-5.2                        Lua - Lua language engine
lua52-c++                      Lua - Lua language engine
lua-5.2-c++                    Lua - Lua language engine
lua5.2                         Lua - Lua language engine
lua52                          Lua - Lua language engine
lua5.2-c++                     Lua - Lua language engine

config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by SILE configure 0.9.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = hmslima-PHN14003C
uname -m = x86_64
uname -r = 4.15.0-34-generic
uname -s = Linux
uname -v = #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/hmslima/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2427: checking for a BSD-compatible install
configure:2495: result: /usr/bin/install -c
configure:2506: checking whether build environment is sane
configure:2561: result: yes
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: /bin/mkdir -p
configure:2758: checking for gawk
configure:2774: found /usr/bin/gawk
configure:2785: result: gawk
configure:2796: checking whether make sets $(MAKE)
configure:2818: result: yes
configure:2847: checking whether make supports nested variables
configure:2864: result: yes
configure:2934: checking how to create a pax tar archive
configure:2945: tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:2948: $? = 0
configure:2988: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:2991: $? = 0
configure:2995: tar -xf - <conftest.tar
configure:2998: $? = 0
configure:3000: cat conftest.dir/file
GrepMe
configure:3003: $? = 0
configure:3016: result: gnutar
configure:3097: checking build system type
configure:3111: result: x86_64-unknown-linux-gnu
configure:3131: checking host system type
configure:3144: result: x86_64-unknown-linux-gnu
configure:3185: checking how to print strings
configure:3212: result: printf
configure:3245: checking for style of include used by make
configure:3273: result: GNU
configure:3344: checking for gcc
configure:3360: found /usr/bin/gcc
configure:3371: result: gcc
configure:3600: checking for C compiler version
configure:3609: gcc --version >&5
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3620: $? = 0
configure:3609: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) 
configure:3620: $? = 0
configure:3609: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3620: $? = 1
configure:3609: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3620: $? = 1
configure:3640: checking whether the C compiler works
configure:3662: gcc    conftest.c  >&5
configure:3666: $? = 0
configure:3714: result: yes
configure:3717: checking for C compiler default output file name
configure:3719: result: a.out
configure:3725: checking for suffix of executables
configure:3732: gcc -o conftest    conftest.c  >&5
configure:3736: $? = 0
configure:3758: result: 
configure:3780: checking whether we are cross compiling
configure:3788: gcc -o conftest    conftest.c  >&5
configure:3792: $? = 0
configure:3799: ./conftest
configure:3803: $? = 0
configure:3818: result: no
configure:3823: checking for suffix of object files
configure:3845: gcc -c   conftest.c >&5
configure:3849: $? = 0
configure:3870: result: o
configure:3874: checking whether we are using the GNU C compiler
configure:3893: gcc -c   conftest.c >&5
configure:3893: $? = 0
configure:3902: result: yes
configure:3911: checking whether gcc accepts -g
configure:3931: gcc -c -g  conftest.c >&5
configure:3931: $? = 0
configure:3972: result: yes
configure:3989: checking for gcc option to accept ISO C89
configure:4052: gcc  -c -g -O2  conftest.c >&5
configure:4052: $? = 0
configure:4065: result: none needed
configure:4090: checking whether gcc understands -c and -o together
configure:4112: gcc -c conftest.c -o conftest2.o
configure:4115: $? = 0
configure:4112: gcc -c conftest.c -o conftest2.o
configure:4115: $? = 0
configure:4127: result: yes
configure:4146: checking dependency style of gcc
configure:4257: result: gcc3
configure:4272: checking for a sed that does not truncate output
configure:4336: result: /bin/sed
configure:4354: checking for grep that handles long lines and -e
configure:4412: result: /bin/grep
configure:4417: checking for egrep
configure:4479: result: /bin/grep -E
configure:4484: checking for fgrep
configure:4546: result: /bin/grep -F
configure:4581: checking for ld used by gcc
configure:4648: result: /usr/bin/x86_64-linux-gnu-ld
configure:4655: checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld
configure:4670: result: yes
configure:4682: checking for BSD- or MS-compatible name lister (nm)
configure:4736: result: /usr/bin/nm -B
configure:4866: checking the name lister (/usr/bin/nm -B) interface
configure:4873: gcc -c -g -O2  conftest.c >&5
configure:4876: /usr/bin/nm -B "conftest.o"
configure:4879: output
0000000000000000 B some_variable
configure:4886: result: BSD nm
configure:4889: checking whether ln -s works
configure:4893: result: yes
configure:4901: checking the maximum length of command line arguments
configure:5032: result: 1572864
configure:5080: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:5120: result: func_convert_file_noop
configure:5127: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5147: result: func_convert_file_noop
configure:5154: checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files
configure:5161: result: -r
configure:5235: checking for objdump
configure:5251: found /usr/bin/objdump
configure:5262: result: objdump
configure:5294: checking how to recognize dependent libraries
configure:5494: result: pass_all
configure:5579: checking for dlltool
configure:5609: result: no
configure:5639: checking how to associate runtime and link libraries
configure:5666: result: printf %s\n
configure:5727: checking for ar
configure:5743: found /usr/bin/ar
configure:5754: result: ar
configure:5791: checking for archiver @FILE support
configure:5808: gcc -c -g -O2  conftest.c >&5
configure:5808: $? = 0
configure:5811: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:5814: $? = 0
configure:5819: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
ar: conftest.o: No such file or directory
configure:5822: $? = 1
configure:5834: result: @
configure:5892: checking for strip
configure:5908: found /usr/bin/strip
configure:5919: result: strip
configure:5991: checking for ranlib
configure:6007: found /usr/bin/ranlib
configure:6018: result: ranlib
configure:6120: checking command to parse /usr/bin/nm -B output from gcc object
configure:6273: gcc -c -g -O2  conftest.c >&5
configure:6276: $? = 0
configure:6280: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6283: $? = 0
configure:6349: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:6352: $? = 0
configure:6390: result: ok
configure:6437: checking for sysroot
configure:6467: result: no
configure:6474: checking for a working dd
configure:6512: result: /bin/dd
configure:6516: checking how to truncate binary pipes
configure:6531: result: /bin/dd bs=4096 count=1
configure:6652: gcc -c -g -O2  conftest.c >&5
configure:6655: $? = 0
configure:6845: checking for mt
configure:6861: found /bin/mt
configure:6872: result: mt
configure:6895: checking if mt is a manifest tool
configure:6901: mt '-?'
configure:6909: result: no
configure:7551: checking how to run the C preprocessor
configure:7582: gcc -E  conftest.c
configure:7582: $? = 0
configure:7596: gcc -E  conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7596: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7621: result: gcc -E
configure:7641: gcc -E  conftest.c
configure:7641: $? = 0
configure:7655: gcc -E  conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7655: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7684: checking for ANSI C header files
configure:7704: gcc -c -g -O2  conftest.c >&5
configure:7704: $? = 0
configure:7777: gcc -o conftest -g -O2   conftest.c  >&5
configure:7777: $? = 0
configure:7777: ./conftest
configure:7777: $? = 0
configure:7788: result: yes
configure:7801: checking for sys/types.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for sys/stat.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for stdlib.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for string.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for memory.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for strings.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for inttypes.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for stdint.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7801: checking for unistd.h
configure:7801: gcc -c -g -O2  conftest.c >&5
configure:7801: $? = 0
configure:7801: result: yes
configure:7815: checking for dlfcn.h
configure:7815: gcc -c -g -O2  conftest.c >&5
configure:7815: $? = 0
configure:7815: result: yes
configure:8070: checking for objdir
configure:8085: result: .libs
configure:8356: checking if gcc supports -fno-rtti -fno-exceptions
configure:8374: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:8378: $? = 0
configure:8391: result: no
configure:8749: checking for gcc option to produce PIC
configure:8756: result: -fPIC -DPIC
configure:8764: checking if gcc PIC flag -fPIC -DPIC works
configure:8782: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:8786: $? = 0
configure:8799: result: yes
configure:8828: checking if gcc static flag -static works
configure:8856: result: yes
configure:8871: checking if gcc supports -c -o file.o
configure:8892: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:8896: $? = 0
configure:8918: result: yes
configure:8926: checking if gcc supports -c -o file.o
configure:8973: result: yes
configure:9006: checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries
configure:10265: result: yes
configure:10302: checking whether -lc should be explicitly linked in
configure:10310: gcc -c -g -O2  conftest.c >&5
configure:10313: $? = 0
configure:10328: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10331: $? = 0
configure:10345: result: no
configure:10505: checking dynamic linker characteristics
configure:11082: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11082: $? = 0
configure:11314: result: GNU/Linux ld.so
configure:11421: checking how to hardcode library paths into programs
configure:11446: result: immediate
configure:11548: checking for shl_load
configure:11548: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/cctjQcYn.o: In function `main':
/home/hmslima/instalar/sile-0.9.4/conftest.c:55: undefined reference to `shl_load'
collect2: error: ld returned 1 exit status
configure:11548: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define shl_load innocuous_shl_load
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char shl_load (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef shl_load
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_shl_load || defined __stub___shl_load
| choke me
| #endif
| 
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:11548: result: no
configure:11552: checking for shl_load in -ldld
configure:11577: gcc -o conftest -g -O2   conftest.c -ldld   >&5
/usr/bin/x86_64-linux-gnu-ld: cannot find -ldld
collect2: error: ld returned 1 exit status
configure:11577: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:11586: result: no
configure:11591: checking for dlopen
configure:11591: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/ccyQf4uT.o: In function `main':
/home/hmslima/instalar/sile-0.9.4/conftest.c:55: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
configure:11591: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dlopen innocuous_dlopen
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dlopen (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef dlopen
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dlopen || defined __stub___dlopen
| choke me
| #endif
| 
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:11591: result: no
configure:11595: checking for dlopen in -ldl
configure:11620: gcc -o conftest -g -O2   conftest.c -ldl   >&5
configure:11620: $? = 0
configure:11629: result: yes
configure:11748: checking whether a program can dlopen itself
configure:11828: gcc -o conftest -g -O2  -DHAVE_DLFCN_H  -Wl,--export-dynamic conftest.c -ldl  >&5
configure:11831: $? = 0
configure:11849: result: yes
configure:11854: checking whether a statically linked program can dlopen itself
configure:11934: gcc -o conftest -g -O2  -DHAVE_DLFCN_H  -Wl,--export-dynamic -static conftest.c -ldl  >&5
/tmp/cc8U7xvz.o: In function `main':
/home/hmslima/instalar/sile-0.9.4/configure:11913: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
configure:11937: $? = 0
conftest: undefined symbol: _fnord
configure:11955: result: no
configure:11994: checking whether stripping libraries is possible
configure:11999: result: yes
configure:12034: checking if libtool supports shared libraries
configure:12036: result: yes
configure:12039: checking whether to build shared libraries
configure:12064: result: yes
configure:12067: checking whether to build static libraries
configure:12071: result: yes
configure:12370: checking for gcc
configure:12397: result: gcc
configure:12626: checking for C compiler version
configure:12635: gcc --version >&5
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:12646: $? = 0
configure:12635: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) 
configure:12646: $? = 0
configure:12635: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:12646: $? = 1
configure:12635: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:12646: $? = 1
configure:12650: checking whether we are using the GNU C compiler
configure:12678: result: yes
configure:12687: checking whether gcc accepts -g
configure:12748: result: yes
configure:12765: checking for gcc option to accept ISO C89
configure:12841: result: none needed
configure:12866: checking whether gcc understands -c and -o together
configure:12903: result: yes
configure:12922: checking dependency style of gcc
configure:13033: result: gcc3
configure:13102: checking for gcc
configure:13118: found /usr/bin/gcc
configure:13129: result: gcc
configure:13154: checking for Objective C compiler version
configure:13163: gcc --version >&5
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:13174: $? = 0
configure:13163: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) 
configure:13174: $? = 0
configure:13163: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:13174: $? = 1
configure:13163: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:13174: $? = 1
configure:13178: checking whether we are using the GNU Objective C compiler
configure:13197: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:13197: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:13206: result: no
configure:13215: checking whether gcc accepts -g
configure:13235: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:13235: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:13250: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:13250: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:13266: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:13266: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "SILE"
| #define PACKAGE_TARNAME "sile"
| #define PACKAGE_VERSION "0.9.4"
| #define PACKAGE_STRING "SILE 0.9.4"
| #define PACKAGE_BUGREPORT "simon@simon-cozens.org"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:13276: result: no
configure:13301: checking dependency style of gcc
configure:13410: result: gcc3
configure:13428: checking for OS X
configure:13486: result: no
configure:13556: checking for pkg-config
configure:13574: found /usr/bin/pkg-config
configure:13586: result: /usr/bin/pkg-config
configure:13611: checking pkg-config is at least version 0.9.0
configure:13614: result: yes
configure:13624: checking for HARFBUZZ
configure:13631: $PKG_CONFIG --exists --print-errors "harfbuzz"
configure:13634: $? = 0
configure:13648: $PKG_CONFIG --exists --print-errors "harfbuzz"
configure:13651: $? = 0
configure:13701: result: yes
configure:13706: checking for FREETYPE
configure:13713: $PKG_CONFIG --exists --print-errors "freetype2"
configure:13716: $? = 0
configure:13730: $PKG_CONFIG --exists --print-errors "freetype2"
configure:13733: $? = 0
configure:13777: result: yes
configure:13783: checking for FONTCONFIG
configure:13790: $PKG_CONFIG --exists --print-errors "fontconfig"
configure:13793: $? = 0
configure:13807: $PKG_CONFIG --exists --print-errors "fontconfig"
configure:13810: $? = 0
configure:13854: result: yes
configure:13905: checking for a Lua interpreter with version >= 5.1
configure:13932: result: none
configure:13984: error: cannot find suitable Lua interpreter

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_HARFBUZZ_CFLAGS_set=
ac_cv_env_HARFBUZZ_CFLAGS_value=
ac_cv_env_HARFBUZZ_LIBS_set=
ac_cv_env_HARFBUZZ_LIBS_value=
ac_cv_env_ICU_CFLAGS_set=
ac_cv_env_ICU_CFLAGS_value=
ac_cv_env_ICU_LIBS_set=
ac_cv_env_ICU_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBTHAI_CFLAGS_set=
ac_cv_env_LIBTHAI_CFLAGS_value=
ac_cv_env_LIBTHAI_LIBS_set=
ac_cv_env_LIBTHAI_LIBS_value=
ac_cv_env_LUA_INCLUDE_set=
ac_cv_env_LUA_INCLUDE_value=
ac_cv_env_LUA_LIB_set=
ac_cv_env_LUA_LIB_value=
ac_cv_env_LUA_set=
ac_cv_env_LUA_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_dlopen=no
ac_cv_func_shl_load=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dld_shl_load=no
ac_cv_objc_compiler_gnu=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_prog_objc_g=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_OBJC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_pax=gnutar
ax_cv_pathless_LUA=none
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_dlopen=dlopen
lt_cv_dlopen_libs=-ldl
lt_cv_dlopen_self=yes
lt_cv_dlopen_self_static=no
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/x86_64-linux-gnu-ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
pkg_cv_FONTCONFIG_CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16'
pkg_cv_FONTCONFIG_LIBS='-lfontconfig -lfreetype'
pkg_cv_FREETYPE_CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16'
pkg_cv_FREETYPE_LIBS=-lfreetype
pkg_cv_HARFBUZZ_CFLAGS='-I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include'
pkg_cv_HARFBUZZ_LIBS=-lharfbuzz

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/hmslima/instalar/sile-0.9.4/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
APPKIT=''
APPKIT_FALSE=''
APPKIT_TRUE='#'
AR='ar'
AUTOCONF='${SHELL} /home/hmslima/instalar/sile-0.9.4/missing autoconf'
AUTOHEADER='${SHELL} /home/hmslima/instalar/sile-0.9.4/missing autoheader'
AUTOMAKE='${SHELL} /home/hmslima/instalar/sile-0.9.4/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
FONTCONFIG_CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16'
FONTCONFIG_LIBS='-lfontconfig -lfreetype'
FREETYPE_CFLAGS='-I/usr/include/freetype2 -I/usr/include/libpng16'
FREETYPE_LIBS='-lfreetype'
GREP='/bin/grep'
HARFBUZZ_CFLAGS='-I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include'
HARFBUZZ_LIBS='-lharfbuzz'
ICU_CFLAGS=''
ICU_FALSE=''
ICU_LIBS=''
ICU_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTHAI_CFLAGS=''
LIBTHAI_FALSE=''
LIBTHAI_LIBS=''
LIBTHAI_TRUE=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LUA=':'
LUA_EXEC_PREFIX=''
LUA_INCLUDE=''
LUA_LIB=''
LUA_PLATFORM=''
LUA_PREFIX=''
LUA_SHORT_VERSION=''
LUA_VERSION=''
MAKEINFO='${SHELL} /home/hmslima/instalar/sile-0.9.4/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJC='gcc'
OBJCDEPMODE='depmode=gcc3'
OBJCFLAGS=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='sile'
PACKAGE_BUGREPORT='simon@simon-cozens.org'
PACKAGE_NAME='SILE'
PACKAGE_STRING='SILE 0.9.4'
PACKAGE_TARNAME='sile'
PACKAGE_URL=''
PACKAGE_VERSION='0.9.4'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHARED_LIB_EXT=''
SHELL='/bin/bash'
SILE_LIB_PATH=''
SILE_PATH=''
STRIP='strip'
VERSION='0.9.4'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
ac_ct_OBJC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepOBJC_FALSE='#'
am__fastdepOBJC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=posix -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/hmslima/instalar/sile-0.9.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
luadir=''
luaexecdir=''
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgluadir=''
pkgluaexecdir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared_ext=''
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "SILE"
#define PACKAGE_TARNAME "sile"
#define PACKAGE_VERSION "0.9.4"
#define PACKAGE_STRING "SILE 0.9.4"
#define PACKAGE_BUGREPORT "simon@simon-cozens.org"
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 1
simoncozens commented 6 years ago

Hi there! Sorry for the delayed response.

Yes, this does look very similar to bug #480. I'm not sure why this is happening. Could you try forcing the issue by running with the LUA variable set directly: e.g. ./configure LUA=/usr/bin/lua?

Could you also try putting the following code into a file (e.g. testlua.sh):

   for ax_cv_pathless_LUA in lua lua5.2 lua52 lua5.1 lua51 lua50 none; do
            test "x$ax_cv_pathless_LUA" = 'xnone' && break

    if $ax_cv_pathless_LUA -e "print('Hello ' .. _VERSION .. '!')"; then :

else
  continue
fi

  if $ax_cv_pathless_LUA 2>/dev/null -e '
        function norm (v)
          i,j=v:match "(%d+)%.(%d+)" if i then return 100 * i + j end
        end
        v, toobig=norm (_VERSION), norm "" or math.huge
        os.exit ((v >= norm ("5.1") and v < toobig) and 0 or 1)'; then :
  break
fi

          done

(this is the test that configure does internally) and then try running sh -x testlua.sh and telling me the output? That would highlight where and why it is failing.

hmslima commented 6 years ago

THE PROBLEM WAS SOLVED! And the reason was very stupid...

See what I did:

Could you try forcing the issue by running with the LUA variable set directly: e.g. ./configure LUA=/usr/bin/lua?

Same thing...

Could you also try putting the following code into a file (e.g. testlua.sh): (this is the test that configure does internally) and then try running sh -x testlua.sh and telling me the output? That would highlight where and why it is failing.

$ sh -x testlua.sh
+ test xlua = xnone
+ lua -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua: not found
+ continue
+ test xlua5.2 = xnone
+ lua5.2 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua5.2: not found
+ continue
+ test xlua52 = xnone
+ lua52 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua52: not found
+ continue
+ test xlua5.1 = xnone
+ lua5.1 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua5.1: not found
+ continue
+ test xlua51 = xnone
+ lua51 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua51: not found
+ continue
+ test xlua50 = xnone
+ lua50 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua50: not found
+ continue
+ test xnone = xnone
+ break

Then I installed the packages: liblua50-dev, liblua50, liblualib50 and lua50

$ sh -x testlua.sh
+ test xlua = xnone
+ lua -e print('Hello ' .. _VERSION .. '!')
Hello Lua 5.0.3!
+ :
+ lua -e 
        function norm (v)
          i,j=v:match "(%d+)%.(%d+)" if i then return 100 * i + j end
        end
        v, toobig=norm (_VERSION), norm "" or math.huge
        os.exit ((v >= norm ("5.1") and v < toobig) and 0 or 1)
+ test xlua5.2 = xnone
+ lua5.2 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua5.2: not found
+ continue
+ test xlua52 = xnone
+ lua52 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua52: not found
+ continue
+ test xlua5.1 = xnone
+ lua5.1 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua5.1: not found
+ continue
+ test xlua51 = xnone
+ lua51 -e print('Hello ' .. _VERSION .. '!')
testlua.sh: 4: testlua.sh: lua51: not found
+ continue
+ test xlua50 = xnone
+ lua50 -e print('Hello ' .. _VERSION .. '!')
Hello Lua 5.0.3!
+ :
+ lua50 -e 
        function norm (v)
          i,j=v:match "(%d+)%.(%d+)" if i then return 100 * i + j end
        end
        v, toobig=norm (_VERSION), norm "" or math.huge
        os.exit ((v >= norm ("5.1") and v < toobig) and 0 or 1)
+ test xnone = xnone
+ break

And then I noticed that I didn't install the packages lua5.1, lua5.2 and lua5.3. I thought that they were already installed once I installed their lib relatives.

$ sh -x testlua.sh
+ test xlua = xnone
+ lua -e print('Hello ' .. _VERSION .. '!')
Hello Lua 5.2!
+ :
+ lua -e 
        function norm (v)
          i,j=v:match "(%d+)%.(%d+)" if i then return 100 * i + j end
        end
        v, toobig=norm (_VERSION), norm "" or math.huge
        os.exit ((v >= norm ("5.1") and v < toobig) and 0 or 1)
+ :
+ break

How could I be so inattentive?! What was missing was precisely the main packages of Lua. (¬¬)

simoncozens commented 6 years ago

Oh, oops! We should be able to trust that when ./configure says there’s no lua, there’s no lua. But autoconf has its own, uh, idiosyncracies so often that I can’t really trust it... Anyway, glad you got it working and have fun playing with SILE!