Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Installing Mauve
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
idiv0
n00b
n00b


Joined: 02 Nov 2014
Posts: 6

PostPosted: Fri Nov 28, 2014 3:56 am    Post subject: HOWTO: Installing Mauve Reply with quote

There are 2 ways to install Mauve (http://asap.genetics.wisc.edu/software/mauve/overview.php).
  • A tar.gz from the website containing everything you need including static binaries.
  • A hardmasked package from portage.


The portage version has advantages being the latest version. This guide is how to install Mauve using portage.


Step 1: getting mauvealigner to compile.
Mauve aligner wants to compile a static binary so you have to make sure dev-libs/boost is compiled with the static-libs and threads USE flag.
The build references a few -mt (multi threaded) libraries. While the dynamic libraries are symlinked from the -mt filename to the one without, this is not the case with the static ones. Make sure you have the following symlinks on your system:
Code:
/usr/lib/libboost_filesystem-mt.a -> libboost_filesystem.a
/usr/lib/libboost_iostreams-mt.a -> libboost_iostreams.a
/usr/lib/libboost_program_options-mt.a -> libboost_program_options.a
/usr/lib/libboost_system-mt.a -> libboost_system.a



Step 2: getting mauve to compile.
The ebuild needs to be modified to add more items to the Java CLASSPATH. I copied mauve-9999.ebuild to mauve-10000.ebuild and made changes there.
The following needed to be added in EANT_GENTOO_CLASSPATH: commons-cli-1,goose,ant-core. The result:
Code:
EANT_GENTOO_CLASSPATH="biojava,zeus-jscl,dbus-java,commons-cli-1,goose,ant-core"

You can check what you have installed with:
Code:
java-config --list-available-packages

Unfortunately, the java goose library is not available in portage. A copy is available in the checked out source under the "ext" folder though.
You can copy goose.jar from the svn-src to /usr/share/goose/lib/goose.jar.
The final step is adding the package.env file to /usr/share/goose/package.env. I copied a template using /usr/share/biojava/package.env.
Make sure that package.env contains the correct CLASSPATH variable:
Code:
CLASSPATH="/usr/share/goose/lib/goose.jar"

There won't be a hash for mauve-10000.ebuild so install it with the --digest emerge parameter.


Caution: You may run into issues running both versions at the same time. Running the older binary version first, then the new one and opening the console via menu which was first opened by the other version may cause a crash.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum