Thanks, Serge, it helped.
Now I got other issues. ;-)
1.
------------------------
NDOR='"hp"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DCOMMANDER -DHAVE_CONFIG_H -DHPUX -I. -I. -I./include -I./lib -I./lib/intl -I/data1/ademin/bashc/bashc-3.2.33.0/lib/intl -g -c commander.c
Warning 1042: "commander.c", line 451 # Subscript out of range.
if (fi->name[1] == '.' && ! fi->name[2])
^
Warning 1042: "commander.c", line 1927 # Subscript out of range.
if (fi->name[0] == '.' && fi->name[1] == '.' && ! fi->name[2])
^
Error 181: "commander.c", line 2233 # Expected 0 argument(s) for "void cmdr_start_file()"; had 1 instead.
cmdr_start_file (fi);
^^^^^^^^^^^^^^^^^^^^
*** Error exit code 2
Stop.
------------------------
Platform is:
------------------------
(hpi2) bashc-3.2.33.0 $ uname -a
HP-UX hpi2 B.11.23 U ia64 1633651702 unlimited-user license
------------------------
Compiler is:
------------------------
(hpi2) bashc-3.2.33.0 $ cc --version
cc: HP aC++/ANSI C B3910B A.05.57 [June 23 2004]
------------------------
I did a little hack patch and it works now. Maybe the patch should more detailed but you know better about it for sure. ;-)
Here it is:
------------------------
(hpi2) bashc-3.2.33.0 $ diff commander.c.orig commander.c
2233c2233
< cmdr_start_file (fi);
---
> cmdr_start_file ();
------------------------
2. When I'm trying to start the visual mode, it says:
------------------------
hpi2-~/bashc/bashc-3.2.33.0: . examples/startup-files/bash_commander
(hpi2) bashc-3.2.33.0 $ Cannot enable commander: cursor positioning not supported
------------------------
I suppose I need something like 'ncurses' instead of 'xcurses'. There is a 'ldd' report:
------------------------
(hpi2) bashc-3.2.33.0 $ ldd bashc
libxcurses.so.1 => /usr/lib/hpux32/libxcurses.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
------------------------
I understand that HPUX is a pain in the ass but I have to use all these machines from my zoo, that is why I keen to have bashc. ;-)
Anyway, have a look when you have a change.
Regards,
Alexander