* Problem compiling Emacs
@ 2021-12-15 8:42 Gian Uberto Lauri
2021-12-15 18:03 ` Glenn Morris
0 siblings, 1 reply; 8+ messages in thread
From: Gian Uberto Lauri @ 2021-12-15 8:42 UTC (permalink / raw)
To: help-gnu-emacs
Hello there.
I checked out the master branch of GNU Emacs, run ./configure --with-x-toolkit=gtk and then make bootstrap.
Compilation goes in error ant this is the part I thing interesting in the output
--------------------------------------------8<--------------------
Reloading stale uni-special-titlecase.el
Loading /home/saint/sorgenti/emacs/lisp/international/uni-special-titlecase.el (source)...
File mode specification error: (error Recursive load /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el)
File local-variables error: (error Recursive load /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el /home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el)
In sort-coding-systems:
international/mule-cmds.el:489:31: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
international/mule-cmds.el:489:31: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
international/mule-cmds.el:489:31: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
In find-multibyte-characters:
international/mule-cmds.el:590:57: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
In locale-name-match:
international/mule-cmds.el:2584:31: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
In get-locale-names:
international/mule-cmds.el:2632:8: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
In char-from-name:
international/mule-cmds.el:3179:25: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
international/mule-cmds.el:3179:44: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
In read-char-by-name:
international/mule-cmds.el:3235:35: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
international/mule-cmds.el:3235:35: Error: Recursive load: "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-lowercase.el", "/home/saint/sorgenti/emacs/lisp/international/uni-special-uppercase.el"
make[3]: *** [Makefile:282: ../lisp/international/mule-cmds.elc] Error 1
make[2]: *** [Makefile:830: ../lisp/international/mule-cmds.elc] Error 2
make[2]: Leaving directory '/home/saint/sorgenti/emacs/src'
make[1]: *** [Makefile:456: src] Error 2
make[1]: Leaving directory '/home/saint/sorgenti/emacs'
make: *** [Makefile:1166: bootstrap] Error 2
-------------------------------------------->8--------------------
What did I wrong?
--
Gian Uberto Lauri
Senior Solution Developer
Sistema Informativo Interno
GianUberto.Lauri@eng.it (saint@eng.it funziona ed è più comoda)
Sun Java Certified Programmer
Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD)
Tel. +39-049.7337.293 | main(){printf(&unix["\021%six\012\0"],
Fax +39-049.8283.569 | (unix)["have"]+"fun"-0x60);}
http://www.eng.it | David Korn, AT&T Bell Labs
| ioccc best One Liner, 1987
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-15 8:42 Problem compiling Emacs Gian Uberto Lauri
@ 2021-12-15 18:03 ` Glenn Morris
2021-12-16 15:56 ` Gian Uberto Lauri
0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2021-12-15 18:03 UTC (permalink / raw)
To: Gian Uberto Lauri; +Cc: help-gnu-emacs
"Gian Uberto Lauri" wrote:
> I checked out the master branch of GNU Emacs, run ./configure
> --with-x-toolkit=gtk and then make bootstrap.
[...]
> Reloading stale uni-special-titlecase.el
> Loading
> /home/saint/sorgenti/emacs/lisp/international/uni-special-titlecase.el
> (source)...
> File mode specification error: (error Recursive load
See if "git clean -fdx" (and a rebuild) fixes it.
If it does, and you are sure you ran "make bootstrap" (rather than just
"make") the first time, then IMO that is a bug in the Emacs build process.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-15 18:03 ` Glenn Morris
@ 2021-12-16 15:56 ` Gian Uberto Lauri
2021-12-16 16:59 ` Eli Zaretskii
0 siblings, 1 reply; 8+ messages in thread
From: Gian Uberto Lauri @ 2021-12-16 15:56 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: Gian Uberto Lauri
>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
GM> See if "git clean -fdx" (and a rebuild) fixes it.
the cleanup worked.
Now I have this other problem. I would like to try the jit copiler
(😊) and I get this error by configure:
checking for gcc_jit_context_acquire in -lgccjit... no
configure: error: ELisp native compiler was requested, but libgccjit was not found.
Please try installing libgccjit or a similar package.
If you are sure you want Emacs be compiled without ELisp native compiler,
pass the --without-native-compilation option to configure.
but I have on my machine
root@sequoia:~# dpkg -l | grep libgccjit
ii libgccjit-11-dev:amd64 11.1.0-1ubuntu1~21.04 amd64 GCC just-in-time compilation (development files)
ii libgccjit-11-doc 11.1.0-1ubuntu1~21.04 all GCC just-in-time compilation (documentation)
ii libgccjit0:amd64 11.1.0-1ubuntu1~21.04 amd64 GCC just-in-time compilation (shared library)
So, what did I wrong?
--
/\ ___ Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____ African word
//--\| | \| | Integralista GNUslamico meaning "I can
\/ coltivatore diretto di software not install
già sistemista a tempo (altrui) perso... Debian"
Warning: gnome-config-daemon considered more dangerous than GOTO
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-16 15:56 ` Gian Uberto Lauri
@ 2021-12-16 16:59 ` Eli Zaretskii
2021-12-17 11:02 ` Gian Uberto Lauri
0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2021-12-16 16:59 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 16 Dec 2021 16:56:31 +0100
> From: "Gian Uberto Lauri" <saint@eng.it>
> Cc: Gian Uberto Lauri <saint@eng.it>
>
> checking for gcc_jit_context_acquire in -lgccjit... no
> configure: error: ELisp native compiler was requested, but libgccjit was not found.
> Please try installing libgccjit or a similar package.
> If you are sure you want Emacs be compiled without ELisp native compiler,
> pass the --without-native-compilation option to configure.
>
> but I have on my machine
>
> root@sequoia:~# dpkg -l | grep libgccjit
> ii libgccjit-11-dev:amd64 11.1.0-1ubuntu1~21.04 amd64 GCC just-in-time compilation (development files)
> ii libgccjit-11-doc 11.1.0-1ubuntu1~21.04 all GCC just-in-time compilation (documentation)
> ii libgccjit0:amd64 11.1.0-1ubuntu1~21.04 amd64 GCC just-in-time compilation (shared library)
>
> So, what did I wrong?
Look in config.log for a more detailed report about the problem that
failed the test program run by the configure script.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-16 16:59 ` Eli Zaretskii
@ 2021-12-17 11:02 ` Gian Uberto Lauri
2021-12-17 12:50 ` Eli Zaretskii
2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
0 siblings, 2 replies; 8+ messages in thread
From: Gian Uberto Lauri @ 2021-12-17 11:02 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
EZ> Look in config.log for a more detailed report about the problem
EZ> that failed the test program run by the configure script.
I think the problem is this:
configure:18443: checking libgccjit.h usability
configure:18443: gcc -c -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 conftest.c >&5
conftest.c:195:10: fatal error: libgccjit.h: No such file or directory
195 | #include <libgccjit.h>
| ^~~~~~~~~~~~~
while Ubuntu places the file in
/usr/lib/gcc/x86_64-linux-gnu/11/include/libgccjit.h
The --includedir=/usr/lib/gcc/x86_64-linux-gnu/11/include/ option seems not to solve the problem.
--
/\ ___ Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____ African word
//--\| | \| | Integralista GNUslamico meaning "I can
\/ coltivatore diretto di software not install
già sistemista a tempo (altrui) perso... Debian"
Warning: gnome-config-daemon considered more dangerous than GOTO
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-17 11:02 ` Gian Uberto Lauri
@ 2021-12-17 12:50 ` Eli Zaretskii
2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2021-12-17 12:50 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Fri, 17 Dec 2021 12:02:01 +0100
> Cc: help-gnu-emacs@gnu.org
> From: "Gian Uberto Lauri" <saint@eng.it>
>
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
>
> EZ> Look in config.log for a more detailed report about the problem
> EZ> that failed the test program run by the configure script.
>
> I think the problem is this:
>
> configure:18443: checking libgccjit.h usability
> configure:18443: gcc -c -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 conftest.c >&5
> conftest.c:195:10: fatal error: libgccjit.h: No such file or directory
> 195 | #include <libgccjit.h>
> | ^~~~~~~~~~~~~
>
> while Ubuntu places the file in
>
> /usr/lib/gcc/x86_64-linux-gnu/11/include/libgccjit.h
You should use the CPPFLAGS variable to add include directories to the
include path. See "./configure --help" for more details.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-17 11:02 ` Gian Uberto Lauri
2021-12-17 12:50 ` Eli Zaretskii
@ 2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-12-17 13:26 ` Po Lu
1 sibling, 1 reply; 8+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2021-12-17 13:22 UTC (permalink / raw)
To: help-gnu-emacs
Gian Uberto Lauri [2021-12-17 12:02:01] wrote:
>>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> EZ> Look in config.log for a more detailed report about the problem
> EZ> that failed the test program run by the configure script.
>
> I think the problem is this:
>
> configure:18443: checking libgccjit.h usability
> configure:18443: gcc -c -g3 -O2 -pthread -isystem /usr/include/librsvg-2.0 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 conftest.c >&5
> conftest.c:195:10: fatal error: libgccjit.h: No such file or directory
> 195 | #include <libgccjit.h>
> | ^~~~~~~~~~~~~
>
> while Ubuntu places the file in
>
> /usr/lib/gcc/x86_64-linux-gnu/11/include/libgccjit.h
>
> The --includedir=/usr/lib/gcc/x86_64-linux-gnu/11/include/ option seems not to solve the problem.
Debian also places it there and that didn't cause a problem.
I wonder what's going on,
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem compiling Emacs
2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2021-12-17 13:26 ` Po Lu
0 siblings, 0 replies; 8+ messages in thread
From: Po Lu @ 2021-12-17 13:26 UTC (permalink / raw)
To: Stefan Monnier via Users list for the GNU Emacs text editor
Cc: Stefan Monnier
Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> Debian also places it there and that didn't cause a problem.
> I wonder what's going on,
Isn't the `includedir' option for determining where Emacs itself
_installs_ includes (emacs-module.h?), and not where the build process
looks for them?
Thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-12-17 13:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 8:42 Problem compiling Emacs Gian Uberto Lauri
2021-12-15 18:03 ` Glenn Morris
2021-12-16 15:56 ` Gian Uberto Lauri
2021-12-16 16:59 ` Eli Zaretskii
2021-12-17 11:02 ` Gian Uberto Lauri
2021-12-17 12:50 ` Eli Zaretskii
2021-12-17 13:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-12-17 13:26 ` Po Lu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.