You are not logged in.

#1 2005-06-15 15:52:28

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

building tkgeomap - bit of a puzzler [solved]

ok i am trying to build tkgeomap with this PKGBUILD:

# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=tkgeomap
pkgver=2.7
pkgrel=1
pkgdesc="Tkgeomap is a set of extensions to the Tcl/Tk scripting language. It adds commands that read, manipulate, and display geographic data."
url="http://www.tkgeomap.org/"
license=""
depends=('tclgeomap')
makedepends=('tclgeomap')
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/tkgeomap/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver/unix
  ./configure --prefix=$startdir/pkg/usr --with-tclgeomap=/usr/lib --with-tclgeomap-include=/usr/include
  make || return 1
  make install

  # remove /usr/bin which is empty
  #rm -r $startdir/pkg/usr/bin
}
# vim:syntax=sh
md5sums=('4257cfcbe20b98fe27f93695cb39e57f')

but it just keeps telling me that it can't find the tclgeomap lib but it IS there - i tried everything i could think of

tclgeomap i built successfully and it is in my repo so you can check that out to try this

any help appreciated - i'm baffled

Offline

#2 2005-06-15 22:25:28

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

Re: building tkgeomap - bit of a puzzler [solved]

dibblethewrecker wrote:

tclgeomap i built successfully and it is in my repo

No it's not.

Offline

#3 2005-06-16 08:55:26

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

Re: building tkgeomap - bit of a puzzler [solved]

doh - shoot me now!  it's in the gis repo i made:

[gis]
Server = http://dtw.jiwe.org/share/pkgs/gis

sorry tomk

Offline

#4 2005-06-16 13:24:23

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

Re: building tkgeomap - bit of a puzzler [solved]

ok - the problem - as far as i can tell, is that tclgeomap is built wrong

# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=tclgeomap
pkgver=2.7
pkgrel=1
pkgdesc="Tkgeomap is a set of extensions to the Tcl/Tk scripting language. It adds commands that read, manipulate, and display geographic data."
url="http://www.tkgeomap.org/"
license=""
depends=('tcl' 'glibc')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/tkgeomap/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver/unix
  ./configure --prefix=$startdir/pkg/usr
  make || return 1
  make install

  # remove /usr/bin which is empty
  rm -r $startdir/pkg/usr/bin
}
# vim:syntax=sh
md5sums=('d762d59f26c11cd67fd6d13ac4aafda0')

the lib is broken here i think but this is the only way i could get it all to pkg properly - i'm gonna keep trying

Offline

#5 2005-06-16 15:06:17

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

Re: building tkgeomap - bit of a puzzler [solved]

i had to do all sorts of patching to the makefile but i got it to work big_smile so it is all fixed now

Offline

Board footer

Powered by FluxBB