cd path-to-software/Once in the directory, run the following command:
./configure"./configure" will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package.
If you're doing this on a Mac and you get a missing "c compiler" type error then you probably just need to install Xcode's command line tools package. To do so, simply open Xcode, go to preferences then downloads. There is an "Install" link to add the command line tools. Once this has been completed, make sure to re-open your terminal window.
Then run:
make"make" will compile all the source files into executable binaries.
The purpose of the make utility is to determine automatically which pieces of a large program need to be recompiled, and issue the commands to recompile them.
Then run:
sudo make installFrom the documentation, "make install" will copy the executable file into a directory that users typically search for commands; copy any auxiliary files that the executable uses into the directories where it will look for them (e.g. /usr/local/bin/).
Lastly, most software packages have a README or INSTALL file you should probably take a look at. You can do so by running the following command:
cat README
No comments:
Post a Comment