Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

can't build bioapi [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

can't build bioapi [SOLVED]

  • Quote

Post by gnychis » Fri Jun 30, 2006 12:47 am

Hey guys,

I am trying to get my fingerprint reader working on my thinkpad x60s, in linuxwiki I found a portage overlay for installing it with instructions:
http://toe.ch/~tsa/ibm-fingerprint/

When I try to build it, i get these errors:

Code: Select all

dal_classes.h:460: error: extra qualification 'DAL_DATABASE_INFO_LIST::' on member 'GetDBNamesAndParameters'
make[1]: *** [dal_internal.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
dal_classes.h:460: error: extra qualification 'DAL_DATABASE_INFO_LIST::' on member 'GetDBNamesAndParameters'
dal_classes.h:460: error: extra qualification 'DAL_DATABASE_INFO_LIST::' on member 'GetDBNamesAndParameters'
make[1]: *** [dal_database_list.lo] Error 1
make[1]: *** [dal_database.lo] Error 1
I am trying to build with:

Code: Select all

i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.0/vanilla
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
Any suggestions?

Thanks!
George
Last edited by gnychis on Fri Jun 30, 2006 1:35 pm, edited 1 time in total.
<---- me and Richard Stallman :)
Top
SeJo
Retired Dev
Retired Dev
User avatar
Posts: 298
Joined: Tue Oct 08, 2002 8:21 am
Location: Belgium
Contact:
Contact SeJo
Website

  • Quote

Post by SeJo » Fri Jun 30, 2006 9:58 am

yeah, i took those ebuilds as base and fixed them for 4.1 gcc.

find the tar here [1], untar and emerge :-) bins are in /opt/bioapi/bin

greets

[1] http://sejo.be/tmp/bioapi-1.2.2.tar.bz2
"I am not bound to please thee with my answers."
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Fri Jun 30, 2006 1:35 pm

awesome, worked perfectly

thank you!
<---- me and Richard Stallman :)
Top
Zarhan
Veteran
Veteran
Posts: 1020
Joined: Fri Feb 27, 2004 4:42 pm

  • Quote

Post by Zarhan » Thu Aug 03, 2006 7:55 am

Could we get this stuff to the official tree sometime?
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Thu Aug 03, 2006 3:14 pm

submit the request to bugs.gentoo.org would be my guess as to the quickest way of getting it in
<---- me and Richard Stallman :)
Top
stiwi
Apprentice
Apprentice
Posts: 266
Joined: Thu Mar 20, 2003 10:07 pm
Location: hamburg - germany

  • Quote

Post by stiwi » Mon Sep 11, 2006 10:31 am

i get this following error:

Code: Select all

Installing BIOAPI ...

Module Directory Services (MDS) ...
ACCESS DENIED  chmod:     /var/bioapi
ACCESS DENIED  open_wr:   /usr/lib/libbioapi_mds300.so
ACCESS DENIED  open_wr:   /var/bioapi/registry/HKEY_LOCAL_MACHINE/Software/BioAPI/MDS/VersionMajor
MDS install failed (error 15).
bioapi100...
ACCESS DENIED  open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
Module: ùŸýD (Code #0)!
bioapi_dummy100...
ACCESS DENIED  open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
Module: MDS Error (Init): 300A
 (Code #300A)!
pwbsp...
ACCESS DENIED  open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
Module: MDS Error (Init): 300A
 (Code #300A)!
qtpwbsp...
ACCESS DENIED  open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
Module: MDS Error (Init): 300A
 (Code #300A)!
Done.
make[3]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
make[1]: Leaving directory `/var/tmp/portage/bioapi-1.2.2/work/bioapi-1.2.2'
install: Aufruf von stat für »/var/portage-overlay/sys-auth/bioapi/files/20bioapi« nicht möglich: Datei oder Verzeichnis nicht gefunden
>>> Completed installing bioapi-1.2.2 into /var/tmp/portage/bioapi-1.2.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-auth_-_bioapi-1.2.2-1266.log"

chmod:     /var/bioapi
open_wr:   /usr/lib/libbioapi_mds300.so
open_wr:   /var/bioapi/registry/HKEY_LOCAL_MACHINE/Software/BioAPI/MDS/VersionMajor
open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
open_wr:   /var/bioapi/BioAPIFFDB/BioAPIMDSDirectory.80000001.freelist.ffdb
--------------------------------------------------------------------------------
!!! This ebuild is from an overlay: '/var/portage-overlay'
when i will emerge it (emerg bioapi) with qt useflag. is there anybody else with this problem ? is there a solution ? i got the bz2 from this thread.
Top
Zarhan
Veteran
Veteran
Posts: 1020
Joined: Fri Feb 27, 2004 4:42 pm

  • Quote

Post by Zarhan » Tue Sep 12, 2006 8:42 am

stiwi wrote: when i will emerge it (emerg bioapi) with qt useflag. is there anybody else with this problem ? is there a solution ? i got the bz2 from this thread.
I've got this problem too. Workaround is to switch off sandbox for a while, eg.

Code: Select all

FEATURES="-sandbox" emerge bioapi
.
Top
pierj
n00b
n00b
Posts: 1
Joined: Wed Oct 25, 2006 7:57 am

error compiling bioapi with gcc4.1.1 (SeJo version)

  • Quote

Post by pierj » Wed Oct 25, 2006 8:02 am

hi SeJo,

using your version of bioapi I receive this error:
libeccio portage # emerge -va bioapi pam_bioapi tfm-fingerprint

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-auth/bioapi-1.2.2 USE="qt" 0 kB [1]
[ebuild R ] sys-auth/pam_bioapi-0.2.1 0 kB [1]
[ebuild R ] sys-auth/tfm-fingerprint-1.0 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 3) sys-auth/bioapi-1.2.2 to /
* bioapi-1.2.2.tar.bz2 MD5 ;-) ... [ ok ]
* bioapi-1.2.2.tar.bz2 RMD160 ;-) ... [ ok ]
* bioapi-1.2.2.tar.bz2 SHA1 ;-) ... [ ok ]
* bioapi-1.2.2.tar.bz2 SHA256 ;-) ... [ ok ]
* bioapi-1.2.2.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/local/portage/sys-auth/bioapi/bioapi-1.2.2.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 2508
!!! Expected: 2537

can you help me?

thanks
Pierj
Top
drivingsouth
n00b
n00b
User avatar
Posts: 69
Joined: Sat Jul 24, 2004 11:11 am
Location: Göteborg

  • Quote

Post by drivingsouth » Sun Jul 22, 2007 7:17 pm

For everyone with the same issue and gcc-4.2:

The ebuild from portage is still broken. So use the ebuild from the second post. You have to change the line

Code: Select all

        if [ ${VERGCC} == 4.1 ]; then
                epatch ${FILESDIR}/bioapi-1.2.2_patch
        fi
to

Code: Select all

        if [ ${VERGCC} == 4.2 ]; then
                epatch ${FILESDIR}/bioapi-1.2.2_patch
        fi

After this, you can emerge the modifies ebuild using

Code: Select all

emerge --digest bioapi

Note: The three ebuilds bioapi, pam_bioapi and tfm-fingerprint have to emerged in the correct order. If you get the sandbox violations, unmerge all three packages and reemerge them in the following order: bioapi, pam_bioapi and tfm-fingerprint
Then you can test /opt/bioapi/bin/QSample
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy