You are not logged in.

#1 2008-01-04 01:28:29

osc~
Member
From: brazil
Registered: 2007-07-06
Posts: 117
Website

a little hand with build error

hello i am trying to install pd (extended) with extra stuff.
here is the error i get:

 sudo makepkg -i
==> Making package: Pd 0.39.3_extended-1 (Qui Jan  3 23:23:53 BRST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Found Pd-0.39.3-extended.tar.bz2 in build dir
==> Validating source files with md5sums
    Pd-0.39.3-extended.tar.bz2 ... Passed
==> Extracting Sources...
   -> tar -xf Pd-0.39.3-extended.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
PKGBUILD: line 14: cd: /var/abs/local/pd/src/Pd-0.39.3_extended: No such file or directory
PKGBUILD: line 16: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

here is the PKGBUILD file:

# Contributor: farid <snd.noise@gmail.com>
pkgname=Pd
pkgver=0.39.3_extended
pkgrel=1
pkgdesc="The Pure Data (short Pd) project on SourceForge unifies the extensions (or externals) written for the Pure Data Graphical Computer Music System written by Miller Puckette with contributions from many others."
arch=(i686)
url="http://puredata.info/"
license=('GPL')
depends=()
source=(http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended.tar.bz2)
md5sums=('3549f9d8249d7cb31c3162e84a0b7f96')

build() {
  cd "$startdir/src/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$startdir/pkg" install
}

# vim:set ts=2 sw=2 et:

thanks

Offline

#2 2008-01-04 01:37:41

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: a little hand with build error

There is something wrong with the source archive (Pd-0.39.3-extended.tar.bz2) - it doesn't extract properly.

EDIT: Sorry, I guess the problem was on my side - for some reason the file didn't download properly for me.

Last edited by fwojciec (2008-01-04 14:44:05)

Offline

#3 2008-01-04 02:41:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: a little hand with build error

This is your clue....

PKGBUILD: line 14: cd: /var/abs/local/pd/src/Pd-0.39.3_extended: No such file or directory

Change to:

  cd "$startdir/src/$pkgname-0.39.3-extended"

You got caught out by the forced changing of the dash to an underscore in pkgver.

Offline

#4 2008-01-04 11:46:30

osc~
Member
From: brazil
Registered: 2007-07-06
Posts: 117
Website

Re: a little hand with build error

that worked, now this happened...

==> Starting build()...
PKGBUILD: line 16: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

cheers smile

Offline

#5 2008-01-04 13:16:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: a little hand with build error

Try building the package by hand first (i.e. no PKGBUILD).  If you can't get that working then there is no point trying to automate things.

So it appears there is no file called "configure".  I have deleted the tarball so I can't check at the moment but you should look at the INSTALL and README files for more clues.  There maybe a file called autogen.sh you need to run first.

Offline

#6 2008-01-05 00:16:10

osc~
Member
From: brazil
Registered: 2007-07-06
Posts: 117
Website

Re: a little hand with build error

should i move this topic to PKGBUILDs & ABS Support. i now realize it fits there better, right?

Offline

#7 2008-01-05 00:28:46

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

Re: a little hand with build error

Correct - and done. smile

Offline

#8 2008-01-05 00:34:42

osc~
Member
From: brazil
Registered: 2007-07-06
Posts: 117
Website

Re: a little hand with build error

thanks smile

Offline

#9 2008-01-05 21:58:45

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: a little hand with build error

When I write a PKGBUILD I am doing this just the way you did. At the stage you are now I consider the directory <abs-tree>/<package>/src and if there is no configure script, there should be

-another build-script
-or at least an INSTALL-file, in which the installation is described.

This should give you som hints to go on. Wish the best!

Offline

#10 2008-01-06 18:52:05

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: a little hand with build error

I tried myself to build the package. It seems to me, the tarball is somewhat broken. At least one file is missing.

Offline

#11 2008-01-07 13:02:52

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: a little hand with build error

Stefan Husmann wrote:

I tried myself to build the package. It seems to me, the tarball is somewhat broken. At least one file is missing.

The package is definitely broken. The missing file I mentioned above was a minor problem (a missing and undocumented dependency to ladspa).

But there is at least on serious error. When compiling one of the components (zexy)  parameters are given to a configure script in a way that leads tothe error, that the compiler flag -O3 is passed directly to configure. Of Course configure known nothing to do with that flag. I wonder how this stuff could ever past some  tests before gotten released.

Offline

#12 2008-11-08 20:50:55

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: a little hand with build error

Me too, I need this application for studying. Right now I have pd installed, which is in AUR and works quite well, but I need pd-extended ... I don't know where to start, the INSTALL.txt contains bullshit information from my point of view. Does someone have an idea?

edit: Ok, I'm on it, this is an autoconf thing, never had to deal with such stuff wink

edit2: Damn f****** s***, this seems to be too hard for me! Please help!

Last edited by Army (2008-11-08 22:32:16)

Offline

#13 2008-12-23 20:18:37

hb
Member
From: Germany
Registered: 2008-02-02
Posts: 13
Website

Re: a little hand with build error

ok, i made a pkgbuild lossly based on this ebuild from the pd-overlay for gentoo (https://pd-overlay.svn.sourceforge.net/ … -r2.ebuild) and the packages/linux_make makefile.

It builds pd-extended from svn, but not all the extensions/externals. It also includes gem 0.91.1.
It is not ready for aur yet (dependencies missing and: how to build gem without pre-installed pd? - etc...), all suggestions welcome:

edit: got it working with the internal build system

PKGBUILD now in AUR (http://aur.archlinux.org/packages.php?ID=22509) and builds everything of pd-extended except externals/pdvjtools

Happy holidays!

Last edited by hb (2008-12-25 11:37:04)

Offline

Board footer

Powered by FluxBB