You are not logged in.
Good morning.
Please, can somebody add MDB Tools in TUR?
Thanks in advance.
Luca.
Offline
I've had a look at the site, and it says that one of the depends is unixODBC. While compiling that, it returns an error saying
lex.l : In function 'yyerror' :
lex.l: 241: error: 'YY_FLUSH_BUFFER' undeclared
Offline
You couldn't use the unixodbc package that's already in extra?
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
ach, my mistake, I only looked for the unixodbc package in the AIR :oops: Sorry about that.
After getting the unixodbc, I found that the I could not compile mdbtools with the '--with-unixodbc=/usr' option for ./configure.
#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=mdbtools
pkgver=0.5
pkgrel=1
pkgdesc="Library and utility for reading Microsoft Access Database(MDB) files"
url="http://mdbtools.sourceforge.net"
license="LGPL"
depends=(flex bison)
makedepends=()
source=(http://aleron.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('4a18bf96e67161101cade64526756d22')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --enable-sql --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
If you wish to compile it with unixodbc, don't forget to add 'unixodbc' to the depends and makedepends. Also, gmdb does not seem to have compiled. It might be because I'm not using Gnome, though the other two prerequisites, 'glib' and 'libglade' are met on my comp.
Offline