Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
linux compiling error (Read 3769 times)
flashtop
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 18
linux compiling error
Jul 21st, 2008 at 5:01am
 
hi guys

trying to compile Hyphy on Kubuntu I keep coming getting this error. the normal buil.sh works perfectly but the gtk_build.sh gives me this...

Sorry, I know it's fault on my side and not HYPHY's but I'm stumped!

root@flash-top:/home/flash/Jedi/hyphy/source/HYPHY_Source# sh gtk_build.sh MP
Linux
[: 26: ==: unexpected operator
Checking for curl
curl_check.cpp:1: error: stray ‘#’ in program
curl_check.cpp:1: error: expected unqualified-id before ‘-’ token
Curl seems to be absent (setting up compiler options skip CURL code)
+---------------------------------------+
|Building a multi-threaded HYPHYKernelMP|
+---------------------------------------+
COMPILER=g++, gcc
COMPILER_FLAGS= -w -c -O3 -D INTPTR_TYPE=long -fsigned-char -fpermissive -I/home/flash/Jedi/hyphy/source/HYPHY_Source/GUI -I/home/flash/Jedi/hyphy/source/HYPHY_Source/Source -I/home/flash/Jedi/hyphy/source/HYPHY_Source/Source/SQLite -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -D GDK_PIXBUF_ENABLE_BACKEND -D __HYPHY_GTK__  -D__HYPHY_NO_CURL__ -D __MP__
File HYNetInterface.cpp is up to date
File Net.cpp is up to date
File baseobj.cpp is up to date
Building batchlan.cpp
batchlan.cpp:42:31: error: HYConsoleWindow.h: No such file or directory
batchlan.cpp:43:25: error: HYDialogs.h: No such file or directory
batchlan.cpp:44:23: error: HYUtils.h: No such file or directory
batchlan.cpp:45:27: error: HYTreePanel.h: No such file or directory

and so on...
Back to top
 
 
IP Logged
 
flashtop
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 18
Re: linux compiling error
Reply #1 - Jul 21st, 2008 at 5:05am
 
uh, gordon btw
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: linux compiling error
Reply #2 - Jul 21st, 2008 at 11:04am
 
Dear Gordon,

$bash gtk_build.sh MP2

instead of

$sh ...

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
flashtop
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 18
Re: linux compiling error
Reply #3 - Jul 22nd, 2008 at 5:55am
 
haha can't believe that was it.

however...

File baseobj.cpp is up to date
Building batchlan2.cpp
batchlan2.cpp:43:27: error: HYUtils.h: No such file or directory
Error during compilation

btw, I am Dr. Konrad Sheffler's new MSc student and I need to get the gui up and running for my project. He was here this morning admiring ur pic.

Thanx a lot for the help Sergei, I really do appreciate it bucketloads

Gordon
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: linux compiling error
Reply #4 - Jul 22nd, 2008 at 2:51pm
 
Dear Gordon,

Check to see that the path to (HYPHYDirectory)/GUI is in the include path to gcc (-I) and that it has the file named HYUtils.h

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
flashtop
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 18
Re: linux compiling error
Reply #5 - Jul 30th, 2008 at 5:54am
 
Hi Sergei

yeah that was it. for some reason my HYPHY compilation had a /gui directory containing all the necessary files, but not a /GUI whilst the gcc compiler was looking for /GUI directory.

The program is now working fine except for some gtk error:
HYPHYMP_GTK:6349): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
which i'll sort out

Nonetheless it is compiled and working nicely

Thanx for all the help Cheesy

Keep well
Gordon
Back to top
 
 
IP Logged