I'm new to this program (A Statistical Test Suite for Random and Pseudorandom Number Generators by NIST). So, can someone please help me with how to compile and run this program on Ubuntu?
Re: A Statistical Test Suite for Random and Pseudorandom Number Generators by NIST
Started by samkkk, May 08 2011 10:01 PM
5 replies to this topic
#1
Posted 08 May 2011 - 10:01 PM
|
|
|
#2
Posted 08 May 2011 - 10:20 PM
I've moved this to a new thread, try not to raise old threads to post an off topic question.
The application appears to have a make file, so as long as you have build-essentials package along with gcc you can simply type "make" to install the application in the current folder. You can then type "sudo make install" to install the application to the default application folder if required.
Do you know how to build an application like this?
The application appears to have a make file, so as long as you have build-essentials package along with gcc you can simply type "make" to install the application in the current folder. You can then type "sudo make install" to install the application to the default application folder if required.
Do you know how to build an application like this?
Edited by Alexander, 09 May 2011 - 12:52 AM.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 09 May 2011 - 01:04 AM
No I don't know how. can you please show me how?
I did type make Then I trid to run this command "sudo make install" But i got this message "No rule to make target 'install'"
forgave me
I did type make Then I trid to run this command "sudo make install" But i got this message "No rule to make target 'install'"
forgave me
#4
Posted 09 May 2011 - 01:10 AM
If you haven't already, you must install two packages of which give you a compiler and compiler tools to be able to build applications. You can type this in to your terminal:
This assumes (hopefully) you are not root and are your own user. You just type in your own password after the prompt and it should install.
You next must open the .tar file (or whichever format the NIST suite is in) and extract the folder to your desktop, or a temporary folder.
Inside the folder should be a file named "Makefile", this file contains a list of commands that your compiler tools will use to build the source application. It is how most Linux applications are installed (unless inside a package like .deb).
You must manually open a terminal and find the folder you have extracted (using the cd command to change directory, and ls command to list directories and files if you cannot find it) and type the following:
This will search for the file named Makefile in the current directory and execute all the commands, it should not take very long. It will create an executable named "assess" or similar (remember linux executables often have no extension), and you can run it by typing:
The pdf file that is on the page where the download is for the suite should give you all you need to know.
sudo apt-get install gcc build-essential
This assumes (hopefully) you are not root and are your own user. You just type in your own password after the prompt and it should install.
You next must open the .tar file (or whichever format the NIST suite is in) and extract the folder to your desktop, or a temporary folder.
Inside the folder should be a file named "Makefile", this file contains a list of commands that your compiler tools will use to build the source application. It is how most Linux applications are installed (unless inside a package like .deb).
You must manually open a terminal and find the folder you have extracted (using the cd command to change directory, and ls command to list directories and files if you cannot find it) and type the following:
make
This will search for the file named Makefile in the current directory and execute all the commands, it should not take very long. It will create an executable named "assess" or similar (remember linux executables often have no extension), and you can run it by typing:
./assess
The pdf file that is on the page where the download is for the suite should give you all you need to know.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 09 May 2011 - 01:45 AM
Thank you. It works
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









