You are not logged in.

#1 2004-06-30 12:36:02

filattiera
Member
From: Filattiera (Italy)
Registered: 2004-03-01
Posts: 68

[Request] MDB Tools

Good morning.

Please, can somebody add MDB Tools in TUR?

Thanks in advance.
Luca.

Offline

#2 2004-07-04 17:39:45

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: [Request] MDB Tools

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

#3 2004-07-04 20:13:51

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: [Request] MDB Tools

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

#4 2004-07-04 21:28:48

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: [Request] MDB Tools

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

Board footer

Powered by FluxBB