I've downloaded this zip file from GitHub and I need to compile it. I have no idea how to go about the compilation.
1 Answers
If you have checked out the project there (it is not a .zip file) you have an INSTALL file which helps you:
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
If the project would not have an INSTALL
file, a good start is reading the README
.
The above sequence:
./configure
make
make install
is pretty common for projects that you build yourself on Linux. Please note that the last command often requires you to run it as root
using sudo make install
.

- 79,293
-
I got this at the end of
./configure
.`checking for LIBUSB... no configure: error: Package requirements (libusb-1.0 >= 0.9.1) were not met:
No package 'libusb-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBUSB_CFLAGS and LIBUSB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. `
– Chinmaya K R Feb 18 '14 at 19:00 -
@ChinmayaKR make sure libusb-1.0 can be found. If you are on Debian or derivatives (Ubuntu, Mint) I would do
sudo apt-get install libusb-dev
, althoughsudo apt-get install libusb
might be enough. – Anthon Feb 18 '14 at 19:04 -
For Fedora you need to do
sudo yum install libusb1-devel
to resolve the missing dependency. – erik Feb 19 '14 at 01:32
.zip
file when used as followingwget https://github.com/maffmeier/fprint_vfs5011
. So where is the zip file? – Anthon Feb 18 '14 at 18:44Should do the compilation trick. – vfbsilva Feb 18 '14 at 18:46
INSTALL
which explains the steps you need to follow. – terdon Feb 18 '14 at 18:48