Hello, I tried to compile Version 1.4.7 on my QNAP TS109, because the Version in the ipkg is very old (1.2)
I managed to get all the required Libs and tools, but know I stuck on a problem. when running ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python I get following messages: checking build system type... armv5tejl-unknown-linux-gnueabi checking host system type... armv5tejl-unknown-linux-gnueabi checking target system type... armv5tejl-unknown-linux-gnueabi checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /opt/bin/grep checking for egrep... /opt/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 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... no checking for style of include used by make... none checking dependency style of gcc... none checking whether to enable maintainer-specific portions of Makefiles... no Audit Compilation Environment checking how to run the C preprocessor... gcc -E 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 and cc understand -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for fgrep... /opt/bin/grep -F checking for ld used by gcc... /share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/bin/ld checking if the linker (/share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/bin/nm -B checking the name lister (/opt/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 32768 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/bin/nm -B output from gcc object... ok 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... 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 (/share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/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... yes checking if gcc likes the -Werror flag... yes checking if gcc likes the -fno-strict-aliasing flag... yes checking if gcc likes the -Wall flag... yes checking if gcc likes the -std=gnu99 flag... yes checking if gcc likes the -pedantic flag... yes checking if gcc likes the -Wundef flag... yes checking if gcc likes the -Wshadow flag... yes checking if gcc likes the -Wpointer-arith flag... yes checking if gcc likes the -Wcast-align flag... yes checking if gcc likes the -Wmissing-prototypes flag... yes checking if gcc likes the -Wmissing-declarations flag... yes checking if gcc likes the -Wnested-externs flag... yes checking if gcc likes the -Winline flag... yes checking if gcc likes the -Wold-style-definition flag... yes checking if gcc likes the -W flag... yes Checking for Header Files checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for string.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h Test Library Functions checking for acos... no checking for acos in -lm... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking whether byte ordering is bigendian... no checking for nl_langinfo... yes checking for tzset... yes checking for round... yes checking for rint... yes checking for fsync... yes checking for mbstowcs... yes checking for opendir... yes checking for readdir... yes checking for chdir... yes checking for chroot... yes checking for getuid... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes checking for fpclass... no checking for class... no checking for fp_class... no checking for isnan... yes checking for memmove... yes checking for strchr... yes checking for mktime... yes checking for getrusage... yes checking for gettimeofday... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes Map/Fadvis/Madvise checking checking for fdatasync... yes checking for fsync... (cached) yes checking for socket... yes checking for getaddrinfo... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for mmap... yes checking for munmap... yes checking for msync... yes checking whether madvise is declared... yes checking for madvise... yes checking whether posix_fadvise is declared... yes checking for posix_fadvise... yes Libintl Processing checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/bin/ld checking if the linker (/share/HDA_DATA/optware/opt/arm-none-linux-gnueabi/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 IEEE Math Checks checking for fpclassify... no checking for fpclassify with <math.h>... yes checking for isinf... yes checking whether isfinite is broken... no checking if IEEE math works out of the box... yes Resolve Portability Issues checking tm_gmtoff in struct tm... yes checking __tm_gmtoff in struct tm... no checking if msync with MS_ASYNC updates the files mtime... no configure: WARNING: With mmap access, your platform fails to update the files configure: WARNING: mtime. RRDtool will work around this problem by calling utime on each configure: WARNING: file it opens for rw access. checking for _NL_TIME_WEEK_1STDAY... no checking for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h... yes checking for opterr... yes checking for getopt_long... yes checking if realloc can deal with NULL... yes checking if ctime_r need special care to act posixly correct... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking do we need malloc/malloc.h... nope, works out of the box checking the type of time_t... checking size of time_t... 4 time_t is 32 bit Find 3rd-Party Libraries checking dbi/dbi.h usability... no checking dbi/dbi.h presence... no checking for dbi/dbi.h... no checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for cairo_font_options_create in -lcairo... yes checking cairo.h usability... no checking cairo.h presence... no checking for cairo.h... no checking for pkg-config... pkg-config checking for cairo_font_options_create in -lcairo... yes checking cairo.h usability... yes checking cairo.h presence... yes checking for cairo.h... yes checking for cairo_svg_surface_create in -lcairo... yes checking cairo-svg.h usability... yes checking cairo-svg.h presence... yes checking for cairo-svg.h... yes checking for cairo_pdf_surface_create in -lcairo... yes checking cairo-pdf.h usability... yes checking cairo-pdf.h presence... yes checking for cairo-pdf.h... yes checking for cairo_ps_surface_create in -lcairo... yes checking cairo-ps.h usability... yes checking cairo-ps.h presence... yes checking for cairo-ps.h... yes checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes checking pango/pango.h usability... no checking pango/pango.h presence... no checking for pango/pango.h... no checking for pkg-config... (cached) pkg-config checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes checking pango/pango.h usability... yes checking pango/pango.h presence... yes checking for pango/pango.h... yes checking for glib_check_version in -lglib-2.0... yes checking glib.h usability... yes checking glib.h presence... yes checking for glib.h... yes checking for xmlParseFile in -lxml2... yes checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no checking for pkg-config... (cached) pkg-config checking for xmlParseFile in -lxml2... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes Prep for Building Language Bindings checking for perl... /opt/bin/perl checking for pod2man... /opt/bin/pod2man checking for pod2html... /opt/bin/pod2html checking for the perl version you are running... 5.8.8 checking for the C compiler perl wants to use to build its modules... arm-none-linux-gnueabi-gcc checking for arm-none-linux-gnueabi-gcc... /opt/bin/arm-none-linux-gnueabi-gcc checking Perl Modules to build... perl_piped perl_shared checking for ruby... no checking if ruby modules can be built... No .. Ruby not found or disabled checking for lua... no checking for gnroff... no checking for nroff... /opt/bin/nroff checking for groff... /opt/bin/groff Apply Configuration Information configure: creating ./config.status config.status: creating examples/shared-demo.pl gawk: ./confonBy5v/subs.awk:2: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# "" gawk: ./confonBy5v/subs.awk:2: ^ syntax error gawk: ./confonBy5v/subs.awk:3: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# "" gawk: ./confonBy5v/subs.awk:3: ^ syntax error ......truncated.....123 more lines gawk: ./confonBy5v/subs.awk:126: ^ syntax error gawk: ./confonBy5v/subs.awk:126: S["/; s/!.*/"]=AM_BACKSLASH!\%!_!# "\\" gawk: ./confonBy5v/subs.awk:126: ^ backslash not last character on line gawk: ./confonBy5v/subs.awk:126: S["/; s/!.*/"]=AM_BACKSLASH!\%!_!# "\\" gawk: ./confonBy5v/subs.awk:126: ^ syntax error config.status: error: could not create examples/shared-demo.pl It seems, that the record delimiter for gawk is not properly set. Can anybody help me? -- View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Installing-on-QNAP-TS109-ARMV5-config-status-Syntax-error-gawk-tp7580471.html Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
