help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libidn2, Solaris 11.3, and libtool error


From: Jeffrey Walton
Subject: libidn2, Solaris 11.3, and libtool error
Date: Tue, 28 Mar 2017 14:53:19 -0400

I'm in the process of building libidn2 for libraries required by Git.
It looks like libtool is having a little trouble, and the process ends
with:

    ./libtool[1086]: eval: syntax error at line 1: `|' unexpected

Unfortunately, I'm not an Autotools guy, so I cannot be of much help
with matters involving libtool. However, I can provide remote access
to the machine if I have an authorized_keys file.

About the only thing special I did was set MAKE=gmake.

*****

wget https://alpha.gnu.org/gnu/libidn/libidn2-0.16.tar.gz
--no-check-certificate -O libidn2-0.16.tar.gz
tar -xzf libidn2-0.16.tar.gz
cd libidn2-0.16
LIBS="-ldl -lpthread" ./configure --enable-shared
--prefix="/usr/local" --libdir="/usr/local/lib64"
gmake -j 4

*****

checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/ggrep
checking for egrep... /bin/ggrep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for ranlib... ranlib
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C...
(cached) -std=gnu99
checking the archiver (ar) interface... (cached) ar
checking how to print strings... print -r
checking for a sed that does not truncate output... /bin/gsed
checking for fgrep... /bin/ggrep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -p
checking the name lister (/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-pc-solaris2.11 file names to
i386-pc-solaris2.11 format... func_convert_file_noop
checking how to convert i386-pc-solaris2.11 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /bin/nm -p output from gcc -std=gnu99 object... failed
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 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 for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for libunistring... yes
checking how to link with libunistring...
/usr/local/lib64/libunistring.so -ldl -lpthread -R/usr/local/lib64
checking for libunistring version... 0.9.7
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking for nl_langinfo and CODESET... yes
checking for symlink... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix...
checking for size_t integer literal suffix... u
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking for C/C++ restrict keyword... __restrict
checking whether ffsl is declared without a macro... yes
checking whether ffsll is declared without a macro... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking for pid_t... yes
checking for mode_t... yes
checking for inline... inline
checking if LD -Wl,--version-script works... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for rawmemchr... no
checking for ssize_t... yes
checking for va_copy... yes
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking for strchrnul... yes
checking whether strchrnul works... yes
checking for strverscmp... no
checking for valgrind... valgrind
checking whether self tests are run under valgrind... yes
checking for valgrind... (cached) valgrind
checking whether self tests are run under valgrind... yes
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... /bin/gmsgfmt
checking for xgettext... no
checking for msgmerge... /bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make supports nested variables... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating examples/Makefile
config.status: creating idn2.h
config.status: creating lib/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: Summary of build options:

  Version:           0.16
  Host OS:           solaris2.11
  Install prefix:    /usr/local
  Compiler:          gcc -std=gnu99
  Warning flags:
  CFLAGS:            -g -O2
  LDFlags:
  Library types:     Shared=yes, Static=yes
  Libiconv:          yes
  Libunistring:      yes 0.9.7 -L/usr/local/lib64 -lunistring -ldl
-lpthread -R/usr/local/lib64
  Valgrind:          valgrind -q --error-exitcode=1 --leak-check=full
  Version script:    no

  CC       gentr46map.o
  CCLD     gentr46map
./gentr46map > tr46map_data.c.new
mv tr46map_data.c.new tr46map_data.c
/bin/gmake  all-recursive
gmake[1]: Entering directory `/export/home/test/libidn2-0.16'
Making all in lib
gmake[2]: Entering directory `/export/home/test/libidn2-0.16/lib'
  GEN      limits.h
  GEN      c++defs.h
  GEN      configmake.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      stddef.h
  GEN      stdint.h
  GEN      string.h
  GEN      sys/types.h
/bin/gmake  all-recursive
gmake[3]: Entering directory `/export/home/test/libidn2-0.16/lib'
gmake[4]: Entering directory `/export/home/test/libidn2-0.16/lib'
  CC       localcharset.lo
  CC       version-etc.lo
  CC       progname.lo
  CC       rawmemchr.lo
  CC       strverscmp.lo
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
  CCLD     libgnu.la
gmake[4]: Leaving directory `/export/home/test/libidn2-0.16/lib'
gmake[3]: Leaving directory `/export/home/test/libidn2-0.16/lib'
gmake[2]: Leaving directory `/export/home/test/libidn2-0.16/lib'
Making all in .
gmake[2]: Entering directory `/export/home/test/libidn2-0.16'
  CC       bidi.lo
  CC       lookup.lo
  CC       idna.lo
  CC       register.lo
  CC       version.lo
  CC       error.lo
  CC       punycode.lo
  CC       free.lo
  CC       data.lo
  CC       tr46map.lo
  CC       tables.lo
  CC       context.lo
  CCLD     libidn2.la
./libtool[1086]: eval: syntax error at line 1: `|' unexpected
gmake[2]: *** [libidn2.la] Error 3
gmake[2]: Leaving directory `/export/home/test/libidn2-0.16'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/test/libidn2-0.16'
gmake: *** [all] Error 2
Failed to build IDN



reply via email to

[Prev in Thread] Current Thread [Next in Thread]