[liblouis-liblouisxml] MacOS X compiling fun, again

  • From: Greg Kearney <gkearney@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 6 Jun 2014 11:06:01 -0700

OK so we have a new beta version of the MacOS X which mean I get to chase down 
the merry path of trying to get all the liblouis stuff to configure, make, and 
make install yet again. (are we having fun yet?)

So I do the following:

For liblouis
./configure everything at this point looks OK here is the output:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
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 for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... no
checking whether getenv is declared... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for wchar_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for ssize_t... yes
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... no
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... no
checking whether mkdtemp is declared without a macro... no
checking whether mkostemp is declared without a macro... no
checking whether mkostemps is declared without a macro... no
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... no
checking whether posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... no
checking whether random is declared without a macro... yes
checking whether random_r is declared without a macro... no
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... no
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... no
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... no
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... no
checking whether environ is declared without a macro... no
checking whether euidaccess is declared without a macro... no
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... no
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... no
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... no
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
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 gcc... 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ld
checking if the linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ld)
 is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin14.0.0 file names to 
x86_64-apple-darwin14.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin14.0.0 file names to toolchain 
format... func_convert_file_noop
checking for 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ld
 option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ld)
 supports shared libraries... yes
checking dynamic linker characteristics... darwin14.0.0 dyld
checking how to hardcode library paths into programs... immediate
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 help2man... no
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.7/site-packages
checking for pkg-config... /opt/local/bin/pkg-config
checking whether 4 byte-wide characters should be supported... no
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 man/Makefile
config.status: creating liblouis/Makefile
config.status: creating liblouis/liblouis.h
config.status: creating windows/Makefile
config.status: creating windows/include/Makefile
config.status: creating tables/Makefile
config.status: creating liblouis.pc
config.status: creating tests/Makefile
config.status: creating tests/resolve_table.h
config.status: creating tests/tables/Makefile
config.status: creating tests/tables/moreTables/Makefile
config.status: creating tests/tables/resolve_table/Makefile
config.status: creating tests/tables/resolve_table/dir_1/Makefile
config.status: creating tests/tables/resolve_table/dir_1/dir_1.1/Makefile
config.status: creating tests/tables/resolve_table/dir_2/Makefile
config.status: creating tests/doctests/Makefile
config.status: creating tests/harness/Makefile
config.status: creating tests/harnessSources/Makefile
config.status: creating python/Makefile
config.status: creating python/louis/Makefile
config.status: creating tools/Makefile
config.status: creating gnulib/Makefile
config.status: creating m4/Makefile
config.status: creating liblouis/config.h
config.status: liblouis/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make, I get a couple of warning full output included:

/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
compileTranslationTable.c:1461:14: warning: comparison of unsigned enum
      expression < 0 is always false [-Wtautological-compare]
  if (opcode < 0 || opcode >= CTO_None)
      ~~~~~~ ^ ~
1 warning generated.
lou_trace.c:71:20: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
  if (input_length < 0)
      ~~~~~~~~~~~~ ^ ~
1 warning generated.

Making all in gnulib
rm -f getopt.h-t getopt.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''HAVE_GETOPT_H''@|1|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_GETOPT_H''@|<getopt.h>|g' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              < ./getopt.in.h; \
        } > getopt.h-t && \
        mv -f getopt.h-t getopt.h
rm -f stdlib.h-t stdlib.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
              -e 's/@''GNULIB__EXIT''@/0/g' \
              -e 's/@''GNULIB_ATOLL''@/0/g' \
              -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \
              -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/0/g' \
              -e 's/@''GNULIB_GETLOADAVG''@/0/g' \
              -e 's/@''GNULIB_GETSUBOPT''@/0/g' \
              -e 's/@''GNULIB_GRANTPT''@/0/g' \
              -e 's/@''GNULIB_MALLOC_POSIX''@/1/g' \
              -e 's/@''GNULIB_MBTOWC''@/0/g' \
              -e 's/@''GNULIB_MKDTEMP''@/0/g' \
              -e 's/@''GNULIB_MKOSTEMP''@/0/g' \
              -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \
              -e 's/@''GNULIB_MKSTEMP''@/0/g' \
              -e 's/@''GNULIB_MKSTEMPS''@/0/g' \
              -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \
              -e 's/@''GNULIB_PTSNAME''@/0/g' \
              -e 's/@''GNULIB_PTSNAME_R''@/0/g' \
              -e 's/@''GNULIB_PUTENV''@/0/g' \
              -e 's/@''GNULIB_RANDOM''@/0/g' \
              -e 's/@''GNULIB_RANDOM_R''@/0/g' \
              -e 's/@''GNULIB_REALLOC_POSIX''@/1/g' \
              -e 's/@''GNULIB_REALPATH''@/0/g' \
              -e 's/@''GNULIB_RPMATCH''@/0/g' \
              -e 's/@''GNULIB_SETENV''@/0/g' \
              -e 's/@''GNULIB_STRTOD''@/0/g' \
              -e 's/@''GNULIB_STRTOLL''@/0/g' \
              -e 's/@''GNULIB_STRTOULL''@/0/g' \
              -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \
              -e 's/@''GNULIB_UNLOCKPT''@/0/g' \
              -e 's/@''GNULIB_UNSETENV''@/0/g' \
              -e 's/@''GNULIB_WCTOMB''@/0/g' \
              < ./stdlib.in.h | \
          sed -e 's|@''HAVE__EXIT''@|1|g' \
              -e 's|@''HAVE_ATOLL''@|1|g' \
              -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
              -e 's|@''HAVE_GETSUBOPT''@|1|g' \
              -e 's|@''HAVE_GRANTPT''@|1|g' \
              -e 's|@''HAVE_MKDTEMP''@|1|g' \
              -e 's|@''HAVE_MKOSTEMP''@|1|g' \
              -e 's|@''HAVE_MKOSTEMPS''@|1|g' \
              -e 's|@''HAVE_MKSTEMP''@|1|g' \
              -e 's|@''HAVE_MKSTEMPS''@|1|g' \
              -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \
              -e 's|@''HAVE_PTSNAME''@|1|g' \
              -e 's|@''HAVE_PTSNAME_R''@|1|g' \
              -e 's|@''HAVE_RANDOM''@|1|g' \
              -e 's|@''HAVE_RANDOM_H''@|1|g' \
              -e 's|@''HAVE_RANDOM_R''@|1|g' \
              -e 's|@''HAVE_REALPATH''@|1|g' \
              -e 's|@''HAVE_RPMATCH''@|1|g' \
              -e 's|@''HAVE_DECL_SETENV''@|1|g' \
              -e 's|@''HAVE_STRTOD''@|1|g' \
              -e 's|@''HAVE_STRTOLL''@|1|g' \
              -e 's|@''HAVE_STRTOULL''@|1|g' \
              -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
              -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
              -e 's|@''HAVE_UNLOCKPT''@|1|g' \
              -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
              -e 's|@''REPLACE_CALLOC''@|0|g' \
              -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
              -e 's|@''REPLACE_MALLOC''@|0|g' \
              -e 's|@''REPLACE_MBTOWC''@|0|g' \
              -e 's|@''REPLACE_MKSTEMP''@|0|g' \
              -e 's|@''REPLACE_PTSNAME''@|0|g' \
              -e 's|@''REPLACE_PTSNAME_R''@|0|g' \
              -e 's|@''REPLACE_PUTENV''@|0|g' \
              -e 's|@''REPLACE_RANDOM_R''@|0|g' \
              -e 's|@''REPLACE_REALLOC''@|0|g' \
              -e 's|@''REPLACE_REALPATH''@|0|g' \
              -e 's|@''REPLACE_SETENV''@|0|g' \
              -e 's|@''REPLACE_STRTOD''@|0|g' \
              -e 's|@''REPLACE_UNSETENV''@|0|g' \
              -e 's|@''REPLACE_WCTOMB''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _Noreturn/r ../build-aux/snippet/_Noreturn.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
        } > stdlib.h-t && \
        mv stdlib.h-t stdlib.h
../build-aux/install-sh -c -d sys
rm -f sys/types.h-t sys/types.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \
              -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
              < ./sys_types.in.h; \
        } > sys/types.h-t && \
        mv sys/types.h-t sys/types.h
rm -f unistd.h-t unistd.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''HAVE_UNISTD_H''@|1|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
              -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
              -e 's/@''GNULIB_CHDIR''@/0/g' \
              -e 's/@''GNULIB_CHOWN''@/0/g' \
              -e 's/@''GNULIB_CLOSE''@/0/g' \
              -e 's/@''GNULIB_DUP''@/0/g' \
              -e 's/@''GNULIB_DUP2''@/0/g' \
              -e 's/@''GNULIB_DUP3''@/0/g' \
              -e 's/@''GNULIB_ENVIRON''@/0/g' \
              -e 's/@''GNULIB_EUIDACCESS''@/0/g' \
              -e 's/@''GNULIB_FACCESSAT''@/0/g' \
              -e 's/@''GNULIB_FCHDIR''@/0/g' \
              -e 's/@''GNULIB_FCHOWNAT''@/0/g' \
              -e 's/@''GNULIB_FDATASYNC''@/0/g' \
              -e 's/@''GNULIB_FSYNC''@/0/g' \
              -e 's/@''GNULIB_FTRUNCATE''@/0/g' \
              -e 's/@''GNULIB_GETCWD''@/0/g' \
              -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \
              -e 's/@''GNULIB_GETDTABLESIZE''@/0/g' \
              -e 's/@''GNULIB_GETGROUPS''@/0/g' \
              -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \
              -e 's/@''GNULIB_GETLOGIN''@/0/g' \
              -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \
              -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \
              -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \
              -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \
              -e 's/@''GNULIB_ISATTY''@/0/g' \
              -e 's/@''GNULIB_LCHOWN''@/0/g' \
              -e 's/@''GNULIB_LINK''@/0/g' \
              -e 's/@''GNULIB_LINKAT''@/0/g' \
              -e 's/@''GNULIB_LSEEK''@/0/g' \
              -e 's/@''GNULIB_PIPE''@/0/g' \
              -e 's/@''GNULIB_PIPE2''@/0/g' \
              -e 's/@''GNULIB_PREAD''@/0/g' \
              -e 's/@''GNULIB_PWRITE''@/0/g' \
              -e 's/@''GNULIB_READ''@/0/g' \
              -e 's/@''GNULIB_READLINK''@/0/g' \
              -e 's/@''GNULIB_READLINKAT''@/0/g' \
              -e 's/@''GNULIB_RMDIR''@/0/g' \
              -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \
              -e 's/@''GNULIB_SLEEP''@/0/g' \
              -e 's/@''GNULIB_SYMLINK''@/0/g' \
              -e 's/@''GNULIB_SYMLINKAT''@/0/g' \
              -e 's/@''GNULIB_TTYNAME_R''@/0/g' \
              -e 's/@''GNULIB_UNISTD_H_GETOPT''@/01/g' \
              -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \
              -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \
              -e 's/@''GNULIB_UNLINK''@/0/g' \
              -e 's/@''GNULIB_UNLINKAT''@/0/g' \
              -e 's/@''GNULIB_USLEEP''@/0/g' \
              -e 's/@''GNULIB_WRITE''@/0/g' \
              < ./unistd.in.h | \
          sed -e 's|@''HAVE_CHOWN''@|1|g' \
              -e 's|@''HAVE_DUP2''@|1|g' \
              -e 's|@''HAVE_DUP3''@|1|g' \
              -e 's|@''HAVE_EUIDACCESS''@|1|g' \
              -e 's|@''HAVE_FACCESSAT''@|1|g' \
              -e 's|@''HAVE_FCHDIR''@|1|g' \
              -e 's|@''HAVE_FCHOWNAT''@|1|g' \
              -e 's|@''HAVE_FDATASYNC''@|1|g' \
              -e 's|@''HAVE_FSYNC''@|1|g' \
              -e 's|@''HAVE_FTRUNCATE''@|1|g' \
              -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
              -e 's|@''HAVE_GETGROUPS''@|1|g' \
              -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_GETLOGIN''@|1|g' \
              -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
              -e 's|@''HAVE_LCHOWN''@|1|g' \
              -e 's|@''HAVE_LINK''@|1|g' \
              -e 's|@''HAVE_LINKAT''@|1|g' \
              -e 's|@''HAVE_PIPE''@|1|g' \
              -e 's|@''HAVE_PIPE2''@|1|g' \
              -e 's|@''HAVE_PREAD''@|1|g' \
              -e 's|@''HAVE_PWRITE''@|1|g' \
              -e 's|@''HAVE_READLINK''@|1|g' \
              -e 's|@''HAVE_READLINKAT''@|1|g' \
              -e 's|@''HAVE_SETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_SLEEP''@|1|g' \
              -e 's|@''HAVE_SYMLINK''@|1|g' \
              -e 's|@''HAVE_SYMLINKAT''@|1|g' \
              -e 's|@''HAVE_UNLINKAT''@|1|g' \
              -e 's|@''HAVE_USLEEP''@|1|g' \
              -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
              -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
              -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \
              -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
              -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
              -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
              -e 's|@''HAVE_OS_H''@|0|g' \
              -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
          | \
          sed -e 's|@''REPLACE_CHOWN''@|0|g' \
              -e 's|@''REPLACE_CLOSE''@|0|g' \
              -e 's|@''REPLACE_DUP''@|0|g' \
              -e 's|@''REPLACE_DUP2''@|0|g' \
              -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
              -e 's|@''REPLACE_FTRUNCATE''@|0|g' \
              -e 's|@''REPLACE_GETCWD''@|0|g' \
              -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
              -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
              -e 's|@''REPLACE_GETGROUPS''@|0|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
              -e 's|@''REPLACE_ISATTY''@|0|g' \
              -e 's|@''REPLACE_LCHOWN''@|0|g' \
              -e 's|@''REPLACE_LINK''@|0|g' \
              -e 's|@''REPLACE_LINKAT''@|0|g' \
              -e 's|@''REPLACE_LSEEK''@|0|g' \
              -e 's|@''REPLACE_PREAD''@|0|g' \
              -e 's|@''REPLACE_PWRITE''@|0|g' \
              -e 's|@''REPLACE_READ''@|0|g' \
              -e 's|@''REPLACE_READLINK''@|0|g' \
              -e 's|@''REPLACE_RMDIR''@|0|g' \
              -e 's|@''REPLACE_SLEEP''@|0|g' \
              -e 's|@''REPLACE_SYMLINK''@|0|g' \
              -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
              -e 's|@''REPLACE_UNLINK''@|0|g' \
              -e 's|@''REPLACE_UNLINKAT''@|0|g' \
              -e 's|@''REPLACE_USLEEP''@|0|g' \
              -e 's|@''REPLACE_WRITE''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
        } > unistd.h-t && \
        mv unistd.h-t unistd.h
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../liblouis     -g -O2 -MT progname.lo -MD -MP -MF .deps/progname.Tpo -c -o 
progname.lo progname.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT progname.lo 
-MD -MP -MF .deps/progname.Tpo -c progname.c  -fno-common -DPIC -o 
.libs/progname.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT progname.lo 
-MD -MP -MF .deps/progname.Tpo -c progname.c -o progname.o >/dev/null 2>&1
mv -f .deps/progname.Tpo .deps/progname.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../liblouis     -g -O2 -MT unistd.lo -MD -MP -MF .deps/unistd.Tpo -c -o 
unistd.lo unistd.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT unistd.lo 
-MD -MP -MF .deps/unistd.Tpo -c unistd.c  -fno-common -DPIC -o .libs/unistd.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT unistd.lo 
-MD -MP -MF .deps/unistd.Tpo -c unistd.c -o unistd.o >/dev/null 2>&1
mv -f .deps/unistd.Tpo .deps/unistd.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../liblouis     -g -O2 -MT version-etc.lo -MD -MP -MF .deps/version-etc.Tpo 
-c -o version-etc.lo version-etc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT 
version-etc.lo -MD -MP -MF .deps/version-etc.Tpo -c version-etc.c  -fno-common 
-DPIC -o .libs/version-etc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT 
version-etc.lo -MD -MP -MF .deps/version-etc.Tpo -c version-etc.c -o 
version-etc.o >/dev/null 2>&1
mv -f .deps/version-etc.Tpo .deps/version-etc.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../liblouis     -g -O2 -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c -o 
getopt.lo getopt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT getopt.lo 
-MD -MP -MF .deps/getopt.Tpo -c getopt.c  -fno-common -DPIC -o .libs/getopt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT getopt.lo 
-MD -MP -MF .deps/getopt.Tpo -c getopt.c -o getopt.o >/dev/null 2>&1
mv -f .deps/getopt.Tpo .deps/getopt.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../liblouis     -g -O2 -MT getopt1.lo -MD -MP -MF .deps/getopt1.Tpo -c -o 
getopt1.lo getopt1.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT getopt1.lo 
-MD -MP -MF .deps/getopt1.Tpo -c getopt1.c  -fno-common -DPIC -o .libs/getopt1.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../liblouis -g -O2 -MT getopt1.lo 
-MD -MP -MF .deps/getopt1.Tpo -c getopt1.c -o getopt1.o >/dev/null 2>&1
mv -f .deps/getopt1.Tpo .deps/getopt1.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2  -no-undefined   -o 
libgnu.la  progname.lo unistd.lo version-etc.lo getopt.lo getopt1.lo 
libtool: link: rm -fr  .libs/libgnu.a .libs/libgnu.la
libtool: link: ar cru .libs/libgnu.a .libs/progname.o .libs/unistd.o 
.libs/version-etc.o .libs/getopt.o .libs/getopt1.o 
libtool: link: ranlib .libs/libgnu.a
libtool: link: ( cd ".libs" && rm -f "libgnu.la" && ln -s "../libgnu.la" 
"libgnu.la" )
Making all in liblouis
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-DTABLESDIR=\""/usr/local/share"/liblouis/tables\"   -g -O2 -MT 
lou_backTranslateString.lo -MD -MP -MF .deps/lou_backTranslateString.Tpo -c -o 
lou_backTranslateString.lo lou_backTranslateString.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
lou_backTranslateString.lo -MD -MP -MF .deps/lou_backTranslateString.Tpo -c 
lou_backTranslateString.c  -fno-common -DPIC -o .libs/lou_backTranslateString.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
lou_backTranslateString.lo -MD -MP -MF .deps/lou_backTranslateString.Tpo -c 
lou_backTranslateString.c -o lou_backTranslateString.o >/dev/null 2>&1
mv -f .deps/lou_backTranslateString.Tpo .deps/lou_backTranslateString.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-DTABLESDIR=\""/usr/local/share"/liblouis/tables\"   -g -O2 -MT 
compileTranslationTable.lo -MD -MP -MF .deps/compileTranslationTable.Tpo -c -o 
compileTranslationTable.lo compileTranslationTable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
compileTranslationTable.lo -MD -MP -MF .deps/compileTranslationTable.Tpo -c 
compileTranslationTable.c  -fno-common -DPIC -o .libs/compileTranslationTable.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
compileTranslationTable.lo -MD -MP -MF .deps/compileTranslationTable.Tpo -c 
compileTranslationTable.c -o compileTranslationTable.o >/dev/null 2>&1
mv -f .deps/compileTranslationTable.Tpo .deps/compileTranslationTable.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-DTABLESDIR=\""/usr/local/share"/liblouis/tables\"   -g -O2 -MT 
lou_translateString.lo -MD -MP -MF .deps/lou_translateString.Tpo -c -o 
lou_translateString.lo lou_translateString.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
lou_translateString.lo -MD -MP -MF .deps/lou_translateString.Tpo -c 
lou_translateString.c  -fno-common -DPIC -o .libs/lou_translateString.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT 
lou_translateString.lo -MD -MP -MF .deps/lou_translateString.Tpo -c 
lou_translateString.c -o lou_translateString.o >/dev/null 2>&1
mv -f .deps/lou_translateString.Tpo .deps/lou_translateString.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-DTABLESDIR=\""/usr/local/share"/liblouis/tables\"   -g -O2 -MT wrappers.lo -MD 
-MP -MF .deps/wrappers.Tpo -c -o wrappers.lo wrappers.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT wrappers.lo -MD -MP 
-MF .deps/wrappers.Tpo -c wrappers.c  -fno-common -DPIC -o .libs/wrappers.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-DTABLESDIR=\"/usr/local/share/liblouis/tables\" -g -O2 -MT wrappers.lo -MD -MP 
-MF .deps/wrappers.Tpo -c wrappers.c -o wrappers.o >/dev/null 2>&1
mv -f .deps/wrappers.Tpo .deps/wrappers.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -version-info 6:0:4 
-no-undefined   -o liblouis.la -rpath /usr/local/lib lou_backTranslateString.lo 
compileTranslationTable.lo lou_translateString.lo wrappers.lo  
libtool: link: rm -fr  .libs/liblouis.2.dylib .libs/liblouis.a 
.libs/liblouis.dylib .libs/liblouis.la .libs/liblouis.lai
libtool: link: gcc -dynamiclib  -o .libs/liblouis.2.dylib  
.libs/lou_backTranslateString.o .libs/compileTranslationTable.o 
.libs/lou_translateString.o .libs/wrappers.o    -O2   -install_name  
/usr/local/lib/liblouis.2.dylib -compatibility_version 7 -current_version 7.0 
-Wl,-single_module
libtool: link: (cd ".libs" && rm -f "liblouis.dylib" && ln -s 
"liblouis.2.dylib" "liblouis.dylib")
libtool: link: ar cru .libs/liblouis.a  lou_backTranslateString.o 
compileTranslationTable.o lou_translateString.o wrappers.o
libtool: link: ranlib .libs/liblouis.a
libtool: link: ( cd ".libs" && rm -f "liblouis.la" && ln -s "../liblouis.la" 
"liblouis.la" )
Making all in tools
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_allround.o -MD -MP -MF .deps/lou_allround.Tpo -c -o lou_allround.o 
lou_allround.c
mv -f .deps/lou_allround.Tpo .deps/lou_allround.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_allround 
lou_allround.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_allround lou_allround.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_checkhyphens.o -MD -MP -MF .deps/lou_checkhyphens.Tpo -c -o 
lou_checkhyphens.o lou_checkhyphens.c
mv -f .deps/lou_checkhyphens.Tpo .deps/lou_checkhyphens.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_checkhyphens 
lou_checkhyphens.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_checkhyphens lou_checkhyphens.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_checktable.o -MD -MP -MF .deps/lou_checktable.Tpo -c -o lou_checktable.o 
lou_checktable.c
mv -f .deps/lou_checktable.Tpo .deps/lou_checktable.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_checktable 
lou_checktable.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_checktable lou_checktable.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_debug.o -MD -MP -MF .deps/lou_debug.Tpo -c -o lou_debug.o lou_debug.c
mv -f .deps/lou_debug.Tpo .deps/lou_debug.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_debug 
lou_debug.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_debug lou_debug.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_translate.o -MD -MP -MF .deps/lou_translate.Tpo -c -o lou_translate.o 
lou_translate.c
mv -f .deps/lou_translate.Tpo .deps/lou_translate.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_translate 
lou_translate.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_translate lou_translate.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
gcc -DHAVE_CONFIG_H -I. -I../liblouis  -I../liblouis -I../gnulib   -g -O2 -MT 
lou_trace.o -MD -MP -MF .deps/lou_trace.Tpo -c -o lou_trace.o lou_trace.c
mv -f .deps/lou_trace.Tpo .deps/lou_trace.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o lou_trace 
lou_trace.o ../liblouis/liblouis.la ../gnulib/libgnu.la  
libtool: link: gcc -g -O2 -o .libs/lou_trace lou_trace.o  
../liblouis/.libs/liblouis.dylib ../gnulib/.libs/libgnu.a
Making all in tables
make[1]: Nothing to be done for `all'.
Making all in doc
make[1]: Nothing to be done for `all'.
Making all in man
make[1]: Nothing to be done for `all'.
Making all in tests
Making all in tables
Making all in moreTables
make[3]: Nothing to be done for `all'.
Making all in resolve_table
Making all in dir_1
Making all in dir_1.1
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in dir_2
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in doctests
make[2]: Nothing to be done for `all'.
Making all in harness
make[2]: Nothing to be done for `all'.
Making all in harnessSources
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in python
Making all in louis
source ../../liblouis/liblouis.la ; \
        sed "s/###LIBLOUIS_SONAME###/$dlname/" \
                < ./__init__.py.in \
                > __init__.py
make[2]: Nothing to be done for `all-am'.
Making all in m4
make[1]: Nothing to be done for `all'.
Making all in windows
Making all in include
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.

make install, this is where things go wrong this time I get errors:

make[2]: *** [install-libLTLIBRARIES] Error 71
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

Making install in gnulib
/Applications/Xcode.app/Contents/Developer/usr/bin/make  install-recursive
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in liblouis
 ../build-aux/install-sh -c -d '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   liblouis.la 
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/liblouis.2.dylib 
/usr/local/lib/liblouis.2.dylib

Running lo_translate returns the following:

gkearney:liblouis-2.5.4 gkearney$ lou_translate
dyld: Library not loaded: /usr/local/lib/liblouis.2.dylib
  Referenced from: /usr/local/bin/lou_translate
  Reason: image not found
Trace/BPT trap: 5

I would not that the file /usr/local/lib/liblouis.2.dylib does exist at that 
location. So does anyone wish to offer up any suggestions here?

Thank you.

Commonwealth Braille & Talking Book Cooperative
Greg Kearney, General Manager
605 Robson Street, Suite 850
Vancouver BC V6B 5J3
CANADA
Email: info@xxxxxxxxx

U.S. Address
21908 Almaden Av.
Cupertino, CA 95014
UNITED STATES
Email: gkearney@xxxxxxxxx



Other related posts:

  • » [liblouis-liblouisxml] MacOS X compiling fun, again - Greg Kearney