Cool, glad it worked.
On 9/22/24 13:03, Ala'a Mohammad wrote:
thanks! ./configure --without-gtk3 worked.
On Sun, Sep 22, 2024 at 8:02 PM Henrik Moller<hen...@henrikmoller.me> wrote:
For what it's worth, it looks like this might be related to gtk3, but it builds
okay under Fedora Linux with GTK3 installed and:
./configure
./configure --without-gtk3
./configure --with-gtk3
Do you have GTK3 installed? --with-gtk3 is the default. Maybe if GTK3 isn't
there and it tries to compile with gtk3 enabled, something breaks? Maybe try
compiling --without-gtk3?
On 9/22/24 11:27, Ala'a Mohammad wrote:
I'd cloned the svn repository and tried to compile it but got the following:
Quad_PNG.cc:923:1: error: redefinition of ‘Token
Quad_PNG::eval_AB(Value_P, Value_P) const’
923 | Quad_PNG::eval_AB(Value_P A, Value_P B) const { return eval_B(B); }
| ^~~~~~~~
Quad_PNG.cc:646:1: note: ‘virtual Token Quad_PNG::eval_AB(Value_P,
Value_P) const’ previously defined here
646 | Quad_PNG::eval_AB(Value_P A, Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:926:1: error: redefinition of ‘Token
Quad_PNG::eval_B(Value_P) const’
926 | Quad_PNG::eval_B(Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:323:1: note: ‘virtual Token Quad_PNG::eval_B(Value_P)
const’ previously defined here
323 | Quad_PNG::eval_B(Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:935:1: error: redefinition of ‘Quad_PNG::Quad_PNG()’
935 | Quad_PNG::Quad_PNG() : QuadFunction(TOK_Quad_PNG) {}
| ^~~~~~~~
Quad_PNG.cc:134:1: note: ‘Quad_PNG::Quad_PNG()’ previously defined here
134 | Quad_PNG::Quad_PNG()
| ^~~~~~~~
Quad_PNG.cc:936:1: error: redefinition of ‘Quad_PNG::~Quad_PNG()’
936 | Quad_PNG::~Quad_PNG() {}
| ^~~~~~~~
Quad_PNG.cc:140:1: note: ‘virtual Quad_PNG::~Quad_PNG()’ previously defined here
140 | Quad_PNG::~Quad_PNG()
| ^~~~~~~~
make[3]: *** [Makefile:4704: apl-Quad_PNG.o] Error 1
make[3]: Leaving directory '/home/alaa/src/apl/trunk/src'
make[2]: *** [Makefile:5340: all-recursive] Error 1
make[2]: Leaving directory '/home/alaa/src/apl/trunk/src'
make[1]: *** [Makefile:542: all-recursive] Error 1
make[1]: Leaving directory '/home/alaa/src/apl/trunk'
make: *** [Makefile:430: all] Error 2
The svn is at 1779, and the libpng-dev is installed. However, the
error complains about redefinition. I can work around it by manually
modifying offending parts, but is this the correct way? Am I missing
something?
Regards,
On Sun, Sep 22, 2024 at 7:06 PM Ala'a Mohammad<amal...@gmail.com> wrote:
thanks!
On Sun, Sep 22, 2024 at 7:05 PM Blake McBride<blake1...@gmail.com> wrote:
That is an old bug that has been correct in the current (repo) version.
Blake McBride
On Sun, Sep 22, 2024 at 6:08 AM Ala'a Mohammad<amal...@gmail.com> wrote:
Hi,
I'm trying the following but got an error, and could not understand the reason:
(a b)← (⍳3) 9
==============================================================================
Assertion failed: sym_var
in Function: collect_symbols
in file: Prefix.cc:272
C/C++ call stack:
----------------------------------------
-- Stack trace at Assert.cc:75
----------------------------------------
0x7f29cc81ce40 __libc_start_main
0x7f29cc81cd90
0x5651d074bf9a main
0x5651d08f17ed Workspace::immediate_execution(bool)
0x5651d07a58d5 Command::process_line()
0x5651d07a7e5b Command::finish_context()
0x5651d07ca6e8 Executable::execute_body() const
0x5651d0803fd0 Prefix::reduce_statements()
0x5651d080e78e Prefix::reduce_V_RPAR_ASS_B()
0x5651d0803507
Prefix::collect_symbols(std::__cxx11::basic_string<Symbol*,
std::char_traits<Symbol*>, std::allocator<Symbol*> >&)
0x5651d076d118 do_Assert(char const*, char const*, char const*, int)
========================================
========================================
SI stack:
Depth: 0
Exec: 0x5651d214b0b0
Safe exec: 0
Pmode: ◊ (a b)← (⍳3) 9
PC: 9 (12) (
Stat: (a b)← (⍳3) 9
err_code: 0x0
==============================================================================
I'm using the 1.9 release deb file.
regards,