You are not logged in.
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.........
any ideas?
Offline
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 .
maybe it needs cvs as makedepends.
Give what you have. To someone, it may be better than you dare to think.
Offline
lol true.
So what the heck is going on?
Offline
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
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
thanx
Offline
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.
Offline
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.
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
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
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
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
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
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
Last edited by foutrelis (2009-10-22 23:31:22)
Offline
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
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.
I'll upload an updated package shortly.
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.
Last edited by foutrelis (2009-10-23 01:02:35)
Offline
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
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
tried what you suggested.... still no success
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
The same problem shows with knetworkmanager-unstable can somebody repair it?
Offline
The same problem shows with knetworkmanager-unstable can somebody repair it?
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