LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-18-2016, 10:53 AM   #1
accrig
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: https://sourceforge.net/projects/lin...ar.gz/download). There is, however, a file named 'configure.ac'.

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, 11:19 AM   #2
bat999
LQ Newbie
 
Registered: Sep 2013
Location: UK
Distribution: Linux Mint 18 "Sarah" - Xfce (64-bit)
Posts: 29

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

Code:
$ cd ima-evm-utils-1.0
$ ./autogen.sh
$ ./configure
$ make

Last edited by bat999; 04-18-2016 at 11:22 AM.
 
1 members found this post helpful.
Old 04-18-2016, 11:29 AM   #3
accrig
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:
configure.ac:17: 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, 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 'Makefile.in'.

Code:
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: `Makefile.in'
Do you know where that file is supposed to be generated from?
 
Old 04-18-2016, 11:45 AM   #4
accrig
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.
 
  


Reply


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 03:07 AM
Automating the package configure script errors tanveer Linux - General 4 04-02-2011 12:29 AM
start up script(part 2) izghitu Ubuntu 1 01-02-2010 06:32 AM
Don't know how to configure & compile software from source Rissy Red Hat 2 05-17-2008 03:22 PM
Start a script after GDM autologin, don't quit when script finishes Plastech Linux - Newbie 2 05-29-2007 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 AM.

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