You are not logged in.

#1 2009-10-21 16:49:10

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

build failure due to outdated Automake???

Hey archers

I was tring to install kxmame as I like it the best as a frontend to sdlmame.........

and i get this error:


*** YOU'RE USING automake (GNU automake) 1.11.
*** KDE requires automake 1.6.1 or newer     
make[1]: *** [cvs] Error 1                   
make: *** [all] Error 2                       
/home/kaddy/Builds/kxmame-svn/PKGBUILD: line 35: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.                           
==> ERROR: Build Failed.             


how can automake be out of date??? i've got the latest available to arch......... mad

any ideas?

Offline

#2 2009-10-21 16:51:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: build failure due to outdated Automake???

KDE requires automake 1.6.1 or newer and *** YOU'RE USING automake (GNU automake) 1.11.

1.11 is newer than 1.6.1 big_smile.

maybe it needs cvs as makedepends.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-10-22 00:50:15

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

lol true.
So what the heck is going on?  yikes yikes yikes

Offline

#4 2009-10-22 00:58:12

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

Re: build failure due to outdated Automake???

It appears that it is detecting the version of automake wrongly.  Probably making the assumption that the version numbers have one letter...   look for a patch.

Offline

#5 2009-10-22 01:15:36

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

arghhhhhh.
thanx Allan........

I can't find a patch yet....... i'll have to look 2nite when i finish work....
or if anybody knows where to find patches for automake..... please link me wink

thanx

Offline

#6 2009-10-22 01:31:24

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: build failure due to outdated Automake???

The automake error can easily be solved by explicitly adding version 1.11 to the list it checks against.

More serious problems start after that. tongue

Offline

#7 2009-10-22 12:12:33

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

foutrelis wrote:

The automake error can easily be solved by explicitly adding version 1.11 to the list it checks against.

More serious problems start after that. tongue

sorry to be Noob.... Im too use to the ease of binaries. lol! I'm pretty new to building packages....

So what steps do I take to fix this? So that automake is being detected properly?

Offline

#8 2009-10-22 12:40:22

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: build failure due to outdated Automake???

added the patch and change dependency from kdelibs to kdelibs3

pkgname=kxmame-svn
pkgver=8
pkgrel=2
pkgdesc="KDE port of GXmame frontend for xmame and sdlmame emulators."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/kxmame"
license=('GPL2')
depends=('kdelibs3')
makedepends=('subversion' 'autoconf' 'automake')
conflicts=('kxmame')
provides=('kxmame')
source=(http://omploader.org/vMmxjeg/automake-1.11.patch)

_svntrunk=https://kxmame.svn.sourceforge.net/svnroot/kxmame/trunk
_svnmod=kxmame

build() {
  cd $startdir/src/

  msg "Connecting to the SVN server...."

  svn co $_svntrunk -r $pkgver $_svnmod

  [ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
  cp -r ./$_svnmod ./$_svnmod-build
  cd ./$_svnmod-build

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

  patch -Np1 -i $srcdir/automake-1.11.patch || return 1

  make -f Makefile.cvs

  ./configure --prefix=/opt/kde --with-qt-dir=/opt/qt --disable-joystick --without-arts
  make || return 1
  make DESTDIR=$startdir/pkg install

  install -m644 -D $startdir/kxmame.desktop $startdir/pkg/usr/share/applications/kxmame.desktop
  rm  -rf  $startdir/src/$_svnmod-build
}
md5sums=('eac7063b1ebfae553b90d24293798dde')

Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2009-10-22 13:52:11

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

ok. add the patch first right? I try to add the patch that got suggested..... i get this


[kaddy@archbox Downloads]$ ./automake-1.11.patch
diff: kxmame.orig/admin/cvs.sh: No such file or directory
diff: kxmame/admin/cvs.sh: No such file or directory
./automake-1.11.patch: line 2: ---: command not found
./automake-1.11.patch: line 3: +++: command not found
./automake-1.11.patch: line 4: @@: command not found
*** KDE requires automake

Offline

#10 2009-10-22 13:57:49

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: build failure due to outdated Automake???

hey kaddy. i didn't post that PKGBUILD so that you can ignore it. read about AUR first and how can you use that build.
http://wiki.archlinux.org/index.php/AUR_User_Guidelines


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2009-10-22 14:22:45

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

sorry....  i thought you meant "add the patch" that was linked to me, then change the depends from kdelibs to kdelibs3.
I misunderstood ya.

I also tried this (using your build)..... and i get the same error





==> Validating source files with md5sums...
    automake-1.11.patch ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to the SVN server....
Checked out revision 8.
==> SVN checkout done or server timeout
==> Starting make...
patching file admin/cvs.sh
This Makefile is only for the CVS repository
This will be deleted before making the distribution

/usr/bin/unsermake: line 11: exec: python2.5: not found
*** AUTOMAKE NOT FOUND!.
*** KDE requires automake 1.6.1 or newer
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
/home/kaddy/Builds/kxmame-svn/PKGBUILD: line 36: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...




the things it is complaining about that I don't have... I DO have..... I have the latest Automake but it detects it as being an older version...  Therefore won't build my package....
So how do I fix this?

also.. i don't know why it is complaining that I don't have python installed... I have python 2.6

Last edited by kaddy (2009-10-22 15:42:28)

Offline

#12 2009-10-22 23:21:50

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: build failure due to outdated Automake???

I've uploaded a fixed package to the AUR. However one issue still persists; /opt/kde/bin/kde-config produces a segmentation fault when it's run under fakeroot, so when the configure script runs `/opt/kde/bin/kde-config --prefix', it receives no output and stops with the following error:

configure: error: /opt/kde/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
                    This means it has been moved since you installed it.
                    This won't work. Please recompile kdelibs for the new prefix.

EDIT: Hum, this looks interesting: http://bugs.archlinux.org/task/12592 tongue

Last edited by foutrelis (2009-10-22 23:31:22)

Offline

#13 2009-10-22 23:32:17

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

i've seen that error before recently too, on a different package i wanted to install........

my head hurts.....I think im starting to miss good o'l binaries! hahhaaahahha.

Offline

#14 2009-10-22 23:41:54

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: build failure due to outdated Automake???

Alright, the solution (thanks Dan!) is to have a separate package() function in the PKGBUILD that will do the last two steps (`make install' and the .desktop file), so that the compilation will be done outside of fakeroot. smile

I'll upload an updated package shortly. smile

EDIT: New package is up. It should build fine now.
EDIT2: I created a wiki page which documents the steps I had to follow before I could play Teenage Mutant Ninja Turtles. tongue

Last edited by foutrelis (2009-10-23 01:02:35)

Offline

#15 2009-10-23 10:21:38

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

hmmmmmm. still get same errors.....

I've also tried disabling fakeroot, and also tried installing the package "makepkg -s --asroot"
but it still whines like a bitch Lol

thanx for everybody's help, its appreciated.... But im just gonna use Mame executor..... 
Hopefully this Bug will be squashed in the near future

Offline

#16 2009-10-23 10:39:37

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: build failure due to outdated Automake???

kaddy wrote:

hmmmmmm. still get same errors.....

I've also tried disabling fakeroot, and also tried installing the package "makepkg -s --asroot"
but it still whines like a bitch Lol

Make sure you have the latest package from the AUR and not some older version that your browser has cached. Try clearing your browser's cache and then re-downloading the package.

Offline

#17 2009-10-23 12:47:40

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: build failure due to outdated Automake???

tried what you suggested.... still no success sad

So really.... there are 2 bugs here? my automake gets detected as the wrong version.....
and theres a bug in fakeroot which causes seg faults etc........... arggghhhhhhhhhhhh.
how annoying

Offline

#18 2009-11-10 00:40:42

bl0ndynek
Member
From: Poland
Registered: 2008-07-04
Posts: 73

Re: build failure due to outdated Automake???

The same problem shows with knetworkmanager-unstable can somebody repair it? smile

Offline

#19 2009-11-10 23:04:22

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: build failure due to outdated Automake???

bl0ndynek wrote:

The same problem shows with knetworkmanager-unstable can somebody repair it? smile

why to use that old and unmaintained version instead of kdeplasma-applets-networkmanager which is in extra?


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB