You are not logged in.

#1 2006-06-14 01:23:26

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Anjuta 2.0.2 - Help

Anjuta in [extra] has been rolled back to the 1.X series.

I got 2.0.2 building (required version updates to gdl and gnome-build) but I get linking errors against a library.
It says it can't find db-4.2 (the link line is "... -ldb-4.2 ...")

Im assuming this is the berkley db? (http://www.archlinux.org/packages.php?id=4028)
But it doesn't provide a library with the name db-4.2 or a symlink. It provides libdb-4.3, libdb and a few others.
I tried symlinking libdb-4.2 -> libdb-4.3, without success.

Any help would be appreciated!
(I'll post my PKGBUILD when I get home later tonight)

Offline

#2 2006-06-14 11:13:55

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: Anjuta 2.0.2 - Help

Heres my current 2.0.2 PKGBUILD, its only a slight mod of the current PKGBUILD in extra.
Any help getting this to work would be _greatly_ appreciated

# $Id: PKGBUILD,v 1.17 2005/09/07 21:44:02 jgc Exp $
# Mantainer: Roberto Carvajal <roberto>

pkgname=anjuta
pkgver=2.0.2
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment."
url="http://anjuta.sourceforge.net"
install=anjuta.install
depends=('vte' 'libgnomeprintui' 'devhelp>=0.11' 'gdl>=0.6.1' 'gnome-build>=0.1.3' 'autogen>=5.6.5' 'guile>=1.6.7')
makedepends=('subversion' 'cvs')
source=(http://dl.sourceforge.net/sourceforge/anjuta/$pkgname-$pkgver.tar.gz)
md5sums=('e0d1e216da809df32816d233d7c55165')

build() {
  [ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh

  cd $startdir/src/$pkgname-$pkgver
#  patch -Np0 -i $startdir/src/pango-1.8.patch || return 1

  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

it also requires an update of gdl and gnome-build

# $Id: PKGBUILD,v 1.6 2005/09/07 19:33:31 jgc Exp $
# Maintainer: Arjan Timmerman <arjan>

pkgname=gdl
pkgver=0.6.1
pkgrel=1
pkgdesc="Gnome Devtool Libraries"
license="GPL"
depends=('libgnomeui')
source=(http://ftp.gnome.org/pub/GNOME/sources/gdl/0.6/$pkgname-$pkgver.tar.bz2)
md5sums=('6d902981efe30950af8f5033d937c270')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}
# $Id: PKGBUILD,v 1.3 2005/09/07 19:37:08 jgc Exp $
# Maintainer: Arjan Timmerman <arjan>

pkgname=gnome-build
pkgver=0.1.3
pkgrel=1
pkgdesc="Gnome build framework"
license="GPL"
depends=('gdl')
source=(http://ftp.acc.umu.se/pub/GNOME/sources/gnome-build/0.1/$pkgname-$pkgver.tar.bz2)
md5sums=('7a879bfa906036c8546cea88eb6fe793')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

Thanks

Offline

#3 2006-06-20 09:39:59

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: Anjuta 2.0.2 - Help

anyone?

Offline

#4 2006-06-20 15:37:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Anjuta 2.0.2 - Help

You need to patch the Makfile. Change the references to -ldb-4.2 by  -ldb-4.3
It might not work because it might explicitely need an older version of db.

Offline

#5 2006-06-27 09:01:22

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Anjuta 2.0.2 - Help

Hi Father,

did you try to patch the Makefile?? If not, I will try it today evening or tomorrow... But if you have patch it and it doesn't work, I don't have the work to do it...

Daniel

Offline

#6 2006-06-27 16:36:17

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Anjuta 2.0.2 - Help

Anjuta 2.0.2 runs here. I have used follow PKGBUILD:

# $Id: PKGBUILD,v 1.17 2005/09/07 21:44:02 jgc Exp $
# Mantainer: Roberto Carvajal <roberto>

pkgname=anjuta
pkgver=2.0.2
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment."
url="http://anjuta.sourceforge.net"
install=anjuta.install
depends=('vte' 'libgnomeprintui' 'devhelp>=0.11' 'gdl>=0.6.1' 'gnome-build>=0.1.3' 'autogen>=5.6.5' 'guile>=1.6.7')
makedepends=()
source=(http://dl.sourceforge.net/sourceforge/anjuta/$pkgname-$pkgver.tar.gz)
md5sums=('e0d1e216da809df32816d233d7c55165')

build() {
  [ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh

  cd $startdir/src/$pkgname-$pkgver
#  patch -Np0 -i $startdir/src/pango-1.8.patch || return 1

  ./configure --disable-plugin-subversion --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
} 

There were no problems with -ldb-4.2 or -ldb-4.3. It just compile through it. Only thing is, that I have disable the subversion-plugin. There were some problems during compiling. It's installed, but something went wrong. So I have disabled it. For me Anjuta 2.0.2 is working, but as it said at the Anjuta homepage, it is still alpha.....so expect bugs and crashes....

Daniel

Offline

Board footer

Powered by FluxBB