HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Building HyPhy GUI in Ubuntu 11.10
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1331249262

Message started by jage on Mar 8th, 2012 at 3:27pm

Title: Building HyPhy GUI in Ubuntu 11.10
Post by jage on Mar 8th, 2012 at 3:27pm
Hi,

I'm having a little trouble building the GTK GUI for HyPhy on Ubuntu 11.10, and would appreciate some help.

I've got the libcurl4-gnutils-dev, libcrypto++, and libssl-dev libraries installed. I can cmake and then build with the MP2 target, but it can't find a GTK rule as suggested by the wiki (not mentioned on the README though).

I've tried running the gtk_build.sh script, but i get:


Linux
[: 26: Linux: unexpected operator
Checking for curl
curl_check.cpp:1:1: error: stray ‘#’ in program
curl_check.cpp:1:1: error: expected unqualified-id before ‘-’ token
Curl seems to be absent (setting up compiler options skip CURL code)

Any advice will be gratefully received :)

Cheers

Title: Re: Building HyPhy GUI in Ubuntu 11.10
Post by Sergei on Mar 9th, 2012 at 12:17pm
Hi there,

gtk_build.sh is really out of date, so I wouldn't use it. When you say that CMAKE does not find GTK, this is probably because you don't have gtk-devel libs installed. Try using apt-get to install gtk-devel and rerun cmake; see if that solves the issue.

Sergei

Title: Re: Building HyPhy GUI in Ubuntu 11.10
Post by jage on Apr 3rd, 2012 at 8:16pm
Sorry for the late response. I've periodically been attempting to get this running, no success as of yet.

my gtk situation:

ii    libgtk2-perl                    2:1.223-1build2
un  libgtk2-perl-doc               <none>
ii    libgtk2.0-0                      2.24.6-0ubuntu5
ii    libgtk2.0-bin                    2.24.6-0ubuntu5
ii    libgtk2.0-cil                     2.12.10-2ubuntu1
ii    libgtk2.0-common             2.24.6-0ubuntu5
ii    libgtk2.0-dev                    2.24.6-0ubuntu5

any further advice gratefully received :)


Title: Re: Building HyPhy GUI in Ubuntu 11.10
Post by Steven on Apr 4th, 2012 at 6:03pm
Greetings Jage,
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:
apt-get install libgtk2.0-dev

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

run:
HYPHYGTK

Enjoy

Title: Re: Building HyPhy GUI in Ubuntu 11.10
Post by joey0214 on Jun 10th, 2012 at 1:59am
hi,Steven
i got the same problem with Jage
i did as you said, but it still didn't work.
when i cmake .
error will be "Some or all of the gtk libraries were not found. (missing:  GTK2_GLIBCONFIG_INCLUDE_DIR) "

thanks in advances.

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