tre
tre copied to clipboard
can't build on Ubuntu
Here is the error I get when I try to run ./configure:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 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 whether gcc and cc understand -c and -o together... yes
./configure: line 4274: syntax error near unexpected token `fi'
./configure: line 4274: `fi'
still getting this error
Hmm, works for me on Ubuntu 16.04 (after installing autoconf, automake, autopoint, libtool, and gettext and successfully running utils/autogen.sh).
ah ok thanks @laurikari , I did not have autopoint and did not know to run utils/autogen.sh. (I always just do ./configure; make; make install and anything more complicated → I will give up)
i@scheherezade:/opt/tre$ utils/autogen.sh
Replacing @TRE_VERSION@ by 0.8.0 to python/setup.py
Replacing @TRE_VERSION_1@ by 0 to python/setup.py
Replacing @TRE_VERSION_2@ by 8 to python/setup.py
Replacing @TRE_VERSION_3@ by 0 to python/setup.py
Replacing @TRE_VERSION@ by 0.8.0 to win32/tre-config.h
Replacing @TRE_VERSION_1@ by 0 to win32/tre-config.h
Replacing @TRE_VERSION_2@ by 8 to win32/tre-config.h
Replacing @TRE_VERSION_3@ by 0 to win32/tre-config.h
Copying file ABOUT-NLS
Copying file utils/config.rpath
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
i@scheherezade:/opt/tre$ make
Makefile:3: *** missing separator. Stop.
i@scheherezade:/opt/tre$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 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 whether gcc and cc understand -c and -o together... yes
checking for C compiler warning flags... -Wall
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for isascii... yes
checking for isblank... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for libutf8... not needed
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for wchar_t... yes
checking whether WCHAR_MAX is defined... yes
checking for wint_t... yes
checking for mbstate_t... yes
checking for wcsrtombs... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for wcschr... yes
checking for wcscpy... yes
checking for wcslen... yes
checking for wcsncpy... yes
checking for wctype... yes
checking for iswctype... yes
checking for iswascii... no
checking for iswblank... yes
checking for mbrtowc... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
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 how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /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 ar... ar
checking for archiver @FILE support... @
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 mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... 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/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/agrep.1
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/agrep/Makefile
config.status: creating tre.pc
config.status: creating tre.spec
config.status: creating utils/Makefile
config.status: creating config.h
config.status: creating lib/tre-config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
Configuration summary
=====================
TRE is now configured as follows:
* Compilation environment
CC = gcc
CFLAGS = -g -O2 -Wall
CPP = gcc -E
CPPFLAGS =
LD = /usr/bin/ld
LDFLAGS =
LIBS =
Use alloca(): yes
* TRE options
Development-time debugging: no
System regex ABI compatibility: no
Wide character (wchar_t) support: yes
Multibyte character set support: yes
Approximate matching support: yes
Build and install agrep: yes
i@scheherezade:/opt/tre$ make
make all-recursive
make[1]: Entering directory `/opt/tre'
Making all in lib
make[2]: Entering directory `/opt/tre/lib'
(CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/bash /opt/tre/utils/missing --run autoheader)
rm -f stamp-h2
touch tre-config.h.in
cd .. && /bin/bash ./config.status lib/tre-config.h
config.status: creating lib/tre-config.h
config.status: lib/tre-config.h is unchanged
make all-am
make[3]: Entering directory `/opt/tre/lib'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c -o tre-ast.lo tre-ast.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c tre-ast.c -fPIC -DPIC -o .libs/tre-ast.o
mv -f .deps/tre-ast.Tpo .deps/tre-ast.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c -o tre-compile.lo tre-compile.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c tre-compile.c -fPIC -DPIC -o .libs/tre-compile.o
mv -f .deps/tre-compile.Tpo .deps/tre-compile.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c -o tre-match-backtrack.lo tre-match-backtrack.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c tre-match-backtrack.c -fPIC -DPIC -o .libs/tre-match-backtrack.o
tre-match-backtrack.c: In function 'tre_tnfa_run_backtrack':
tre-match-backtrack.c:117:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define tre_bt_mem_destroy(obj) do { } while (0,0)
^
tre-match-backtrack.c:135:8: note: in expansion of macro 'tre_bt_mem_destroy'
tre_bt_mem_destroy(mem); \
^
tre-match-backtrack.c:350:4: note: in expansion of macro 'BT_STACK_PUSH'
BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
^
tre-match-backtrack.c:117:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define tre_bt_mem_destroy(obj) do { } while (0,0)
^
tre-match-backtrack.c:150:8: note: in expansion of macro 'tre_bt_mem_destroy'
tre_bt_mem_destroy(mem); \
^
tre-match-backtrack.c:350:4: note: in expansion of macro 'BT_STACK_PUSH'
BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
^
tre-match-backtrack.c:117:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define tre_bt_mem_destroy(obj) do { } while (0,0)
^
tre-match-backtrack.c:135:8: note: in expansion of macro 'tre_bt_mem_destroy'
tre_bt_mem_destroy(mem); \
^
tre-match-backtrack.c:571:5: note: in expansion of macro 'BT_STACK_PUSH'
BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
^
tre-match-backtrack.c:117:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define tre_bt_mem_destroy(obj) do { } while (0,0)
^
tre-match-backtrack.c:150:8: note: in expansion of macro 'tre_bt_mem_destroy'
tre_bt_mem_destroy(mem); \
^
tre-match-backtrack.c:571:5: note: in expansion of macro 'BT_STACK_PUSH'
BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
^
tre-match-backtrack.c:117:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define tre_bt_mem_destroy(obj) do { } while (0,0)
^
tre-match-backtrack.c:655:3: note: in expansion of macro 'tre_bt_mem_destroy'
tre_bt_mem_destroy(mem);
^
mv -f .deps/tre-match-backtrack.Tpo .deps/tre-match-backtrack.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c -o tre-match-parallel.lo tre-match-parallel.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c tre-match-parallel.c -fPIC -DPIC -o .libs/tre-match-parallel.o
mv -f .deps/tre-match-parallel.Tpo .deps/tre-match-parallel.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c -o tre-mem.lo tre-mem.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c tre-mem.c -fPIC -DPIC -o .libs/tre-mem.o
mv -f .deps/tre-mem.Tpo .deps/tre-mem.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c -o tre-parse.lo tre-parse.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c tre-parse.c -fPIC -DPIC -o .libs/tre-parse.o
mv -f .deps/tre-parse.Tpo .deps/tre-parse.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c -o tre-stack.lo tre-stack.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c tre-stack.c -fPIC -DPIC -o .libs/tre-stack.o
mv -f .deps/tre-stack.Tpo .deps/tre-stack.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -fPIC -DPIC -o .libs/regcomp.o
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -fPIC -DPIC -o .libs/regexec.o
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -fPIC -DPIC -o .libs/regerror.o
mv -f .deps/regerror.Tpo .deps/regerror.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c -o tre-match-approx.lo tre-match-approx.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c tre-match-approx.c -fPIC -DPIC -o .libs/tre-match-approx.o
mv -f .deps/tre-match-approx.Tpo .deps/tre-match-approx.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -no-undefined -version-info 5:0:0 -o libtre.la -rpath /usr/local/lib tre-ast.lo tre-compile.lo tre-match-backtrack.lo tre-match-parallel.lo tre-mem.lo tre-parse.lo tre-stack.lo regcomp.lo regexec.lo regerror.lo tre-match-approx.lo
libtool: link: gcc -shared -fPIC -DPIC .libs/tre-ast.o .libs/tre-compile.o .libs/tre-match-backtrack.o .libs/tre-match-parallel.o .libs/tre-mem.o .libs/tre-parse.o .libs/tre-stack.o .libs/regcomp.o .libs/regexec.o .libs/regerror.o .libs/tre-match-approx.o -O2 -Wl,-soname -Wl,libtre.so.5 -o .libs/libtre.so.5.0.0
libtool: link: (cd ".libs" && rm -f "libtre.so.5" && ln -s "libtre.so.5.0.0" "libtre.so.5")
libtool: link: (cd ".libs" && rm -f "libtre.so" && ln -s "libtre.so.5.0.0" "libtre.so")
libtool: link: ( cd ".libs" && rm -f "libtre.la" && ln -s "../libtre.la" "libtre.la" )
make[3]: Leaving directory `/opt/tre/lib'
make[2]: Leaving directory `/opt/tre/lib'
Making all in src
make[2]: Entering directory `/opt/tre/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -Wall -MT agrep-agrep.o -MD -MP -MF .deps/agrep-agrep.Tpo -c -o agrep-agrep.o `test -f 'agrep.c' || echo './'`agrep.c
mv -f .deps/agrep-agrep.Tpo .deps/agrep-agrep.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -Wall -o agrep agrep-agrep.o ../lib/libtre.la
libtool: link: gcc -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -Wall -o .libs/agrep agrep-agrep.o ../lib/.libs/libtre.so
make[2]: Leaving directory `/opt/tre/src'
Making all in doc
make[2]: Entering directory `/opt/tre/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tre/doc'
Making all in tests
make[2]: Entering directory `/opt/tre/tests'
Making all in agrep
make[3]: Entering directory `/opt/tre/tests/agrep'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/tre/tests/agrep'
make[3]: Entering directory `/opt/tre/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/tre/tests'
make[2]: Leaving directory `/opt/tre/tests'
Making all in utils
make[2]: Entering directory `/opt/tre/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tre/utils'
Making all in po
make[2]: Entering directory `/opt/tre/po'
make tre.pot-update
make[3]: Entering directory `/opt/tre/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU tre' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
package_gnu='GNU '; \
else \
package_gnu=''; \
fi; \
if test -n '[email protected]' || test '' = '@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='[email protected]'; \
else \
msgid_bugs_address=''; \
fi; \
case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
/usr/bin/xgettext --default-domain=tre --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='Ville Laurikari' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
/usr/bin/xgettext --default-domain=tre --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='Ville Laurikari' \
--package-name="${package_gnu}tre" \
--package-version='0.8.0' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f tre.po || { \
if test -f ./tre.pot; then \
sed -f remove-potcdate.sed < ./tre.pot > tre.1po && \
sed -f remove-potcdate.sed < tre.po > tre.2po && \
if cmp tre.1po tre.2po >/dev/null 2>&1; then \
rm -f tre.1po tre.2po tre.po; \
else \
rm -f tre.1po tre.2po ./tre.pot && \
mv tre.po ./tre.pot; \
fi; \
else \
mv tre.po ./tre.pot; \
fi; \
}
make[3]: Leaving directory `/opt/tre/po'
test ! -f ./tre.pot || \
test -z "fi.gmo sv.gmo" || make fi.gmo sv.gmo
make[3]: Entering directory `/opt/tre/po'
/usr/bin/msgmerge --update fi.po tre.pot
........... done.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
30 translated messages.
/usr/bin/msgmerge --update sv.po tre.pot
.......... done.
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics -o sv.gmo sv.po
29 translated messages, 1 untranslated message.
make[3]: Leaving directory `/opt/tre/po'
touch stamp-po
make[2]: Leaving directory `/opt/tre/po'
Making all in m4
make[2]: Entering directory `/opt/tre/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tre/m4'
make[2]: Entering directory `/opt/tre'
make[2]: Leaving directory `/opt/tre'
make[1]: Leaving directory `/opt/tre'
thanks so much @laurikari ! I posted the objections above but I think it compiled … will close this issue as soon as I can verify it did correctly install. :D :D :D :dancer:
Good to see it's now working for you @isomorphisms!
If one gets a pristine clone of the git repo, there is no configure script, so not sure where you got the configure that failed with that syntax error in your original post.
i'm not sure either.