Pham Ngoc Hai personal web site

Syndicate

AVISPA, SPAN on Gentoo
 
Written by Pham Ngoc Hai, on 25-11-2007 19:46

How to install AVISPA, SPAN on Gentoo

So far, AVISPA is not in the portage tree (of course) and there's no overlay that has this app. So you have to download the app from AVISPA web site http://www.avispa-project.org

AVISPA is only available as precompiled 32bits bianary, so you have no choice but to download and install it manually (you need to register to download).

Once downloaded, just extract it to a directory your home:

cd ~

tar xvzf avispa-package-1.1_Linux-i686.tgz


The precompiled 32bits SPAN does not work on x86_64 arch, if you run it, you will get something like:

./span: error while loading shared libraries: libtk8.4.so: wrong ELF class: ELFCLASS64

Then you have to build it

To build SPAN, you'll need dev-lang/tk and dev-lang/ocaml, so emerge them:

emerge -av dev-lang/tk dev-lang/ocaml

Now you need to get SPAN from here http://www.irisa.fr/lande/genet/span/span-1.1-source.tar.gz

Put it somewhere you can remember, for example ~/Desktop 

Now extract span to a directory, let's say ~/

cd ~

tar xvzf span-1.1-source.tar.gz


You'll have a dicrectory named span

cd span

make

If it complains, then you need to set following environment variable:

export AVISPA_PACKAGE=~/avispa-1.1

export SPAN=~/span


Once compiled, you're ready to run SPAN:

./span

If span cannot find OFMC, ATSE, TA4SP... libs or config files, just copy the respective directories and files from ~/avispa-1.1/bin/backends to ~span/bin/backends

 

I'll make an ebuild for SPAN once I have time.


Last update: 15-03-2008 09:17

Published in : Computer stuff, Gentoo
Keywords : AVISPA, SPAN, Gentoo, build, source
Quote this article in website Favoured Print Send to friend Related articles Save this to del.icio.us

Users' Comments (0) RSS feed comment

No comment posted

Add your comment



mXcomment 1.0.9 © 2007-2012 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev


Search

Calendar

 Jan   February 2012   Mar

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
26272829 
SVTechie ESL

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai