sslab-gatech / apollo

A toolchain for automatically detecting, reporting, and diagnosing performance bugs in DBMSs.
68 stars 13 forks source link

configure: error: Could not find a version of the Boost::Regex library! #3

Closed zhangysh1995 closed 4 years ago

zhangysh1995 commented 4 years ago

Hi, I still cannot compile the code. I've run the scripts and installed the packages with apt:

....
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
apollo@8c0ed6dc05f4:/$ sudo apt install libboost-regex-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-regex-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Could I know which version you are using?

jinhojun commented 4 years ago

We launched fuzzing on Ubuntu 16.04 and 18.04. This is our version of libboost-regex-dev.

  1. Ubuntu 16.04.6

$ sudo apt install libboost-regex-dev

Reading package lists... Done Building dependency tree Reading state information... Done libboost-regex-dev is already the newest version (1.58.0.1ubuntu1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-161 linux-headers-4.4.0-161-generic linux-image-4.4.0-161-generic linux-modules-4.4.0-161-generic linux-modules-extra-4.4.0-161-generic linux-tools-4.4.0-161 linux-tools-4.4.0-161-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.

  1. Ubuntu 18.04.3

$ sudo apt install libboost-regex-dev

Reading package lists... Done Building dependency tree Reading state information... Done libboost-regex-dev is already the newest version (1.58.0.1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 352 not upgraded.

zhangysh1995 commented 4 years ago

Thank you.