bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation problem


From: Emmanuel Charpentier
Subject: Re: Compilation problem
Date: Thu, 25 May 2023 13:10:11 +0200
User-agent: Evolution 3.46.4-2

Le jeudi 25 mai 2023 à 11:34 +0200, Dr. Jürgen Sauermann a écrit :

CXXFLAGS="-I /usr/include/python3.10" ./configure --with-python

Thanks ! In a fresh obj, this (modulo python.3.11 for me) got rid of the initial error. But I got another one :

/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src -I..    -Wall -Wno-parentheses -I sql -I /home/charpent/Dev/apl/trunk/obj/..  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread    -I/usr/include -I/usr/include/postgresql    -DNDEBUG -D_FORTIFY_SOURCE=2 -fwrapv -fPIC -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/python3.6m -I/usr/include/python3.8  -I /usr/include/python3.11 -I /home/charpent/Dev/apl/trunk/obj -MT sql/lib_gnu_apl_la-SqliteProvider.lo -MD -MP -MF sql/.deps/lib_gnu_apl_la-SqliteProvider.Tpo -c -o sql/lib_gnu_apl_la-SqliteProvider.lo `test -f 'sql/SqliteProvider.cc' || echo '../../src/'`sql/SqliteProvider.cc
../../src/python_apl.cc: In function ‘PyObject* apl_exec(PyObject*, PyObject*)’:
../../src/python_apl.cc:179:31: error: no matching function for call to ‘Command::process_line(UCS_string&)’
  179 |    try { Command::process_line(line_ucs); }
      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from ../../src/python_apl.cc:5:
../../src/Command.hh:46:16: note: candidate: ‘static void Command::process_line()’
   46 |    static void process_line();
      |                ^~~~~~~~~~~~
../../src/Command.hh:46:16: note:   candidate expects 0 arguments, 1 provided
../../src/Command.hh:49:16: note: candidate: ‘static void Command::process_line(UCS_string&, std::ostream*)’
   49 |    static void process_line(UCS_string & line, ostream * out);
      |                ^~~~~~~~~~~~
../../src/Command.hh:49:16: note:   candidate expects 2 arguments, 1 provided
../../src/python_apl.cc:200:50: error: incomplete type ‘StateIndicator’ used in nested name specifier
  200 |              const Error & err = StateIndicator::get_error(si);
      |                                                  ^~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -Wno-parentheses -I sql -I /home/charpent/Dev/apl/trunk/obj/.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include -I/usr/include/postgresql -DNDEBUG -D_FORTIFY_SOURCE=2 -fwrapv -fPIC -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/python3.6m -I/usr/include/python3.8 -I /usr/include/python3.11 -I /home/charpent/Dev/apl/trunk/obj -MT sql/lib_gnu_apl_la-SqliteProvider.lo -MD -MP -MF sql/.deps/lib_gnu_apl_la-SqliteProvider.Tpo -c ../../src/sql/SqliteProvider.cc  -fPIC -DPIC -o sql/.libs/lib_gnu_apl_la-SqliteProvider.o
make[3]: *** [Makefile:2779 : lib_gnu_apl_la-python_apl.lo] Erreur 1

which seems of a different source...

Logs attached.

--
Emmanuel Charpentier

Attachment: compilation.log
Description: Text Data

Attachment: config.log
Description: Text Data

Attachment: config.status
Description: application/shellscript

Attachment: configuration.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]