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

From ThinkWiki
Jump to: navigation, search
(changing install path)
 
(Changing the installation path)
Line 1: Line 1:
 
==Changing the installation path==
 
==Changing the installation path==
By default, bioapi will install numerous files in <tt>path|/usr/local/{bin,lib,include}</tt>, including files with "self-explanatory" names such as {{path|/usr/local/bin/Sample}}. To prevent this pollution:
+
By default, bioapi will install numerous files in {{path|/usr/local/<nowiki>{</nowiki>bin,lib,include<nowiki>}</nowiki>}}, including files with "self-explanatory" names such as {{path|/usr/local/bin/Sample}}. To prevent this pollution:
 
* Create a dedicated directory,say, {{path|/opt/bioapi}} .
 
* Create a dedicated directory,say, {{path|/opt/bioapi}} .
 
* Append <tt>--prefix=/opt/bioapi</tt> to the <tt>./configure</tt> command of bioapi
 
* Append <tt>--prefix=/opt/bioapi</tt> to the <tt>./configure</tt> command of bioapi
 
* Append {{path|/opt/bioapi/bin}} to <tt>$PATH</tt> and {{path|/opt/bioapi/lib}} to <tt>$LD_LIBRARY_PATH</tt>
 
* Append {{path|/opt/bioapi/bin}} to <tt>$PATH</tt> and {{path|/opt/bioapi/lib}} to <tt>$LD_LIBRARY_PATH</tt>
* Edit the install path in <tt>install.sh</tt> of the driver
+
* Edit the install path in {{path|install.sh}} of the driver
  
  
 
--[[User:Thinker|Thinker]] 18:06, 30 Oct 2005 (CET)
 
--[[User:Thinker|Thinker]] 18:06, 30 Oct 2005 (CET)
 
----
 
----

Revision as of 19:40, 30 October 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)