HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> problem installing hyphy in scientific linux 5.4
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1333555771

Message started by Rosz on Apr 4th, 2012 at 9:09am

Title: problem installing hyphy in scientific linux 5.4
Post by Rosz on Apr 4th, 2012 at 9:09am
Hi all,

I've just started working with molecular evolution and Hyphy is really new to me as well. Unfortunately I'm neither a linux expert too. Running REL on my windows xp machine on just 36 sequences takes ages to finish. So I'm hoping that the linux version will speed thing up. However, I'm struggling with the installation. Basically I used git to download hyphy and did the following:

$ cmake -DINSTALL_PREFIX=/nfs_netapp2/myusername/hyphy
$ make MP2  #This seemed to run fine
$ make GTEST  #This also seemed to run fine

However when I tried to make the target LIB I got the following error:
...
make[3]: *** [CMakeFiles/hyphy_mp.dir/src/core/batchlanruntime.cpp.o] Error 1
make[2]: *** [CMakeFiles/hyphy_mp.dir/all] Error 2
make[1]: *** [CMakeFiles/LIB.dir/rule] Error 2
make: *** [LIB] Error 2

I'm also having problem installing the GUI version. I did the followings but both ran into errors:

$ make GTK
make: *** No rule to make target `GTK'.  Stop.

$ scripts/gtk_build.sh MP2
Linux
Checking for curl
Curl seems to be present
+-----------------------------------------------------------+
|Building a multi-threaded HYPHYKernelMP with setconcurrency|
+-----------------------------------------------------------+
COMPILER=g++, gcc
COMPILER_FLAGS= -w -c -O3 -D INTPTR_TYPE=long -fsigned-char -fpermissive -I/nfs_netapp2/hzen/bin/software/hyphy/GUI -I/nfs_netapp2/hzen/bin/software/hyphy/Source -I/nfs_netapp2/hzen/bin/software/hyphy/Source/SQLite -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -D GDK_PIXBUF_ENABLE_BACKEND -D __HYPHY_GTK__ -D _SLKP_LFENGINE_REWRITE_  -D __MP__ -D __MP2__ -fopenmp
scripts/gtk_build.sh: line 148: cd: Source: No such file or directory
Building *.cpp
g++: *.cpp: No such file or directory
g++: no input files
Error during compilation

In addition, when I ran the gtest I also got one failed error message which I don't understand:

$ ./HYPHYGTEST
...
[  FAILED  ] 1 test, listed below:
[  FAILED  ] StringTest.AppendAnAssignmentToBufferTest


I'll appreciate any help with my installation problem.

Thank you.

Title: Re: problem installing hyphy in scientific linux 5.4
Post by Steven on Apr 4th, 2012 at 6:07pm
Greetings Rosz,

Please check out from git.

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

Make sure you have GTK libraries installed:
yum install gtk2-devel

cd into your hyphy directory:
cmake .
make HYPHYGTK
make install

run:
HYPHYGTK

We have not tested with Scientific Linux, if there are further issues, please let us know and we will take a further look.

Title: Re: problem installing hyphy in scientific linux 5.4
Post by Rosz on Apr 5th, 2012 at 6:51am
Hi Steven,

Thanks for the help. Pulling down the latest update has now allowed me to install the GUI version. However, when I tried to run CodonBivariateRateProcessor.bf, it gave the following errors and nothing happened after that:

** (HYPHYGTK:31988): WARNING **: Invalid borders specified for theme pixmap:
        /nfs_netapp2/hzen/bin/software/hyphy/lib/hyphy/GTKResources/theme/entry1.png,
borders don't fit within the image


HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.