You are not logged in.

#1 2006-02-26 12:00:02

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Compile error with opendx

Can anyone make sense of this?

checking lex output file root... configure: error: cannot find output from :; giving up

I can't see what the error means and I can't find "lex".  I doubt it is actually installed...

Here is the PKGBUILD:

# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

pkgname=opendx
pkgver=4.4.0
pkgrel=1
pkgdesc="A uniquely powerful, full-featured software package for the visualization of scientific, engineering and analytical data"
url="http://www.opendx.org/"
license="custom"
depends=('lesstif' 'netcdf' 'imagemagick')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://opendx.npaci.edu/source/dx-$pkgver.tar.gz opendx.desktop)
md5sums=('8fe6a09faea4aa713a1540f51371b719' '9e3771c3881e1126fa74225d5525c1fa')

build() {
  cd $startdir/src/dx-$pkgver
  ./configure --prefix=/usr/lib --exec-prefix=/usr/bin --with-javadx=no
  make || return 1
  make DESTDIR=$startdir/pkg install
  rm -r $startdir/pkg/usr/lib/dx/{html,doc}
  
  # fix bin prefix
  mv $startdir/pkg/usr/lib/bin $startdir/pkg/usr
  
  # install license
  install -D -m644 $startdir/src/dx-$pkgver/LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE

  # install freedesktop stuff
  install -D -m644 $startdir/src/opendx.desktop $startdir/pkg/usr/share/applications/opendx.desktop

  find $startdir/pkg -name '*.la' -exec rm {} ;
}

Offline

#2 2006-02-26 12:59:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Compile error with opendx

I've just run ./configure on it here, dibble, with no problems. lex is part of the flex package, which I've always understood to be part of the Arch base install. If you don't have it for some reason, that's your problem. The current package is 2.5.31-2.

Offline

#3 2006-02-26 13:01:10

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Compile error with opendx

that was it - thanks tomk.

Offline

Board footer

Powered by FluxBB