Re: How to compile sawfish (with makepp)?
- From: Daniel Pfeiffer <occitan t-online de>
- To: General discussion about sawfish wm <sawfish-list gnome org>
- Subject: Re: How to compile sawfish (with makepp)?
- Date: Tue, 21 Dec 2010 08:23:42 +0100
la 12/21/2010 12:18 AM Harald van Dijk skribis:
On Mon, 2010-12-20 at 23:18 +0100, Daniel Pfeiffer wrote:
la 12/20/2010 12:42 AM Harald van Dijk skribis:
Instead of setting LIBREP_CFLAGS and LIBREP_LIBS, set PKG_CONFIG_PATH
to /path/to/your/sawfish/dir/lib/pkgconfig. When librep installs its .pc
file there, it will be picked up from rep-gtk's configure script.
That's better, but not perfect. It gives these compiler options
-I/opt/sawfish/include/rep// -I/opt/sawfish/lib/rep/i686-pc-linux-gnu/
which lead to many errors all like:
rep-gtk.h:28: fatal error: rep/rep.h: No such file or directory
Huh. You're right. I believe it is actually supposed to work like that
already, but since it doesn't, you may also add -I/opt/sawfish/include
to your CFLAGS. I've tested this locally, after renaming
my /usr/include/rep/rep.h, and the build and install completes
successfully.
Well either the consumers include statements must not start with rep/ or
librep must advertise
includedir=${prefix}/include
I patched the pc file that way, reconfigured and makepp compiled
rep-gtk-0.90.4 out of the box :-)
So now I have two pc files installed. Neither of them advertises
/opt/sawfish/bin. But that is where repdoc is, and sawfish needs it to
build. So I extend PATH to get over that. Now makepp fails again because of
VPATH. But gmake also tries something very naughty, even though configured
with --prefix:
/usr/bin/install: cannot create regular file
`/usr/share/kde4/apps//ksmserver/windowmanagers/sawfish.desktop': Permission
denied
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
--
lerne / learn / apprends / lär dig / ucz się Esperanto:
http://lernu.net / http://ikurso.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]