Difference between revisions of "Talk:How to enable integrated fingerprint reader with BioAPI"

From ThinkWiki
Jump to: navigation, search
(using absolute paths for commands)
m (chmod 777 -R /usr/local/var/bioapi/: remove extra [])
Line 12: Line 12:
 
== chmod 777 -R /usr/local/var/bioapi/ ==
 
== chmod 777 -R /usr/local/var/bioapi/ ==
  
Is the above necessary? I just made a debian package of xscreensaver with the patch applied, and when using the bioapi debian pacakge from [[http://www.qrivy.net/~michael/temp/ Michael R. Crusoe's site]] which has this directory put in /usr/var/bioapi I had not to change the permissions to world-writeable there. Write access to the logfile and usb device are necessary, but that directory works with 755 as well (even though it comes with 777 in Michael's package), and all files and subdirectories are 644/755 too.
+
Is the above necessary? I just made a debian package of xscreensaver with the patch applied, and when using the bioapi debian pacakge from [http://www.qrivy.net/~michael/temp/ Michael R. Crusoe's site] which has this directory put in /usr/var/bioapi I had not to change the permissions to world-writeable there. Write access to the logfile and usb device are necessary, but that directory works with 755 as well (even though it comes with 777 in Michael's package), and all files and subdirectories are 644/755 too.
  
 
--[[User:Spiney|spiney]] 00:08, 11 Nov 2005 (CET)
 
--[[User:Spiney|spiney]] 00:08, 11 Nov 2005 (CET)

Revision as of 20:51, 12 November 2005

Changing the installation path

By default, bioapi will install numerous files in /usr/local/{bin,lib,include}, including files with "self-explanatory" names such as /usr/local/bin/Sample. To prevent this pollution:

  • Create a dedicated directory,say, /opt/bioapi .
  • Append --prefix=/opt/bioapi to the ./configure command of bioapi
  • Append /opt/bioapi/bin to $PATH and /opt/bioapi/lib to $LD_LIBRARY_PATH
  • Edit the install path in install.sh of the driver


--Thinker 18:06, 30 Oct 2005 (CET)


chmod 777 -R /usr/local/var/bioapi/

Is the above necessary? I just made a debian package of xscreensaver with the patch applied, and when using the bioapi debian pacakge from Michael R. Crusoe's site which has this directory put in /usr/var/bioapi I had not to change the permissions to world-writeable there. Write access to the logfile and usb device are necessary, but that directory works with 755 as well (even though it comes with 777 in Michael's package), and all files and subdirectories are 644/755 too.

--spiney 00:08, 11 Nov 2005 (CET)


Qt Compilation Success

Here it worked with qt ;)

using absolute paths for commands

I don't know whether using absolute paths in the articles is a good idea, at least not for tools like lsusb which are not established utilities (i.e. used for more than a decade or something ;)) and happen to be in different locations in different distributions. E.g. said lsusb resides in /usr/sbin on Debian systems.

--spiney 16:45, 12 Nov 2005 (CET)