You are not logged in.

#1 2010-12-08 22:43:06

dozerismydogsname
Member
Registered: 2010-02-11
Posts: 65

perl-wx

Currently the package in the aur, has a pkgbuild that doesn't work: http://aur.archlinux.org/packages.php?ID=13033

The package build is the following:

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-wx
pkgver=0.98
pkgrel=1
pkgdesc="interface to the wxWidgets GUI toolkit"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~MBARBON/Wx"
license=('GPL' 'PerlArtistic')
depends=('perl' 'wxgtk' )
makedepends=('wxgtk')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MB/MBARBON/Wx-$pkgver.tar.gz) 
md5sums=('693c873b9b0c44136f79dd194a44da37')

build() {
  cd  $startdir/src/Wx-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
  make || return 1
  make test || return 1
  make DESTDIR="$pkgdir/" install || return 1 
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}

and the error i am getting is the following

Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextCtrl.xsp' in RichText.xs, line 65
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextAttr.xsp' in RichText.xs, line 67
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyle.xsp' in RichText.xs, line 69
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleCtrl.xsp' in RichText.xs, line 71
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFormattingDialog.xsp' in RichText.xs, line 73
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFileHandler.xsp' in RichText.xs, line 75
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextBuffer.xsp' in RichText.xs, line 77
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/SymbolPickerDialog.xsp' in RichText.xs, line 79
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleOrganiserDialog.xsp' in RichText.xs, line 81
Error: Function definition too short 'INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextPrinting.xsp' in RichText.xs, line 83

Is this a problem with the program itself or the pkgbuild?

Offline

Board footer

Powered by FluxBB