|
Post by rikky on Aug 12, 2023 7:27:07 GMT 1
Hello, I seem to have a problem, that other people do not have, for I do not hear any complaints. So I suppose my system is corrupt (again ;°) ./configure works: (although I did not order any ksh) Congratulations, all requirements are met!
- Makefile created. - Using '/usr/bin/ksh' to compile BaCon. - Creating the legacy BaConGUI for GTK.
Now run 'make' and 'make install' to build and install BaCon.
but then make says: rm -f build/* build-cpp/* ./bacon.sh[120]: typeset: -A: unknown option ./bacon.sh[399]: syntax error: unexpected operator/operand '=~' make: *** [Makefile:25: bacon] Error 1
Fortunately ./bacon.sh ./bacon.bac gives a new bacon, with indeed the version 4.7 Rik.
|
|
|
Post by Pjot on Aug 12, 2023 13:27:17 GMT 1
Hi rikky,
You probably are using a different KSH version which does not support associative arrays. There are multiple Korn Shells available, and you need the one which has a timestamp after 2012.
The following check could help you out:
$ /usr/bin/ksh --version version sh (AT&T Research) 93u+m/1.0.0-beta.2 2021-12-17
So this version is able to build BaCon.
If you want to force a build with bash, you can run the 'configure' script as follows:
./configure --with-bash
HTH Peter
|
|
|
Post by rikky on Aug 12, 2023 19:41:46 GMT 1
Aha. /usr/bin/ksh --version response : /usr/bin/ksh: /usr/bin/ksh: --: unknown option I suppose that means very old. Thanks.
|
|