You are not logged in.

#1 2006-02-22 10:13:34

L0cutus
Member
Registered: 2005-11-17
Posts: 24

makepkg fail after xorg7

Hello

after i have upgraded to xorg 7 ,makepkg exit with this error:

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
make: *** No targets specified and no makefile found. Stop.

any idea on how to fix this ?
PKGBUILD samples:

pkgname=ksensors
pkgver=0.7.3
pkgrel=2
pkgdesc="nice frontend to sensors for KDE"
url="http://mesh.dl.sourceforge.net/sourceforge/ksensors/ksensors-0.7.3.tar.gz"
license="GPL"
depends=(lm_sensors kdelibs)
makedepends=(lm_sensors kdelibs)
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/ksensors/$pkgname-$pkgver.tar.gz)
md5sums=('4f6c5d7dea5e637e772d17f1e547d6f1')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/kde
  make || return 1
  make DESTDIR=$startdir/pkg install
} 

thanks !

Offline

#2 2006-02-22 14:12:44

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

Re: makepkg fail after xorg7

You need something like

--x-includes=/usr/include/X11

in your configure line - check

./configure --help

for the exact format.

Offline

#3 2006-02-23 02:27:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: makepkg fail after xorg7

This is a cross-post: http://bbs.archlinux.org/viewtopic.php?t=19062
BTW. It has been solved.

Offline

Board footer

Powered by FluxBB