Difference between revisions of "Talk:Script for enabling the fingerprint reader with BioAPI"
m (moved Talk:Script for enabling the fingerprint reader to Talk:Script for enabling the fingerprint reader with BioAPI) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
Also, you need to add a patch for the bioapi to get it to compile on fc5 with gcc4.1: | Also, you need to add a patch for the bioapi to get it to compile on fc5 with gcc4.1: | ||
− | + | diff -ur bioapi-1.2.2.org/addins/dl/mds/dal_classes.h bioapi-1.2.2/addins/dl/mds/dal_classes.h | |
− | diff - | + | --- bioapi-1.2.2.org/addins/dl/mds/dal_classes.h 2006-09-05 21:31:11.000000000 +0200 |
− | --- bioapi-1.2.2. | + | +++ bioapi-1.2.2/addins/dl/mds/dal_classes.h 2006-09-05 21:31:29.000000000 +0200 |
− | +++ bioapi-1.2.2/addins/dl/mds/dal_classes.h 2006- | + | @@ -455,7 +455,7 @@ |
− | @@ -455,7 +455,7 @@ | + | DAL_DATABASE_INFO_REF_PTR &prefDatabase, |
− | + | PORT_MUTEX_HANDLE &Mutex); | |
− | + | ||
− | + | - CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters( | |
− | - CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters( | + | + CSSM_RETURN GetDBNamesAndParameters( |
− | + CSSM_RETURN GetDBNamesAndParameters( | + | CSSM_DL_DB_HANDLE DLDBHandle, |
− | + | DAL_DB_OPEN_PARAM_PTR pParam); | |
− | + | }; | |
− | |||
− | |||
I added a line to apply this patch: | I added a line to apply this patch: | ||
Line 37: | Line 35: | ||
Can anyone else confirm that works and perhaps merge into the main script? | Can anyone else confirm that works and perhaps merge into the main script? | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Merged. | ||
+ | |||
+ | --[[User:Thinker|Thinker]] 02:55, 30 April 2006 (CEST) | ||
+ | ---- |
Latest revision as of 18:20, 5 August 2011
With only 2 minor changes this script works on fc5 as well...
You need to change the line that says:
grep -q 'Fedora Core release 4' /etc/redhat-release || { echo \
to say:
grep -q 'Fedora Core release 5' /etc/redhat-release || { echo \
Also, you need to add a patch for the bioapi to get it to compile on fc5 with gcc4.1:
diff -ur bioapi-1.2.2.org/addins/dl/mds/dal_classes.h bioapi-1.2.2/addins/dl/mds/dal_classes.h --- bioapi-1.2.2.org/addins/dl/mds/dal_classes.h 2006-09-05 21:31:11.000000000 +0200 +++ bioapi-1.2.2/addins/dl/mds/dal_classes.h 2006-09-05 21:31:29.000000000 +0200 @@ -455,7 +455,7 @@ DAL_DATABASE_INFO_REF_PTR &prefDatabase, PORT_MUTEX_HANDLE &Mutex); - CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters( + CSSM_RETURN GetDBNamesAndParameters( CSSM_DL_DB_HANDLE DLDBHandle, DAL_DB_OPEN_PARAM_PTR pParam); };
I added a line to apply this patch:
... tar xjf bioapi-latest.tar.bz2 pushd bioapi-1.2.2 patch -p1 < ../bioapi-gcc41.patch ./configure --with-Qt-dir=no --prefix=$WHERE ...
Can anyone else confirm that works and perhaps merge into the main script?
Merged.
--Thinker 02:55, 30 April 2006 (CEST)