LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing software from github (https://www.linuxquestions.org/questions/linux-software-2/installing-software-from-github-4175451565/)

linuxPCplus 02-24-2013 11:01 PM

Installing software from github
 
So today fprint support for my model of fingerprint scanner was added to the fprint repo on github, meaning I will finally be able to use my scanner! There is just one minor problem: I do not have the slightest clue how to install software from github!
Does anyone know how to accomplish this, or even a link where I can find detailed instructions?
Here is a link to the repo: https://github.com/maffmeier/fprint_vfs5011

John VV 02-25-2013 02:51 AM

there are a few ways

on this particular link
There is a button to click on called " zip"
that will give you a zipped up archive

then build the source

or
the terminal
Code:

git clone git://github.com/maffmeier/fprint_vfs5011.git

knudfl 02-25-2013 04:33 AM

The "zip" works https://nodeload.github.com/maffmeie...011/zip/master

Please unzip, and : $ cd fprint_vfs5011-master/ && ./configure
$ make && sudo make install

There is at least one bug : Asks for crypto.pc .
Default is /usr/lib/pkgconfig/libcrypto.pc .

Which version of Ubuntu are you using ?

-

linuxPCplus 02-25-2013 07:13 AM

Quote:

Originally Posted by knudfl (Post 4899131)
The "zip" works https://nodeload.github.com/maffmeie...011/zip/master

Please unzip, and : $ cd fprint_vfs5011-master/ && ./configure
$ make && sudo make install

There is at least one bug : Asks for crypto.pc .
Default is /usr/lib/pkgconfig/libcrypto.pc .

Which version of Ubuntu are you using ?

-

I am on 12.04.2
I assume these commands will actually build the package & install it for me? If not, please give further details as I have never built from source before.

linuxPCplus 02-25-2013 07:18 AM

Quote:

Originally Posted by knudfl (Post 4899131)
The "zip" works https://nodeload.github.com/maffmeie...011/zip/master

Please unzip, and : $ cd fprint_vfs5011-master/ && ./configure
$ make && sudo make install

There is at least one bug : Asks for crypto.pc .
Default is /usr/lib/pkgconfig/libcrypto.pc .

Which version of Ubuntu are you using ?

-

After running these commands, I got this readout:
Code:

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.

But according to synaptic, the package libusb-1.0.0 IS installed. I tried reinstalling, but no luck there.

knudfl 02-25-2013 08:37 AM

Quote:

No package 'libusb-1.0' found
That's also about a <package-config-file> : libusb-1.0.pc .
( /usr/lib/<arch>-linux-gnu/pkgconfig/libusb-1.0.pc ).

Prerequisites for fprint : $ sudo apt-get update
$ sudo apt-get install install libusb-1.0.0-dev libnss3-dev libglib2.0-dev

( 'fprint' / Ubuntu 12.04 refuses to recognize libssl-dev : "crypto.pc / libcrypto.pc",
we can use the alternative libnss* instead.)

-

knudfl 02-25-2013 08:48 AM

... By the way : Did you try installing fprint from "Ubuntu Software Center" ?

Or : sudo apt-get install fprint-demo
( libfprint0 gets installed too, as a dependency.)


-

linuxPCplus 02-25-2013 08:51 AM

Quote:

Originally Posted by knudfl (Post 4899287)
... By the way : Did you try installing fprint from "Ubuntu Software Center" ?

Or : sudo apt-get install fprint-demo
( libfprint0 gets installed too, as a dependency.)


-

Well, I had installed it through synaptic, but the problem is that support for my device was just added yesterday & the version currently available in the Ubuntu repos is too old to have this support.

linuxPCplus 02-25-2013 09:15 AM

Quote:

Originally Posted by knudfl (Post 4899280)
That's also about a <package-config-file> : libusb-1.0.pc .
( /usr/lib/<arch>-linux-gnu/pkgconfig/libusb-1.0.pc ).

Prerequisites for fprint : $ sudo apt-get update
$ sudo apt-get install install libusb-1.0.0-dev libnss3-dev libglib2.0-dev

( 'fprint' / Ubuntu 12.04 refuses to recognize libssl-dev : "crypto.pc / libcrypto.pc",
we can use the alternative libnss* instead.)

-

Ok, so I got past the earlier errors, but now get this error when i try to run the configure command:
configure: error: gdk-pixbuf or ImageMagick is required for imaging support

but image-magick is installed.

TobiSGD 02-25-2013 09:58 AM

You need to install the development packages if you want to compile software, on Debian based systems these usually end with -dev, like libusb-1.0.0-dev in the example above. Check if you have those installed.

linuxPCplus 02-25-2013 10:29 AM

Quote:

Originally Posted by TobiSGD (Post 4899333)
You need to install the development packages if you want to compile software, on Debian based systems these usually end with -dev, like libusb-1.0.0-dev in the example above. Check if you have those installed.

Yes, all of the packages you mentioned, including dev files are installed. But the imagemagick error persists.

knudfl 02-25-2013 11:31 AM

Development package names :


libgdk-pixbuf2.0-dev , libmagickcore-dev , libmagickwand-dev

linuxPCplus 02-25-2013 12:17 PM

Quote:

Originally Posted by knudfl (Post 4899395)
Development package names :


libgdk-pixbuf2.0-dev , libmagickcore-dev , libmagickwand-dev

Actually, I already got it. Had to reinstall libfprint0
Thanks for all the help!


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