LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2013, 12:30 PM   #1
rkverma25
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
how to utilize make.py


hi everyone,
i've ubuntu 13.04 64 bit, i've downloaded an open source program for use in my study.
it includes
doc helpers make.py src
log scripts tools

how should i convert it to working program

thanks in advance
 
Old 09-20-2013, 12:38 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
knowing what the "open source program" is would certainly help

but try

Code:
cd "/path/to/open source program/"
./make.py
 
Old 09-21-2013, 09:38 AM   #3
rkverma25
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
did that....

Quote:
Originally Posted by Firerat View Post
knowing what the "open source program" is would certainly help

but try

Code:
cd "/path/to/open source program/"
./make.py
~/Downloads/revkit-1.3$ ./make.py
couldn't parse arguments. Try ./make.py -h
ravi@ravi-ji:~/Downloads/revkit-1.3$ ./make.py -h
valid scripts are: bootstrap, build, clean
- bootstrap: initializes the revkit directory and libraries
- build: builds the algorithms
- clean: cleans the revkit directory
Take a look at doc/README for further information.
ravi@ravi-ji:~/Downloads/revkit-1.3$ ./make.py build
init
Sat Sep 21 18:37:12 TFT 2013 /home/ravi/Downloads/revkit-1.3/scripts/build param:
-DBUILD_BINDINGS=ON -DBUILD_UNSTABLE=ON
you should run bootstrap.sh first. Run it now? y/n
y
/home/ravi/Downloads/revkit-1.3/scripts/build: line 98: bootstrap.sh: No such file or directory
 
Old 09-21-2013, 10:45 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

* How to build "revkit-1.3" : See revkit-1.3/doc/README

1) $ python make.py bootstrap
2) $ python make.py build

Please also read revkit-1.3/doc/users/revkit_user_manual.pdf

-

Last edited by knudfl; 09-21-2013 at 10:52 AM.
 
Old 09-21-2013, 09:19 PM   #5
rkverma25
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
i've done that....but without any result.....i'm still confused.....pls see the output from the terminal as below
./make.py build
init
Sun Sep 22 06:18:15 TFT 2013 /home/ravi/Downloads/revkit-1.3/scripts/build param:
-DBUILD_BINDINGS=ON -DBUILD_UNSTABLE=ON
you should run bootstrap.sh first. Run it now? y/n
y
/home/ravi/Downloads/revkit-1.3/scripts/build: line 98: bootstrap.sh: No such file or directory
 
Old 09-22-2013, 12:04 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 : Please do not run `./make.py build' when `./make.py bootstrap' fails.

Did you install all the prerequisites ? ?
See revkit-1.3/doc/README , line 13, REQUIREMENTS.
These are the requirements for Ubuntu 13.04 : $ sudo apt-get install \
build-essential cmake python-all-dev ipython python-qt4 python-numpy \
git libbz2-dev zlib1g-dev libboost-all-dev

I.e. the "bootstrap" will not work if e.g. 'git' isn't installed.
! The error output from `./make.py bootstrap' will say :
No git found , etc. etc.

This is what './make.py bootstrap' will do :
a) Automatically download boost-1_51_0, and build the 40 boost libraries.
... Boost build time : About 15 minutes.
b) Also automatically downloaded and built are :
cudd-2.5.0.tar.gz, fmi-0.3.tar.gz, puma-2.23.tar.gz

*** Important note :
Every time things fail, please start from scratch,
with a new unpacked revkit-1.3.tar.gz !

-
 
Old 06-12-2014, 07:15 AM   #7
abhi61918
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
error in ./make.py bootstrap

i am getting this 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$



plzz help
 
Old 06-12-2014, 08:27 AM   #8
abhi61918
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
revkit

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????
 
Old 06-12-2014, 09:09 AM   #9
abhi61918
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
revkit

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!!
 
  


Reply

Tags
revkit


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
[SOLVED] How to utilize Clonezila uk.engr Linux - Newbie 20 07-25-2012 02:42 PM
how to utilize 2 connections at once? rabbit2345 Linux - Networking 1 09-13-2010 04:05 AM
[SOLVED] how to utilize multiple ext. ip adam7979 Linux - Networking 14 01-11-2010 01:45 AM
Utilize passphrase created smallbook Linux - Security 9 01-28-2008 04:05 AM
utilize 4gb of ram cynick Linux - General 2 04-20-2006 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:33 PM.

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
Open Source Consulting | Domain Registration