You are not logged in.

#1 2006-02-21 20:31:47

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

makepkg doesn't find ....[SOLVED]

after i have upgraded to xorg 7 now 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 ?

thanks !

Offline

#2 2006-02-21 20:53:48

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

Re: makepkg doesn't find ....[SOLVED]

What package are you trying to build? Can you post the PKGBUILD? Try adding a
--x-includes=/usr/include/X11
to the configure line.

Offline

#3 2006-02-21 22:23:19

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

Re: makepkg doesn't find ....[SOLVED]

Snowman wrote:

What package are you trying to build? Can you post the PKGBUILD? Try adding a
--x-includes=/usr/include/X11
to the configure line.

with your commandline i does work ok.
but this problem happens with alla package that search for x-includes
so there is a problem with this PATH i think...

Offline

#4 2006-02-21 22:51:47

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

Re: makepkg doesn't find ....[SOLVED]

Snowman wrote:

What package are you trying to build? Can you post the PKGBUILD?

I sucessfully built several apps that needed Xlibs/includes so it's probably a problem with your PKGBUILD.

Offline

#5 2006-02-21 22:59:20

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

Re: makepkg doesn't find ....[SOLVED]

Snowman wrote:
Snowman wrote:

What package are you trying to build? Can you post the PKGBUILD?

I sucessfully built several apps that needed Xlibs/includes so it's probably a problem with your PKGBUILD.

no, there is no problem with PKGBUILD, i have another Arch-PC that i have upgraded to xorg 7 and it compile just fine the same PKGBUILD
so the problem is on my other PC...

This is the PKGBUILD:

# Maintainer: Torsten Evers <tevers@onlinehome.de>
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
}

Offline

#6 2006-02-22 17:28:38

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

Re: makepkg doesn't find ....[SOLVED]

i've fixed my problems usin this little python program:

http://www.zamprogno.it/index.php/Pytho … o_PacWorld
MANY library was missing on my system after xorg7 upgrade...
Even if package was installed , with this utility i've found all
missing file and reinstalled the package fixed the problem smile

Offline

#7 2006-02-24 21:38:49

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: makepkg doesn't find ....[SOLVED]

Hi

I´ m trying to build mplayer, but it fails also.

Checking for XShape extension ...
Error: The GUI requires the X11 extension XShape (which was not found).

I already included this in the PKGBUILD

--with-x11incdir=/usr/include/X11 --with-x11libdir=/usr/include/X11

Offline

#8 2006-02-25 01:27:54

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

Re: makepkg doesn't find ....[SOLVED]

make sure  xextproto is installed.

Also the X libs are in /usr/lib, not in /usr/include/X11 :
--with-x11incdir=/usr/include/X11 --with-x11libdir=/usr/lib

Offline

#9 2006-02-25 10:00:01

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: makepkg doesn't find ....[SOLVED]

same error.

Offline

#10 2006-02-25 12:36:27

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

Re: makepkg doesn't find ....[SOLVED]

mic64 wrote:

same error.

have you tryed my program ?
all the packages are to their place?

Offline

#11 2006-02-25 13:10:26

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: makepkg doesn't find ....[SOLVED]

well if you could write here in english how to use it and what it does,
I would like to try it.

thanks
mic64

Offline

#12 2006-02-25 18:51:36

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

Re: makepkg doesn't find ....[SOLVED]

mic64 wrote:

well if you could write here in english how to use it and what it does,
I would like to try it.

thanks
mic64

it simply 'iterate' on all installed packages and test that all files compose them  are present
on your hd.

to use it:

python pacworld.py   <-------- only to see if there are missing files
python pacworld.py -e  <-------- run also "pacman -S packagename" to fix it
you can write also a  "pacworld.not" and set a packagename on every line, for any package you do not want is processed by pacworld.py

sorry for bad english but i'm Italian... ;-)

Offline

#13 2006-03-04 17:24:55

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: makepkg doesn't find ....[SOLVED]

L0cutus

thanks for your little proggi.
Its fixed almost all issues.

mic64

Offline

#14 2006-03-04 18:02:12

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

Re: makepkg doesn't find ....[SOLVED]

mic64 wrote:

L0cutus
thanks for your little proggi.
Its fixed almost all issues.
mic64

wow, great smile

Offline

#15 2006-03-19 08:12:50

ibrahim
Member
Registered: 2006-02-18
Posts: 53

Re: makepkg doesn't find ....[SOLVED]

I just wanna say that I found your program really helpful L0cutus. Personally I just greped out the 'pacman -S blah' lines into a text file so that i could have a bit more control over what was going on as far as installing but still, it was very useful. Good stuff

I know this is a somewhat old thread but I'm thinking if I bump it to say thanks instead of a pm soeone else might stumble across this and find it useful too

Offline

#16 2006-03-19 14:43:04

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: makepkg doesn't find ....[SOLVED]

Neat little utility - one problem though is that it doesn't handle names with spaces very well... one package in particular on my system (stepmania) has a _lot_ of these packages, and so it reported a lot missing, even though there wasn't.

Otherwise, it was awfully helpful.  For some reason my entire hicolor icon theme disappeared - now it's back. big_smile

Offline

Board footer

Powered by FluxBB