LinuxQuestions.org
Visit Jeremy's Blog.
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 03-26-2014, 03:24 AM   #1
nerdofdarkness
LQ Newbie
 
Registered: Oct 2013
Posts: 28
Blog Entries: 1

Rep: Reputation: Disabled
Trying to use apt-get to find requirements for configure with Mylar


So I heard about Mylar and I was interested.

http://css.csail.mit.edu/mylar/#Publications

The website gave me the instructions:

Code:
 Play with Mylar! Download it using git, and then follow the instructions in README.md.

    git clone -b public git://g.csail.mit.edu/mylar

So I did the git clone and then the .md file said:


Code:
## Building
You'll need the following libraries to build Mylar:

- libreadline
- libgmp
- libpbc
- libcrypto++9




So I tried using apt-get and apt-cache and I think I installed libreadline-dev and libgmp-dev correctly.

Then I tried to get libpbc from git:

http://repo.or.cz/w/pbc.git

and the "git clone" command installed a new pbc directory.

But the pbc directory didn't have all the things I expected to find. It had an INSTALL file that said:


Code:
INSTALLING THE PBC LIBRARY
==========================

The PBC library needs the GMP library, which can be found at

    http://www.swox.com/gmp/

This build system has been tested and works on Linux and Mac OS X with a
fink installation.  You may need to specify paths via LDFLAGS and
CPPFLAGS if libraries are located in places other than the default
assumed in configure.ac.  See ./configure --help for more information.

./configure
make
make install
That looked encouraging, because I was pretty sure that libgmp would work as expected.

Well, the directory didn't have a "configure" script, it had a "configure.ac" script.

Since the directions said to try "./configure" I tried it and I got:

Code:
# ./configure
./configure: line 2175: AM_INIT_AUTOMAKE: command not found
./configure: line 2180: LT_INIT: command not found
./configure: line 2212: AC_LIBTOOL_WIN32_DLL: command not found
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
./configure: line 3038: AM_PROG_CC_C_O: command not found
checking how to run the C preprocessor... gcc -E
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."


So I guessed I probably had a lot of issues.

Right now I don't know whether I ought to fix the pbc issues first, or whether I ought to try to find libcrypto++9.

Either way, I don't know the next step to take.

Suggestions are welcome.

Last edited by nerdofdarkness; 03-26-2014 at 03:25 AM.
 
Old 03-27-2014, 01:27 PM   #2
paladin.michael
Member
 
Registered: Jun 2011
Location: Danbury, CT, USA
Distribution: Kubuntu, Slackware, Debian, FreePBX
Posts: 75

Rep: Reputation: 23
I found this site here: http://www.edwardrosten.com/code/autoconf/
which suggests it may be an autoconf file. Perhaps try

Quote:
autoconf configure.ac > configure
chmod +x configure
./configure
btw, libcrypto++9 is in the apt repositories under that name, shouldn't have an issue finding it.

EDIT: of course you'll probably need to install autoconf to try the above.

Last edited by paladin.michael; 03-27-2014 at 01:28 PM. Reason: additional information
 
1 members found this post helpful.
Old 03-27-2014, 08:24 PM   #3
nerdofdarkness
LQ Newbie
 
Registered: Oct 2013
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
That is a very good explanation of autoconf, and autoconf is needed to get past the next step. Thank you!

A note for anyone else trying to build Mylar - autoconf is necessary but not sufficient - there are many other steps and complications - my copy is not yet completely built.
 
  


Reply

Tags
apt-get


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
Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) chunglexury Linux - Server 2 08-02-2013 01:57 AM
checking for NM_UTILS... configure: error: Package requirements srijivdimri Linux - Newbie 3 07-04-2013 09:48 AM
Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) widget Debian 7 06-28-2011 04:21 PM
configure: error: Package requirements Sargalus Linux - Software 15 03-24-2010 03:13 PM
Can't Find Requirements For KStars AldebaranDanu Linux - Software 1 11-13-2002 02:06 AM

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

All times are GMT -5. The time now is 02:54 PM.

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