Package Details: libdbf 0.0.2-2

Git Clone URL: https://aur.archlinux.org/libdbf.git (read-only)
Package Base: libdbf
Description: Library for accessing the content of dBASE III, IV, and 5.0 files
Upstream URL: http://dbf.berlios.de
Licenses: GPL
Submitter: Mikos
Maintainer: Jonathas
Last Packager: Jonathas
Votes: 13
Popularity: 0.000587
First Submitted: 2006-06-01 16:53
Last Updated: 2015-06-10 02:06

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

DaveCode commented on 2014-02-19 02:13

Can't install on i686 using pacaur. It reports
==> ERROR: libdbf is not available for the 'i686' architecture.
Could the comma be wrong PKGBUILD syntax? Note aur/dbf sans comma:
arch=('i686' 'x86_64')

TrialnError commented on 2013-11-13 19:31

It should more look like this:

build() {
cd $srcdir/$pkgname-$pkgver
chmod +x autogen.sh
#rm configure install-sh depcomp missing
./autogen.sh && ./configure --prefix=/usr
make
}

package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
find ${pkgdir} -name '*.la' -exec rm {} \;
}

construidor commented on 2013-11-11 11:28

Change '$startdir/pkg' -> '${pkgdir}'.

Work for me:
build() {
cd $startdir/src/$pkgname-$pkgver
chmod +x autogen.sh
#rm configure install-sh depcomp missing
./autogen.sh && ./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
find ${pkgdir} -name '*.la' -exec rm {} \;
}

kg4cjv commented on 2013-05-01 01:04

for X86 adding arch=('i686' 'x86_64') works, but there's some upstream build errors that need to be resolved.

cassava commented on 2012-08-14 11:05

The reason for failed compilation is that there is a file 'endian.h' in src/, and src is included using -I.
stdlib.h looks for endian.h, and grabs the wrong one. What you need to do is rename endian.h to dbf_endian.h or something like that.
So in the end you have: dbf.h dbf.c dbf_endian.c dbf_endian.h.
Then you have to correct the includes in dbf.h and dbf_endian.c.

kfgz commented on 2011-06-07 17:29

I'm compiling this on 64-bit.

kfgz commented on 2011-06-07 17:25

Doesn't compile

http://pastebin.com/a0XcjE6i