Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-18-2016, 09:53 AM   #1
LQ Newbie
Registered: Apr 2016
Posts: 6

Rep: Reputation: Disabled
Question Need to compile ima-evm-utils, but the 'configure' script is not part of the package... don't know where to start.

I've compiled lots of programs from source, just run the configure script, then make, finally install. The instructions appear to be copypasted but I don't know where from.

In this case, the configure script does not exist in the tarball. (I downloaded it from the official project SF site: There is, however, a file named ''.

Am I supposed to be using autoconf? If so, can you point me to a document explaining where to start for a first-time autoconf user?

I'm trying to compile on raspbian, obviously for a raspberry pi. (Yes, I have gcc, make, etc. installed and no problem to compile other programs).
Old 04-18-2016, 10:19 AM   #2
LQ Newbie
Registered: Sep 2013
Location: UK
Distribution: Linux Mint 18 "Sarah" - Xfce (64-bit)
Posts: 29

Rep: Reputation: Disabled
Originally Posted by accrig View Post
... Am I supposed to be using autoconf?...
Inside the ima-evm-utils folder is a bash script "", you need to run that first.
It runs autoconf program for you to create the configure file.

$ cd ima-evm-utils-1.0
$ ./
$ ./configure
$ make

Last edited by bat999; 04-18-2016 at 10:22 AM.
1 members found this post helpful.
Old 04-18-2016, 10:29 AM   #3
LQ Newbie
Registered: Apr 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks, that was a useful tip and I moved ahead a bit. There were some errors, though:

Code: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
pi@raspberrypi ~/ima-evm-utils-1.0 $ ./configure 
configure: error: cannot find install-sh,, or shtool in "." "./.." "./../.."
I followed the tips in this thread so the files it was looking for were created, but it is still missing ''.

pi@raspberrypi ~/ima-evm-utils-1.0 $ ./configure 
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 build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
./configure: line 3748: AC_PROG_LIBTOOL: command not found
./configure: line 3750: LT_INIT: command not found
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... 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 for unistd.h... (cached) yes
checking openssl/conf.h usability... yes
checking openssl/conf.h presence... yes
checking for openssl/conf.h... yes
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking keyutils.h usability... yes
checking keyutils.h presence... yes
checking for keyutils.h... yes
checking whether to enable debug... yes
configure: creating ./config.status
config.status: error: cannot find input file: `'
Do you know where that file is supposed to be generated from?
Old 04-18-2016, 10:45 AM   #4
LQ Newbie
Registered: Apr 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Never mind, solved it by installing libtool (it appeared to be a macro name, I wouldn't have thought it was a package ).

Thanks for the useful answer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install a package in a particular location without a configure script? CentOS6.3User Linux - Software 1 01-19-2013 02:07 AM
Automating the package configure script errors tanveer Linux - General 4 04-01-2011 11:29 PM
start up script(part 2) izghitu Ubuntu 1 01-02-2010 05:32 AM
Don't know how to configure & compile software from source Rissy Red Hat 2 05-17-2008 02:22 PM
Start a script after GDM autologin, don't quit when script finishes Plastech Linux - Newbie 2 05-29-2007 10:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration