You are not logged in.

#1 2005-05-10 16:24:17

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

ion3 makepkg error [solved]

Hi, i hope you can help me with my problem, i got the PKGBUILD file from the AUR, and tried to make a package to install, but makepkg allways ends, saying


make[2]: Entering directory `/var/abs/local/src/ion-3ds-20050406/utils/ion-completefile'
make[2]: CC@: Command not found
make[2]: *** [ion-completefile] Error 127
make[2]: Leaving directory `/var/abs/local/src/ion-3ds-20050406/utils/ion-completefile'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/abs/local/src/ion-3ds-20050406/utils'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.  Aborting...

can anyone tell me what went wrong?

Offline

#2 2005-05-10 16:58:24

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ion3 makepkg error [solved]

trapdoor wrote:
make[2]: CC@: Command not found
make[2]: *** [ion-completefile] Error 127

a) AUR isn't perfect and the packages aren't going to always work.
b) it seems the makefile has an error in it... if you want to manually fix that, go to the line it points you to and change "CC@" to "@CC@" - that should fix it.  You can also use sed to accomplish the same thing

Offline

#3 2005-05-10 17:26:46

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: ion3 makepkg error [solved]

The file says "CC=@CC@" so this couldn't be the problem, it's also strange that "echo $CC" didn't show any results so may it be that the problem is that $CC has no value?

Offline

#4 2005-05-10 17:51:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ion3 makepkg error [solved]

hrrrmmm... check the configure output... maybe it's not detecting gcc...

Offline

#5 2005-05-10 18:25:58

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: ion3 makepkg error [solved]

It does detect gcc, maybe someone could be so nice and make a package for me, so i have the binary, beacuse im working on this for 2 hours and i don't make any progress... just send me a pm or post in this threat to get my email adress

edit: finally it worked after editing some config files

Offline

#6 2005-05-11 03:16:36

dk
Member
Registered: 2004-04-20
Posts: 106

Re: ion3 makepkg error [solved]

The AUR package should be for the latest snap. I noticed in
your error messeage ion-3ds-20050406. The latest snap
is ion-3ds-20050502. That may have something to do with it

This one worked for me

# Contributor: Christopher 'cycoon' Pfann <chris330@gmx.de>

pkgname=ion
pkgver=3ds20050502
pkgrel=1
pkgdesc="A keyboard-friendly tiling (no overlapping windows) window manager"
depends=('x-server' 'lua>=5.0.2' 'libtool')
source=(http://modeemi.fi/~tuomov/ion/dl/ion-3ds-20050502.tar.gz 
    ion.desktop)
url="http://modeemi.fi/~tuomov/ion/"

build() {
  cd $startdir/src/ion-3ds-20050502

  ./configure --prefix=/usr
  /usr/bin/make ETCDIR=/etc/ion || return 1
  /usr/bin/make prefix=$startdir/pkg/usr ETCDIR=$startdir/pkg/etc/ion install

  # set up desktop session file
  /bin/mkdir -p $startdir/pkg/etc/X11/sessions
  /bin/cp $startdir/ion.desktop $startdir/pkg/etc/X11/sessions
}
# vim: ts=2 sw=2 et ft=sh

md5sums=('545cbb9894ee8fe47fc97e51c28227a5' '4c4a02e5258c6c35d7cb26abe0177cb6')

ion.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Ion
Comment=The Ion window manager
Exec=ion
# no icon yet, only the top three are currently used
Icon=
Type=Application

Offline

Board footer

Powered by FluxBB