Closed zhangysh1995 closed 4 years ago
I followed the instructions but encountered the issue I mentioned in the last comment:
....
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 dependency style of gcc... gcc3
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
make: *** No targets specified and no makefile found. Stop.
configure.ac:19: installing './compile'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './depcomp'
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBPQXX... yes
checking for MONETDB_MAPI... no
checking for boostlib >= 1.20.0... yes
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
make: *** No targets specified and no makefile found. Stop.
ln: failed to create symbolic link 'src/sqlfuzz/sqlsmith': File exists
ln: failed to create symbolic link 'src/sqlfuzz/sqlsmith-prob': File exists
ln: failed to create symbolic link 'src/sqlmin/sqlparse/sqlparse': File exists
ln: failed to create symbolic link 'src/sqlmin/pg_format': File exists
Yushan, thanks for contacting us.
We released "premature" code because some users want to test Apollo shortly. As you suggested, we are planning to make Dockerfile but not this time though.
Jinho Jung
Hi all,
I read the
install-deps.sh
file, and I think it would be better to build the tool inside a container. For example,libboost-regex-dev
will make compilation of original header files unstable (from my experience). And also testing thesqlite3
fromapt
version will make the database unusable and unstable. For me I will only install the required headers forsqlite3
with apt and build the database separately.