la 12/20/2010 11:18 PM Daniel Pfeiffer skribis:
la
12/20/2010 12:42 AM Harald van Dijk skribis:
REP-GTK 0.90.4
I don't know where to start, or rather how to tell it where I
put
librep. I tried (I want all sawfish stuff in the same dir):
configure --prefix=/opt/sawfish
LIBREP_CFLAGS=-I/opt/sawfish/include
LIBREP_LIBS=-L/opt/sawfish/lib
which works, but in the top makefile I get an impossible
repexecdir=
include $(repexecdir)/rules.mk
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
In case it helps, here's the content with an overspecified includedir
version=0.91.0
host_type=i686-pc-linux-gnu
prefix=/opt/sawfish
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
repexecdir=${libdir}/rep/${version}/${host_type}
repcommonexecdir=${libdir}/rep/${host_type}
includedir=${prefix}/include/rep/
Cflags: -I${includedir}/ -I${repcommonexecdir}/
Libs: -L${exec_prefix}/lib -lrep -lcrypt -lgmp -lm
Name: librep
Description: librep - a lisp dialect
Version: 0.91.0
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
|