HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> linux compiling error http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1216641683 Message started by flashtop on Jul 21st, 2008 at 5:01am |
Title: linux compiling error Post by flashtop on 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... |
Title: Re: linux compiling error Post by flashtop on Jul 21st, 2008 at 5:05am
uh, gordon btw
|
Title: Re: linux compiling error Post by Sergei on Jul 21st, 2008 at 11:04am
Dear Gordon,
$bash gtk_build.sh MP2 instead of $sh ... Cheers, Sergei |
Title: Re: linux compiling error Post by flashtop on 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 |
Title: Re: linux compiling error Post by Sergei on 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 |
Title: Re: linux compiling error Post by flashtop on 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 :D Keep well Gordon |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |