WikiData Import 2022-07-20
Jump to navigation
Jump to search
Import
Import | |
---|---|
edit | |
state | |
url | https://wiki.bitplan.com/index.php/WikiData_Import_2022-07-20 |
target | virtuoso |
start | 2022-07-20 |
end | |
days | |
os | |
cpu | |
ram | |
triples | |
comment |
Target:Virtuoso
- https://stackoverflow.com/questions/56768463/wikidata-import-into-virtuoso
- https://community.openlinksw.com/t/loading-wikidata-into-virtuoso-open-source-or-enterprise-edition/2717
- https://community.openlinksw.com/t/wikidata-snapshot-virtuoso-pago-ebs-backed-ec2-ami/3243
Installation
- http://vos.openlinksw.com/owiki/wiki/VOS/VOSUbuntuNotes
- http://vos.openlinksw.com/owiki/wiki/VOS
- https://github.com/openlink/virtuoso-opensource
- https://github.com/openlink/virtuoso-opensource/issues/820
git clone https://github.com/openlink/virtuoso-opensource
cd virtuoso-opensource
./autogen.sh
Checking build environment ...
Using aclocal (GNU automake) 1.16.1
Using autoconf (GNU Autoconf) 2.69
Using autoheader (GNU Autoconf) 2.69
Using automake (GNU automake) 1.16.1
Using libtoolize (GNU libtool) 2.4.6
Using bison (GNU Bison) 3.5.1
Using flex 2.6.4
Using GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)
Using GNU gperf 3.1
Using OpenSSL 1.1.1f 31 Mar 2020
Generating build scripts ...
Running libtoolize ...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'binsrc/config'.
libtoolize: copying file 'binsrc/config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'binsrc/config'.
libtoolize: copying file 'binsrc/config/libtool.m4'
libtoolize: copying file 'binsrc/config/ltoptions.m4'
libtoolize: copying file 'binsrc/config/ltsugar.m4'
libtoolize: copying file 'binsrc/config/ltversion.m4'
libtoolize: copying file 'binsrc/config/lt~obsolete.m4'
Running aclocal ...
Running autoheader ...
Running automake ...
Running autoconf ...
Please check the INSTALL and README files for instructions to
configure, build and install Virtuoso on your system.
Certain build targets are only enabled in maintainer mode:
./configure --enable-maintainer-mode ...
Bootstrap script completed successfully.
./configure
CFLAGS="-O2 -m64"
export CFLAGS
./configure --enable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
creating config.nice
checking for Virtuoso installation layout... default
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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for cpp... /usr/bin/cpp
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 library containing strerror... none required
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether char is unsigned... no
checking for long double with more range or precision than double... yes
checking size of char... 1
checking size of short... 2
checking size of unsigned... 4
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of char *... 8
checking size of void *... 8
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for bison... bison -y
checking for htmldoc... no
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex... /usr/bin/flex
checking for gawk... /usr/bin/gawk
checking for gperf... /usr/bin/gperf
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for ruby... ruby
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 the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-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... no
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 a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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 -m elf_x86_64) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
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 pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ptrdiff_t... yes
checking for tm_gmtoff in struct tm... yes
checking for tm_tzadj in struct tm... no
checking for t_open in -lnsl... no
checking for gethostbyname in -linet... no
checking for socket in -lsocket... no
checking for cos in -lm... yes
checking for working memcmp... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for strtok_r... yes
checking for ftruncate... yes
checking for fchmod... yes
checking for fsync... yes
checking for ftime... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for syslog... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for cwprintf... no
checking for fgetws... yes
checking for fputws... yes
checking for fwprintf... yes
checking for iswdigit... yes
checking for iswlower... yes
checking for iswspace... yes
checking for iswupper... yes
checking for putwc... yes
checking for putwchar... yes
checking for putws... no
checking for swprintf... yes
checking for swscanf... yes
checking for towlower... yes
checking for towupper... yes
checking for wcscasecmp... yes
checking for wcscat... yes
checking for wcschr... yes
checking for wcscmp... yes
checking for wcscpy... yes
checking for wcsdup... yes
checking for wcsicmp... no
checking for wcslen... yes
checking for wcsncasecmp... yes
checking for wcsncat... yes
checking for wcsncmp... yes
checking for wcsncpy... yes
checking for wcsnicmp... no
checking for wcsrchr... yes
checking for wcsstr... yes
checking for wexecvp... no
checking for wfopen... no
checking for wgetenv... no
checking for wperror... no
checking for wprintf... yes
checking for wtoi... no
checking for wtol... no
checking for wgetpass... no
checking for wgetpassphrase... no
checking for getpwnam... yes
checking for getgrnam... yes
checking for chmod... yes
checking for getpwuid... yes
checking for getgrgid... yes
checking for setuid... yes
checking for putenv... yes
checking for setenv... yes
checking for strerror... yes
checking for strdup... yes
checking for getrusage... yes
checking for memmove... yes
checking for memmem... yes
checking for memcpy... yes
checking for mkstemp64... yes
checking for mkstemp... yes
checking for strftime... yes
checking for stpcpy... yes
checking for clock_gettime... yes
checking for gethrtime... no
checking for sys_errlist... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... yes
checking for flock in <sys/file.h>... yes
checking whether #! works in shell scripts... yes
checking for long file names... yes
checking for restartable system calls... yes
configure: checking default compiler values...
checking for uuid_t... no
checking OpenSSL version... >= 0.9.8e
checking OpenSSL version... OpenSSL 1.1.1f 31 Mar 2020 is supported
checking usability of the OpenSSL header files and library in /usr... good
checking OpenLDAP library usability... bad. Check config.log for details
checking for xml2-config... no
checking for libxml - version >= 2.4.0... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
checking for mcs... no
checking for gmcs... no
checking for csc... no
checking proj4 library usability... bad. Check config.log for details
configure: WARNING: The proj4 plugin will not be build
checking geos library usability... bad. Check config.log for details
configure: WARNING: The geos plugin will not be build
checking shapefileio library usability... using internal library
checking for hslookup... notfound
configure: WARNING: The hslookup plugin will not be build
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for IM... no
checking for Wand-config... notfound
configure: WARNING: The ImageMagick plugin will not be build
checking WBXML2 library usability... bad. Check config.log for details
checking LZMA library usability... bad. Check config.log for details
checking BZ2 library usability... bad. Check config.log for details
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_attr_getstacksize... yes
checking for pthread_sigmask... yes
checking for pthread_rwlock_init... yes
checking for --with-libs... no
checking for --with-editline... no
checking for --with-readline... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlopen in -ldl... (cached) yes
checking for shl_load in -ldld... no
checking for iODBC location... .
checking for Java options... done
done
done
done
checking for OS specific configuration... (Linux)
checking for OS specific defines... (-Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE)
checking for system libs... -lm
Configured: xml ssl imsg pldebug shapefileio pthreads
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating binsrc/Makefile
config.status: creating docsrc/Makefile
config.status: creating libsrc/Makefile
config.status: creating binsrc/bpel/Makefile
config.status: creating binsrc/cached_resources/Makefile
config.status: creating binsrc/dav/Makefile
config.status: creating binsrc/dbpedia/Makefile
config.status: creating binsrc/driver/Makefile
config.status: creating binsrc/fct/Makefile
config.status: creating binsrc/hibernate/Makefile
config.status: creating binsrc/hosting/Makefile
config.status: creating binsrc/hosting/mono/Makefile
config.status: creating binsrc/hosting/mono/tests/Makefile
config.status: creating binsrc/hosting/geos/Makefile
config.status: creating binsrc/hosting/perl/Makefile
config.status: creating binsrc/hosting/php/Makefile
config.status: creating binsrc/hosting/proj4/Makefile
config.status: creating binsrc/hosting/python/Makefile
config.status: creating binsrc/hosting/ruby/Makefile
config.status: creating binsrc/hosting/shapefileio/Makefile
config.status: creating binsrc/isparql/Makefile
config.status: creating binsrc/jena/Makefile
config.status: creating binsrc/jena2/Makefile
config.status: creating binsrc/jena3/Makefile
config.status: creating binsrc/jena4/Makefile
config.status: creating binsrc/maildrop/Makefile
config.status: creating binsrc/mono/Makefile
config.status: creating binsrc/oat/Makefile
config.status: creating binsrc/rdf_mappers/Makefile
config.status: creating binsrc/rdb2rdf/Makefile
config.status: creating binsrc/rdf4j/Makefile
config.status: creating binsrc/rdf4j_4/Makefile
config.status: creating binsrc/redland/Makefile
config.status: creating binsrc/samples/demo/Makefile
config.status: creating binsrc/samples/hslookup/Makefile
config.status: creating binsrc/samples/image_magick/Makefile
config.status: creating binsrc/samples/JDBC/Makefile
config.status: creating binsrc/samples/Makefile
config.status: creating binsrc/samples/odp/Makefile
config.status: creating binsrc/samples/sparql_demo/Makefile
config.status: creating binsrc/samples/wbxml2/Makefile
config.status: creating binsrc/samples/webapp/Makefile
config.status: creating binsrc/samples/xpath/Makefile
config.status: creating binsrc/samples/xquery/Makefile
config.status: creating binsrc/sesame/Makefile
config.status: creating binsrc/sesame2/Makefile
config.status: creating binsrc/sesame3/Makefile
config.status: creating binsrc/sesame4/Makefile
config.status: creating binsrc/sqldoc/Makefile
config.status: creating binsrc/sync/Makefile
config.status: creating binsrc/tests/biftest/Makefile
config.status: creating binsrc/tests/dotnet/Makefile
config.status: creating binsrc/tests/Makefile
config.status: creating binsrc/tests/bsbm/Makefile
config.status: creating binsrc/tests/lubm/Makefile
config.status: creating binsrc/tests/oledb/Makefile
config.status: creating binsrc/tests/rdf/Makefile
config.status: creating binsrc/tests/suite/Makefile
config.status: creating binsrc/tests/suite/tpc-d/Makefile
config.status: creating binsrc/tests/tpcrun/Makefile
config.status: creating binsrc/tests/wb/Makefile
config.status: creating binsrc/tutorial/apps/Makefile
config.status: creating binsrc/tutorial/hosting/Makefile
config.status: creating binsrc/tutorial/Makefile
config.status: creating binsrc/tutorial/services/Makefile
config.status: creating binsrc/tutorial/web/Makefile
config.status: creating binsrc/tutorial/xml/Makefile
config.status: creating binsrc/vad/Makefile
config.status: creating binsrc/virtodbc/Makefile
config.status: creating binsrc/virtoledb/Makefile
config.status: creating binsrc/VirtuosoClient.Net/Makefile
config.status: creating binsrc/virtuoso/Makefile
config.status: creating binsrc/virtuoso_sink/Makefile
config.status: creating binsrc/vsp/Makefile
config.status: creating binsrc/vspx/Makefile
config.status: creating binsrc/ws/Makefile
config.status: creating binsrc/ws/wsrm/Makefile
config.status: creating binsrc/xddl/Makefile
config.status: creating binsrc/conductor/Makefile
config.status: creating docsrc/chm/Makefile
config.status: creating docsrc/docwiki/Makefile
config.status: creating docsrc/html_virt/Makefile
config.status: creating docsrc/images/Makefile
config.status: creating docsrc/pdf/Makefile
config.status: creating docsrc/releasenotes/Makefile
config.status: creating docsrc/styleguide/Makefile
config.status: creating docsrc/stylesheets/Makefile
config.status: creating docsrc/xmlsource/Makefile
config.status: creating libsrc/Dk/Makefile
config.status: creating libsrc/JDBCDriverType4/Makefile
config.status: creating libsrc/JDBCDriverType4/testsuite_4.0/Makefile
config.status: creating libsrc/JDBCDriverType4/virtuoso/jdbc/Makefile
config.status: creating libsrc/JDBCDriverType4/virtuoso/Makefile
config.status: creating libsrc/langfunc/Makefile
config.status: creating libsrc/odbcsdk/Makefile
config.status: creating libsrc/plugin/Makefile
config.status: creating libsrc/Thread/Makefile
config.status: creating libsrc/Tidy/Makefile
config.status: creating libsrc/util/Makefile
config.status: creating libsrc/Wi/Makefile
config.status: creating libsrc/Xml.new/Makefile
config.status: creating libsrc/zlib/Makefile
config.status: creating appsrc/Makefile
config.status: creating appsrc/ODS-Framework/Makefile
config.status: creating appsrc/ODS-Addressbook/Makefile
config.status: creating appsrc/ODS-Blog/Makefile
config.status: creating appsrc/ODS-Bookmark/Makefile
config.status: creating appsrc/ODS-Briefcase/Makefile
config.status: creating appsrc/ODS-Calendar/Makefile
config.status: creating appsrc/ODS-Community/Makefile
config.status: creating appsrc/ODS-Discussion/Makefile
config.status: creating appsrc/ODS-FeedManager/Makefile
config.status: creating appsrc/ODS-Gallery/Makefile
config.status: creating appsrc/ODS-Polls/Makefile
config.status: creating appsrc/ODS-WebMail/Makefile
config.status: creating appsrc/ODS-Wiki/Makefile
config.status: creating appsrc/ODS-Wiki/plugin/Makefile
config.status: creating libsrc/Dk/config.h
config.status: libsrc/Dk/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
Virtuoso Open Source Edition (Column Store) 7.2.8-dev configuration summary
===========================================================================
Installation variables
layout default
prefix /usr/local/virtuoso-opensource
exec_prefix ${prefix}
Installation paths
programs ${exec_prefix}/bin
include files ${prefix}/include
libraries ${exec_prefix}/lib
manual pages ${datarootdir}/man
vad packages ${datarootdir}/virtuoso/vad
database ${prefix}/var/lib/virtuoso/db
hosting ${exec_prefix}/lib/virtuoso/hosting
Options
BUILD_OPTS xml ssl imsg pldebug shapefileio pthreads
make and make install
make
sudo make install
start
cd /usr/local/virtuoso-opensource/var/lib/virtuoso/db
sudo /usr/local/virtuoso-opensource/bin/virtuoso-t -f&
...
10:27:41 uses parts of PCRE, Html Tidy
10:27:41 Database version 3126
10:27:41 SQL Optimizer enabled (max 1000 layouts)
10:27:42 Compiler unit is timed at 0.000143 msec
10:27:43 Roll forward started
10:27:43 Roll forward complete
10:27:43 Checkpoint started
10:27:43 Checkpoint finished, log reused
10:27:43 HTTP/WebDAV server online at 8890
10:27:43 Server online at 1111 (pid 4580)
Script
#!/bin/bash
# WF 2022-07-20
#
# check then needed software versions according to
# https://github.com/openlink/virtuoso-opensource
#
checkVersions() {
versions=$(cat << EOF
autoconf 2.57 2.69 --version autoconf
automake 1.19 1.16.1 --version automake
libtool 1.5 2.4.6 --version libtool-bin
flex 2.5.33 2.6.4 --version flex
bison 2.3 3.5.1 --version bison
gperf 3.0.1 3.1 --version gperf
gawk 3.1.1 5.0.1 --version gawk
m4 1.4.1 1.4.18 --version m4
make 3.79.1 4.2.1 --version make
openssl 0.9.8e 3.0.x version openssl
EOF
)
echo "$versions" | while read prog minversion maxversion version_opt package
do
echo "Checking $prog"
which $prog > /dev/null
if [ $? -ne 0 ]
then
echo "installing $prog from package $package"
sudo apt install -y $package
fi
# https://stackoverflow.com/questions/82064/a-regex-for-version-number-parsing
version=$($prog $version_opt | head -1 | egrep -o "[0-9]+\.([0-9]+)(\.[0-9]+)?" | head -1)
echo "$minversion <= $version <= $maxversion"
done
}
checkVersions
Checking autoconf 2.57 <= 2.69 <= 2.69 Checking automake 1.19 <= 1.16.1 <= 1.16.1 Checking libtool 1.5 <= 2.4.6 <= 2.4.6 Checking flex 2.5.33 <= 2.6.4 <= 2.6.4 Checking bison 2.3 <= 3.5.1 <= 3.5.1 Checking gperf 3.0.1 <= 3.1 <= 3.1 Checking gawk 3.1.1 <= 5.0.1 <= 5.0.1 Checking m4 1.4.1 <= 1.4.18 <= 1.4.18 Checking make 3.79.1 <= 4.2.1 <= 4.2.1 Checking openssl 0.9.8e <= 1.1.1 <= 3.0.x
Download wikidata dump
nohup wget https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.nt.gz&