build sqlsmith autoreconf: 'configure.ac' or 'configure.in' is required - configure

I followed the instructions to install sqlsmith
One of the libraries installation instructions are
brew install libpqxx automake libtool autoconf autoconf-archive pkg-config
cd sqlsmith
autoreconf -i # Avoid when building from a release tarball
./configure
make
I have a problem at
autoreconf -i
the error is
autoreconf: 'configure.ac' or 'configure.in' is required
But when I install autoreconf, I have the newest version.
autoconf is already the newest version (2.69-9).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
What could be wrong?

Related

PCRE2 not found in Mac

I have installed pcre2 version 10.37 by downloading the tar file and doing
./configure
make
sudo make install
When I run
pcre2 --version
or
which pcre2
In the terminal, I get command not found.
I am building my project that needs "pcre2" to compile successfully but after running "make" in the project directory I get the following:
ERROR! pcre2 library not found, go get it
from www.pcre.org. Or from packages:
Debian/Ubuntu: apt install libpcre2-dev
Fedora: dnf install pcre2-devel
CentOS/RHEL: yum install pcre2-devel
make: *** [config.status] Error 1
I can find the following files in /usr/local/lib/

How to install hadoop user environment (HUE) in Raspberry Pi-3?

When hue install on Raspberry pi ,get error .
/usr/local/hue-4.1.0/Makefile.sdk:120: recipe for target '/usr/local/hue-
4.1.0/desktop/core/build/cryptography-1.3.1/egg.stamp' failed
make[2]: *** [/usr/local/hue-4.1.0/desktop/core/build/cryptography-
1.3.1/egg.stamp] Error 1
make[2]: Leaving directory '/usr/local/hue-4.1.0/desktop/core'
Makefile:70: recipe for target '.recursive-env-install/core' failed
make[1]: *** [.recursive-env-install/core] Error 2
make[1]: Leaving directory '/usr/local/hue-4.1.0/desktop'
Makefile:73: recipe for target 'desktop' failed
make: *** [desktop] Error 2
I use Jessie as the new openssl libs in Stretch cause compile problems with Hadoop, so specifically this release:
http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-07-05/
You'll need to install the build dependencies, I use these (but they do include all the ones need for hadoop compilation too, so you could slim it down quite a bit)
apt-get install oracle-java8-jdk maven build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libfuse-dev libsnappy-dev libsnappy-java libbz2-dev python-dev libsasl2-dev libxml2-dev libxslt-dev libkrb5-dev libffi-dev libldap2-dev libmysqlclient-dev libsqlite3-dev libgmp3-dev libssl-dev
Then download, unpack and build hue 3.11.0
wget http://gethue.com/downloads/releases/3.11.0/hue-3.11.0.tgz
tar -zxvf hue-3.11.0.tgz
cd hue-3.11.0
make apps
I've tested this with 3.11, 3.12, 4.1 and 4.2 using the same build environment on the Pi-3.
If you are looking to build a full hadoop environment on the pi you might want to look at hadoopi:
https://github.com/andyburgin/hadoopi
The README has all the instructions on building and configuring a bunch of hadoop components in addition to Hue.
Andy

ejabberd installation issue for mac

I am installing ejabberd by using source code. I have take the clone from git : https://github.com/processone/ejabberd.git. and followed steps:
Git: brew install git
Erlang /OTP: brew install erlang
Autoconf: brew install autoconf
Automake: brew install automake
Openssl: brew install openssl
Expat: brew install expat
Libyaml: brew install libyaml
Libiconv: brew install libiconv
Sqlite: brew install sqlite
chmod +x autogen.sh
./autogen.sh
export LDFLAGS="-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/local/opt/expat/lib"
export CFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"
export CPPFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"
./configure --prefix=$HOME/my-ejabberd --enable-mysql
make
above command is working correctly. but "sudo make install" have the problem.
Configuration files
/usr/bin/install -c -d -m 750 -g pravin //etc/ejabberd
install: pravin: Invalid argument
make: *** [install] Error 67
Please help me.
Thanks in advance.
just brew install ejabberd for current release or brew install ejabberd --HEAD to install current git master HEAD

brew install gcc49 on OS X 10.10 (Unable to find a usable ISL)

When I try to install gcc49, I receive an error
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/gcc49.rb
######################################################################## 100.0%
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc49-4.9.3.tar.bz2
==> ../configure --build=x86_64-apple-darwin14.5.0 --prefix=/usr/local/Cellar/gcc49/4.9.3 --libdir=/usr/local/Cellar/gcc49/4.9.3/lib/gcc/4.9 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.9 --w
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
checking for version 0.12 of ISL... no
checking for version 0.14 of ISL... no
configure: error: Unable to find a usable ISL. See config.log for details.
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
READ THIS: https://git.io/brew-troubleshooting
However, I do have ISL:
$ brew info isl
isl: stable 0.14.1 (bottled), HEAD
Integer Set Library for the polyhedral model
http://freecode.com/projects/isl
/usr/local/Cellar/isl/0.14.1 (68 files, 3.2M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/isl.rb
==> Dependencies
Build: xz ✔
Required: gmp ✔
I do not know where is the config.log located.
The correct way to install GCC 4.9 is to use
$ brew install homebrew/versions/gcc49
This way Homebrew will correctly resolve the missing dependencies and install them for you. You can find this version of gcc (or any other) using
$ brew search gcc49
homebrew/versions/gcc49
or
$ brew search gcc
gcc homebrew/versions/gcc47
homebrew/dupes/apple-gcc42 homebrew/versions/gcc48
homebrew/versions/gcc43 homebrew/versions/gcc49
homebrew/versions/gcc44 homebrew/versions/gcc5
homebrew/versions/gcc45 homebrew/versions/llvm-gcc28
homebrew/versions/gcc46
However, the dependency you are missing is not isl but isl011. You can install it with
$ brew install isl011
We can see that this is a dependency of gcc49 with
$ brew info gcc49
==> Dependencies
Required: gmp4 ✔, libmpc08 ✔, mpfr2 ✔, cloog018 ✔, isl011 ✔
The problem is caused by updated Xcode. Need run : "$ xcode-select --install"

How can I upgrade to Autoconf 2.6.2 or higher on Mac OS X 10.6?

My environment is Mac OS X 10.6. I have installed Autoconfig using MacPorts:
sudo port -v selfupdate
sudo port install autoconf
But the autoconf installed is 2.6.1.
My question is how can I upgrade it to 2.6.2?
The program I am trying to compile need autoconf 2.6.2
configure.ac:14: error: Autoconf version 2.62 or higher is required
/opt/local/share/aclocal-1.11/init.m4:110: AM_INIT_AUTOMAKE is expanded from...
configure.ac:14: the top level
autom4te: /Developer/usr/bin/gm4 failed with exit status: 63
aclocal-1.11: autom4te failed with exit status: 63
make[1]: *** [libmpeg2] Error 63
I usually do not bother installing any of the autotools on the system, but install them in $HOME instead. Just grab the autoconf tarball from http://ftp.gnu.org/gnu/autoconf/, unpack it and run:
./configure --prefix=$HOME
make
make install
Make sure $HOME/bin is in your PATH before the system dir, or uninstall autoconf from the system.

Resources