Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac:8: error: possibly undefined macro: AC_PROG_LIBTOOL #58

Closed
kumarsaurabh20 opened this issue Oct 6, 2016 · 10 comments
Closed

Comments

@kumarsaurabh20
Copy link

I was trying to compile KAT on a ubuntu distribution (Linux minerva 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux) and came across the following error:

ks575:~/software/KAT/KAT$ ./autogen.sh autoreconf: Entering directory.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory deps/jellyfish-2.2.0 to autoreconf
autoreconf: Entering directory deps/jellyfish-2.2.0' autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: not using Libtool autoreconf: running: /home2/ISAD/ks575/software/KAT/autoconf-2.69/build/bin/autoconf --force configure.ac:8: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /home2/ISAD/ks575/software/KAT/autoconf-2.69/build/bin/autoconf failed with exit status: 1

Any idea how to get over it?
Thanks

@maplesond
Copy link
Collaborator

Hello,

Do you have libtool installed? You can type "which libtool" at the commandline to check.

Best regards,
Dan

@maplesond
Copy link
Collaborator

Also, you can bypass the configuration script generation step by downloading the latest release distributable here: https://github.com/TGAC/KAT/releases/download/Release-2.1.1/kat-2.1.1.tar.gz

@kumarsaurabh20
Copy link
Author

yes it is installed

@kumarsaurabh20
Copy link
Author

Many thanks for the new link. It worked, however when I run the kat binary, I get the following:

ks575:~/software/KAT/kat-2.1.1/build/bin$ ./kat Throw location unknown (consider using BOOST_THROW_EXCEPTION) Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::logic_error> > std::exception::what: character conversion failed
cant understand If I have a faulty Boost installation?

@maplesond
Copy link
Collaborator

See issue #57 . This is a puzzle. I can only reproduce this issue using linuxbrew on my machine, which does use a different boost installation that my current system installation. When you run configure do you supply the "--with-boost=" option to explicitly specify the boost directory or do you rely on your system installation? I would suggest downloading the latest boost version and installing to a separate directory, then use the configuration option described above. You can look into the .travis/install.sh file in the KAT installation to get an idea for how to do this. If it works please let me know. I'd like to try and get to the bottom of this problem.

@kumarsaurabh20
Copy link
Author

Hi Dan,

Installing boost at custom location worked. Now kat also working perfectly (./kat --help/--version)

Many thanks for your replies.

Kumar

@maplesond
Copy link
Collaborator

Great. I'll have to try an figure out what's causing some versions of boost to behave strangely. Did you get your original version from apt-get?

@kumarsaurabh20
Copy link
Author

yes

@maplesond
Copy link
Collaborator

I've tried using the boost from apt-get and it works fine for me. I'm not fully sure what caused the original problem but I haven't been able to reproduce and seeing as there is a workaround in place, I'm closing this case.

@gorliver
Copy link

Hi Dan,
I meet the same issue when install the 2.4.1 version. The libtool is installed. I can send you the configure.ac is necessary.
Thank you!
Gorliver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants