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.