You are not logged in.

#1 2004-12-01 19:24:18

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Problem with xxkb

I am tray to build xxkb

# Contributor Alexei Rozenvaser <alexroz@mail333.com>
pkgname=xxkb-cvs
pkgver=1.10
pkgrel=1
pkgdesc="A keyboard layout indicator and selector."
url="http://sourceforge.net/projects/xxkb/"
license=""
depends=()
makedepends=('cvs')
conflicts=()
replaces=()
backup=()
install=
source=()
md5sums=()

build() {
  cd $startdir/src
  cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb login
  cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb co ./
  xmkmf
  make || return 1
  make prefix=$startdir/pkg/usr install
}

But get some error :

install -c   xxkb /usr/X11R6/bin/xxkb
install -c -m 0444 XXkb.ad /usr/X11R6/lib/X11/app-defaults/XXkb
make: *** No rule to make target `pixmaps/*.xpm', needed by `install'.  Stop.
==> ERROR: Build Failed.  Aborting...

Offline

#2 2004-12-01 19:34:48

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

Re: Problem with xxkb

try using "xmkmf -a"

if that fails, post the generated Makefile here so I can check it out...

Offline

#3 2004-12-01 19:57:06

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Problem with xxkb

With "xmkmf -a" I get same error.
Makefile indentical with xmkmf -a and without "-a"
http://fortuna.net/pub/linux/xxkb/Makefile

Offline

#4 2004-12-01 19:59:49

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

Re: Problem with xxkb

@leX wrote:

With "xmkmf -a" I get same error.
Makefile indentical with xmkmf -a and without "-a"
http://fortuna.net/pub/linux/xxkb/Makefile

broken link....

Offline

#5 2004-12-01 20:09:16

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Problem with xxkb

Offline

#6 2004-12-01 23:48:36

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

Re: Problem with xxkb

try switching "prefix" to "DESTDIR" - if you notice the files were installed to your /etc/X11 dirs, not the pkg dir....
try that first... are you root when building this?

Offline

#7 2004-12-02 06:29:30

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Problem with xxkb

I am root when building this.

Offline

#8 2004-12-09 12:49:51

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Problem with xxkb

@leX wrote:

I am root when building this.

it is really dangerous being root while building pkgs (as it is possible, that files are installed directly to the filesystem ... and this is not indendend)


The impossible missions are the only ones which succeed.

Offline

#9 2005-02-04 19:39:55

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Problem with xxkb

In the some fix in the xxkb cvs at last wiks xxkb compiled without any problem.
It's a final version of PKGBUILD

pkgname=xxkb 
pkgver=1.10cvs
pkgrel=1 
pkgdesc="A keyboard layout indicator and selector." 
url="http://sourceforge.net/projects/xxkb/" 
license="" 
depends=() 
makedepends=('cvs') 
conflicts=() 
replaces=() 
backup=() 
install= 
source=() 
md5sums=() 

build() { 
  cd $startdir/src
  msg "Logging in to anonymous CVS... Please press 'enter'."
  cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb login
  msg "Fetching sources from CVS..."
  cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb co ./ 
  xmkmf 
  make || return 1 
  make DESTDIR=$startdir/pkg install 
}

Offline

#10 2005-02-11 22:12:24

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: Problem with xxkb

Current CVS version compiled without pathes and without problems.

pkgname=xxkb 
pkgver=1.10cvs
pkgrel=1 
pkgdesc="A keyboard layout indicator and selector." 
url="http://sourceforge.net/projects/xxkb/" 
license="" 
depends=() 
makedepends=('cvs') 
conflicts=() 
replaces=() 
backup=() 
install= 
source=() 
md5sums=() 

build() { 
  cd $startdir/src
  msg "Logging in to anonymous CVS... Please press 'enter'."
  cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb login
  msg "Fetching sources from CVS..."
  cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xxkb co ./ 
  xmkmf 
  make || return 1 
  make DESTDIR=$startdir/pkg install 
}

Offline

Board footer

Powered by FluxBB