docky stacks doesn't compile

Asked by Benjamin Martinez on 2010-09-09

Hi I'm getting this error when trying to compile docky stacks from source

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0
  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
make[2]: *** [../../build/BatteryMonitor.dll] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-cruznick/aur-docky-stacks-bzr/src/stacks/StandardPlugins/BatteryMonitor'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-cruznick/aur-docky-stacks-bzr/src/stacks/StandardPlugins'
make: *** [all-recursive] Error 1

I am using arch linux here it the pkgbuild instrucctions that i am using

# Contributor: Madek <email address hidden>

pkgname=docky-stacks-bzr
pkgver=1468
pkgrel=1
pkgdesc="Stacks Plugins for Docky"
arch=('i686' 'x86_64')
url="https://code.launchpad.net/~psybers/docky/stacks"
license=('GPL')
depends=('docky' 'gio-sharp-git')
makedepends=('bzr' 'intltool' 'gettext')
options=()
source=()
md5sums=()

_bzrtrunk=lp:~psybers/docky/stacks
_bzrmod=stacks

build() {

  export MONO_SHARED_DIR=${srcdir}/.wabi
  mkdir -p ${MONO_SHARED_DIR}

  msg "Connecting to the server...."

 cd $startdir/src
 if [ -d "${srcdir}/${_bzrmod}" ] ; then
  cd ${_bzrmod} && bzr up
  msg "The local files are updated."
 else
  bzr checkout ${_bzrtrunk}
 fi

  msg "BZR checkout done or server timeout"
  msg "Starting make..."

  cd ${_bzrmod}

  ./autogen.sh --prefix=/usr || return 1
  ./configure --prefix=/usr --sysconfdir=/etc || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}

and here its the make log complete

http://pastebin.com/5wfmpTJ5

any ideas ?

Question information

Language:
English Edit question
Status:
Solved
For:
Docky Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Martinez
Solved:
2010-09-12
Last query:
2010-09-12
Last reply:
Rico Tzschichholz (ricotz) said : #1

The stacks branch is now located at https://code.edge.launchpad.net/~docky-core/docky/stacks !
Your build script is outdated. So please try it with this new branch.

Benjamin Martinez (cruznick) said : #2

thank that solved it