| [Sawfish] Build of sawfish/librep on arch Linux? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] Build of sawfish/librep on arch Linux?
- From: Petter Gustad <sawfish@xxxxxxxxxx>
- Date: Sun, 11 Jan 2026 15:31:55 +0100 (CET)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gustad.com; s=fireku; t=1768141916; bh=EAOdG6ci26mfASSlrwYfzDeKvKXMj8ThCOdJF4WZqzA=; h=Date:To:Subject:From; b=Ju+aArZerQOAfq9IopeStGebaC6jbeDrZ+YQluuJwGcp763PWe0FXQKwgZMYx5hKF 3zRLvaQ4kk1+ZAkroBr+ong1JQCapmd1emhXq8R+N0w3r85LtvzaphV6bGKuF69bSU 9J0UIv4x58RvvrUvm1orLmUb98zn5aSiZOxFAj7JOJRGDt0PkBXEToKCIcGRDoGkp7 9Ba4K5eVJO0BLdy+ZHTtH6+m16x9TtgC6OVdq3Po2M+A7XEzoEFDAKuTSbQEsf6Y6k bkX/QZgTYyuoD68a5ng016LHDVQgSQDi+R+C4JzaRnzJFrF9umb4Hx8tgylA0vJEmk EMFpebM6YdVrQ==
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