Hi all,
i have always compile succesfully emacs with this command:
git clone https://github.com/emacs-mirror/emacs.git
cd /app/emacs
git reset --hard
git pull
sudo make uninstall
sudo make clean
git checkout default
git submodule update --init --recursive
./autogen.sh
./configure
make bootstrap -j 32
sudo make install
but now i have this error:
[code]
CC xgselect.o
CC terminfo.o
CC lastfile.o
image.c: In function ‘svg_load_image’:
image.c:12358:12: error: implicit declaration of function
‘rsvg_handle_get_pixbuf_and_error’; did you mean
‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle,
&err);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rsvg_handle_get_pixbuf_sub
image.c:12358:12: warning: nested extern declaration of
‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]
image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle,
&err);
| ^
make[3]: *** [Makefile:457: image.o] Errore 1
make[3]: *** Attesa per i processi non terminati....
make[3]: uscita dalla directory «/app/emacs/src»
make[2]: *** [Makefile:554: src] Errore 2
make[2]: uscita dalla directory «/app/emacs»
make[1]: *** [Makefile:1299: actual-bootstrap] Errore 2
make[1]: uscita dalla directory «/app/emacs»
make[1]: ingresso nella directory «/app/emacs»
***
*** "make bootstrap" failed with exit status 2.
***
*** You could try to:
*** - run "make extraclean" and run "make" again (or,
equivalently, run
*** "make bootstrap configure=default"), to rebuild Emacs with
the
*** default configuration options, which might fix the problem
*** - run "git clean -fdx" and run "make bootstrap" again, which
might
*** fix the problem if "make bootstrap configure=default" did
not
*** !BEWARE! "git clean -fdx" deletes all files that are not
under
*** !BEWARE! version control, which means that all changes to
such
*** !BEWARE! files will be lost and cannot be restored later
*** - run "make V=1", which displays the full commands invoked by
make,
*** to further investigate the problem
*** - report the problem and ask for help by sending an email to
*** bug-gnu-emacs@gnu.org, mentioning at least the build error
*** message, the platform, and the repository revision displayed
by
*** "git rev-parse HEAD"
***
make[1]: *** [Makefile:418: advice-on-failure] Errore 2
make[1]: uscita dalla directory «/app/emacs»
make: *** [Makefile:1282: bootstrap] Errore 2
make -C lib all
make[1]: ingresso nella directory «/app/emacs/lib»
make[1]: Nessuna operazione da eseguire per «all».
make[1]: uscita dalla directory «/app/emacs/lib»
make -C lib-src all
make[1]: ingresso nella directory «/app/emacs/lib-src»
make[1]: Nessuna operazione da eseguire per «all».
make[1]: uscita dalla directory «/app/emacs/lib-src»
make -C src BIN_DESTDIR='/usr/local/bin/' \
ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all
make[1]: ingresso nella directory «/app/emacs/src»
CC image.o
image.c: In function ‘svg_load_image’:
image.c:12358:12: error: implicit declaration of function
‘rsvg_handle_get_pixbuf_and_error’; did you mean
‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle,
&err);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rsvg_handle_get_pixbuf_sub
image.c:12358:12: warning: nested extern declaration of
‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]
image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle,
&err);
| ^
make[1]: *** [Makefile:457: image.o] Errore 1
make[1]: uscita dalla directory «/app/emacs/src»
make: *** [Makefile:554: src] Errore 2
[/code]
how can i solve it?
best regards