LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2014, 06:19 AM   #1
abhi61918
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
revkit installation in ubuntu 12.10


I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed:

RevKit can be downloaded from the www.revkit.org website. Opening a Bash shell and assuming that the file revkit-1.3.tar.gz is in the current working directory, first the package needs to be unpacked:

tar xvfz revkit−1.3.tar . gz
cd revkit−1.3

Then, you can build the toolkit. The build process is divided into two scripts. First, the RevKit environment is created using the bootstrap script. Afterwards, the RevKit algorithms are built using the build script. This has the benefit of running the second script only if changes have been made on the algorithms but not on the environment. The bootstrap script should only be called once at the beginning. More precisely, first run the bootstrap script:

./make.py bootstrap

This will download and compile all dependencies automatically. For that purpose, compiling boost takes some time. If you already have installed boost using the distribution’s package manager, the option -DBOOST PATH can be used to specify its path, e.g. -DBOOST PATH=/usr. Alternatively you can specify the boost include and libs path separately by using –boost, –boost-include-dir and –boost-lib-dir as arguments. Please make sure that your version of boost satisfies the requirements. After bootstrapping the environment, the build script needs to be executed. To run this script manually call:

./make.py build

This will build the whole RevKit suite including the core, algorithms, examples, and the Python bindings. The Python bindings enable the CLI to use RevKit like a shell. If the system cannot build the Python bindings or if they are not needed, they can be deactivated by calling:

./make.py build −DBUILD BINDINGS=OFF

instead. Further packages which are not available in the distribution’s package manager (e.g. CUDD or PUMA) are downloaded and installed automatically from the bootstrap script. Boost is also required and will be downloaded and installed by default.

The build script must be called at least once. Afterwards, the sources only need to be compiled again if local changes have been performed. Alternatively, the program make can be executed manually by calling:

make

in the build directory. The build script also provides the options of enabling and disabling the compilation of unstable and example algorithms by using the parameters -DBUILD UNSTABLE and -DBUILD EXAMPLES.

if this is correct an gui window should open in the following instructions which am not able to see:

4.1. RevKit Graphical User Interface The RevKit Graphical User Interface enables the creation and execution of customized design processes to be executed. Therefore, a GUI is utilized where the respective tasks can easily be put together by means of item blocks connected to a graph. Each item performs an operation and may have ports for the respective input parameters and output results. Input ports can be connected to output ports forming a channel when they support the same data types. In order to start the RevKit Graphical User Interface, the following command has to be invoked from within the root directory of RevKit:

./tools/gui/gui.py

I was able to do the first 2 instructions, but after that I am unable to follow what has to be done, i.e. the instructions relating to the bootstrap script. Can anyone tell me what exactly needs to be done? basically i need to get to the gui interface which am unable to do

i'm getting the following error in the bootstrap cmd:

Building CXX object core/CMakeFiles/revkit_core.dir/pattern.cpp.o
In file included from /home/server/Desktop/Downloads/revkit-1.3/src/core/gate.cpp:18:0:
/home/server/Desktop/Downloads/revkit-1.3/src/core/gate.hpp:31:25: fatal error: boost/any.hpp: No such file or directory
compilation terminated.
/home/server/Desktop/Downloads/revkit-1.3/src/core/pattern.cpp:20:39: fatal error: boost/assign/std/vector.hpp: No such file or directory
compilation terminated.
make[2]: *** [core/CMakeFiles/revkit_core.dir/pattern.cpp.o] Error 1
make[2]: *** [core/CMakeFiles/revkit_core.dir/gate.cpp.o] Error 1
make[1]: *** [core/CMakeFiles/revkit_core.dir/all] Error 2
make: *** [all] Error 2
server@ubuntu:~/Desktop/Downloads/revkit-1.3$ make
make: *** No targets specified and no makefile found. Stop.
server@ubuntu:~/Desktop/Downloads/revkit-1.3$





edit:
just had a successful run of both bootstrap and build commands
however getting the following error in the last make command:

[100%] Built target revkit_python
creating symlinks
/home/server/Downloads/revkit-1.3/build/bindings/revkit_python.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=0x9412114d62e7c6d9a33d145464658cfcc50ca57b, not stripped
/home/server/Downloads/revkit-1.3/src/bindings/revkit.py: Python script, ASCII text executable
/home/server/Downloads/revkit-1.3/src/bindings/revkitui.py: Python script, ASCII text executable
/home/server/Downloads/revkit-1.3/src/bindings/revkitmath.py: Python script, ASCII text executable
server@ubuntu:~/Downloads/revkit-1.3$ make
make: *** No targets specified and no makefile found. Stop.
server@ubuntu:~/Downloads/revkit-1.3$


what is the problem here????

plzzz help. thanx



2nd edit:
ran both the bootstrap and make commands however the gui interface is not opening after executing gui.py cmd:

server@ubuntu:~/Downloads/revkit-1.3$ ./tools/gui/gui.py
Traceback (most recent call last):
File "./tools/gui/gui.py", line 143, in <module>
w = MainWindow()
File "./tools/gui/gui.py", line 73, in __init__
self.setupTools()
File "./tools/gui/gui.py", line 102, in setupTools
import items.unstable
ImportError: No module named unstable
server@ubuntu:~/Downloads/revkit-1.3$


plz need urgent help!!

Last edited by abhi61918; 06-12-2014 at 08:08 AM.
 
Old 06-14-2014, 06:44 PM   #2
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 514
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by abhi61918 View Post
/core/gate.hpp:31:25: fatal error: boost/any.hpp: No such file or directory
Code:
apt-get install libboost-all-dev
Quote:
plz need urgent help!!
I got that from the double exclamation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu After Install - Automated installation of useful extra software on Ubuntu LXer Syndicated Linux News 1 04-08-2013 09:12 PM
[SOLVED] how to install xubuntu , kubuntu , lubuntu , ubuntu in one installation of ubuntu unkn(0)wn Linux - Newbie 6 12-11-2011 06:18 PM
help me in mail server installation in ubuntu, postfix installation nidhinvsk General 1 04-13-2011 03:38 AM
Jolicloud installation seems to have wiped out existing Ubuntu installation gargleblaster Linux - Software 1 12-11-2009 07:57 AM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 09:54 AM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration