Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Problem with bgm.cpp during installation (Read 2205 times)
AlexD
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 2
Problem with bgm.cpp during installation
Mar 2nd, 2010 at 10:26am
 
I have a problem during installation of release r797. I use the standard buildFromSVN.sh script:

Code:
$ ./buildFromSVN.sh

Linux
Checking for curl
Curl seems to be present
+-----------------------------------------------------------+
|Building a multi-threaded HYPHYKernelMP with setconcurrency|
+-----------------------------------------------------------+
COMPILER=g++, gcc
COMPILER_FLAGS= -w -c -fsigned-char -O3 -fpermissive -I/homes/bierdepot/alex/svn/hyphy/HYPHY/Source -I/homes/bierdepot/alex/svn/hyphy/HYPHY/Source/SQLite -D INTPTR_TYPE=long -D __UNIX__  -D _SLKP_LFENGINE_REWRITE_  -D __MP__ -D __MP2__ -fopenmp
Building baseobj.cpp
Complete
Building batchlan2.cpp
Complete
Building batchlan.cpp
Complete
Building bayesgraph2.cpp
Complete
Building bayesgraph.cpp
Complete
Building bgm2.cpp
Complete
Building bgm.cpp
bgm.cpp: In member function ‘virtual void Bgm::CacheNodeScores()’:
bgm.cpp:1957: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1970: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1987: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1998: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:3122: error: expected `}' at end of input
Error during compilation
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/homes/bierdepot/alex/svn/hyphy/HYPHY/GUI -I/homes/bierdepot/alex/svn/hyphy/HYPHY/Source -I/homes/bierdepot/alex/svn/hyphy/HYPHY/Source/SQLite -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/pixman-1 -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
Building baseobj.cpp
Complete
Building batchlan2.cpp
Complete
Building batchlan.cpp
Complete
Building bayesgraph2.cpp
Complete
Building bayesgraph.cpp
Complete
Building bgm2.cpp
Complete
Building bgm.cpp
bgm.cpp: In member function ‘virtual void Bgm::CacheNodeScores()’:
bgm.cpp:1957: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1970: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1987: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:1998: error: a function-definition is not allowed here before ‘{’ token
bgm.cpp:3122: error: expected `}' at end of input
Error during compilation
 



Code:
$ uname -a
Linux 2.6.27.41-170.2.117.fc10.i686.PAE #1 SMP Thu Dec 10 10:48:30 EST 2009 i686 i686 i386 GNU/Linux
 



any suggestions?

thanks, alex
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Problem with bgm.cpp during installation
Reply #1 - Mar 2nd, 2010 at 3:25pm
 
Hi Alex,

Try updating the SVN - there was an extraneous #endif in bgm.cpp which I committed to the repository by accident.

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
 
AlexD
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 2
Re: Problem with bgm.cpp during installation
Reply #2 - Mar 3rd, 2010 at 1:05am
 
Thanks a lot Sergei - problem solved!  Smiley

So long,
Alex
Back to top
 
 
IP Logged