Build of sawfish/librep on arch Linux?
Petter Gustad <[email protected]> Sun, 11 Jan 2026 15:31:55 +0100 (CET)
| Newsgroups | gmane.comp.window-managers.sawfish |
|---|---|
| Message-ID | <[email protected]> |
Did anybody succeed building sawfish on a recent Arch Linux installation?
It appears that it is not able to detect the lisp value type by simply
running configure. If I configure it as "long long" I get a later
error saying that rep_PTR_SIZED_INT_SIZEOF is undef. Did anybody
resolve this issue?
Here is what I did:
git checkout librep-0.92.7
git checkout -- .
git clean -dxf
./autogen.sh
Which results in:
checking for data type to store Lisp values... configure: error: cannot find Lisp value type; set --with-value-type (see README)
Then:
./configure --with-value-type="long long"
config.status: executing libtool commands
== == == == == == == == == == == == ==
librep: 0.92.7
== == == == == == == == == == == == ==
prefix: /usr/local
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
== == == == == == == == == == == == ==
compiler: gcc
cflags: -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes
preprocessor: gcc -E
cppflags:
ldflags:
makeflags:
== == == == == == == == == == == == ==
libgmp: yes
libgdbm: yes
readline: yes
libffi: yes
== == == == == == == == == == == == ==
Which appears to be ok. Running make yields:
make[1]: Entering directory '/home/petter/projects/sawfish/librep.git/intl'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/petter/projects/sawfish/librep.git/intl'
make[1]: Entering directory '/home/petter/projects/sawfish/librep.git/src'
/bin/sh ../libtool --mode=compile --tag=CC gcc -c -DHAVE_CONFIG_H -I. -I../src -I.. -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes continuations.c
libtool: compile: gcc -c -DHAVE_CONFIG_H -I. -I../src -I.. -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes continuations.c -fPIC -DPIC -o .libs/continuations.o
In file included from rep.h:36,
from repint.h:44,
from continuations.c:117:
rep_config.h:29:34: error: 'undef' undeclared here (not in a function)
29 | #define rep_PTR_SIZED_INT_SIZEOF undef
| ^~~~~
rep_lisp.h:84:33: note: in expansion of macro 'rep_PTR_SIZED_INT_SIZEOF'
84 | #define rep_CELL_ALIGNMENT rep_PTR_SIZED_INT_SIZEOF
| ^~~~~~~~~~~~~~~~~~~~~~~~
rep_lisp.h:104:55: note: in expansion of macro 'rep_CELL_ALIGNMENT'
104 | # define rep_ALIGN_CELL(d) d __attribute__ ((aligned (rep_CELL_ALIGNMENT)))
| ^~~~~~~~~~~~~~~~~~
rep_lisp.h:395:5: note: in expansion of macro 'rep_ALIGN_CELL'
395 | rep_ALIGN_CELL(static const rep_string v) = { \
| ^~~~~~~~~~~~~~
rep_lisp.h:811:18: note: in expansion of macro 'DEFSTRING'
811 | repv Q ## x; DEFSTRING(str_ ## x, name)
| ^~~~~~~~~
continuations.c:273:1: note: in expansion of macro 'DEFSYM'
273 | DEFSYM(continuation, "continuation");
| ^~~~~~
make[1]: *** [Makefile:98: continuations.lo] Error 1
make[1]: Leaving directory '/home/petter/projects/sawfish/librep.git/src'
make: *** [Makefile:137: all] Error 1
Thanks!
Best regards
//Petter
--
Sawfish ML