Simon,
Thank you for responding.
Here's what I get:
"../pre-inst-env" cobcrun -q --help
cobcrun: symbol lookup error: cobcrun: undefined symbol: cob_common_initWhen I run cobcrun with: "../pre-inst-env" sh -xv cobcrun "-q --help"
I get "cobcrun: invalid option --"
Without the "-q" I get the help.
Without the "--help" I get a "cobcrun: missing PROGRAM name"
On Saturday, January 4, 2020, 10:02:52 AM PST, Simon Sobisch <simonsobisch@xxxxxx> wrote:
That's a bad error message...
This is what happens:
1 help2man is invoked
2 help2man invokes cobcrun to get the help
3 help2man sees unexpected stderr output and stops with an error
4 the missing script recognizes the error and assumes there must be a
problem with help2man
...
The most likely reason for cobcrun to not start correctly is that
LD_LIBRARY_PATH misses an important path
Please do the following to see the actual error:
cd /export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin
"../pre-inst-env" cobcrun -q --help
Simon
Am 04.01.2020 um 18:22 schrieb George R Goffe:
> Hi,
>
> Still more build problems.
>
> I don't know what do to here. Help2man is in all the "usual" places. NO
> /usr/local here though.
>
> Best regards,
>
> George...
>
>
> make
> make all-recursive
> make[1]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> Making all in .
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> Making all in lib
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/lib'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/lib'
> Making all in libcob
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/libcob'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/libcob'
> Making all in bin
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin'
> "../pre-inst-env" /bin/bash
> /tools/gnucobol/obj-x86_64-pc-linux-gnu/build_aux/missing help2man
> --output=cobcrun.1 --info-page=gnucobol "cobcrun -q"
> help2man: can't get `--help' info from cobcrun -q
> Try `--no-discard-stderr' if option outputs to stderr
> WARNING: 'help2man' is missing on your system.
> You should only need it if you modified a dependency of a man page.
> You may want to install the GNU Help2man package:
> <https://www.gnu.org/software/help2man/>
> make[2]: *** [Makefile:1006: cobcrun.1] Error 127
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin'
> make[1]: *** [Makefile:610: all-recursive] Error 1
> make[1]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> make: *** [Makefile:519: all] Error 2
> fc32-bash 5.0 /tools/gnucobol/obj-x86_64-pc-linux-gnu# l
> /usr/lsd/Linux/bin/help2man /usr/bin/help2man
> -rwxr-xr-x 1 root root 19897 Sep 13 23:00 /usr/bin/help2man
> -rwxr-xr-x 1 root root 20636 Jan 4 09:15 /usr/lsd/Linux/bin/help2man
>
>
This is what happens:
1 help2man is invoked
2 help2man invokes cobcrun to get the help
3 help2man sees unexpected stderr output and stops with an error
4 the missing script recognizes the error and assumes there must be a
problem with help2man
...
The most likely reason for cobcrun to not start correctly is that
LD_LIBRARY_PATH misses an important path
Please do the following to see the actual error:
cd /export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin
"../pre-inst-env" cobcrun -q --help
Simon
Am 04.01.2020 um 18:22 schrieb George R Goffe:
> Hi,
>
> Still more build problems.
>
> I don't know what do to here. Help2man is in all the "usual" places. NO
> /usr/local here though.
>
> Best regards,
>
> George...
>
>
> make
> make all-recursive
> make[1]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> Making all in .
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> Making all in lib
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/lib'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/lib'
> Making all in libcob
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/libcob'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/libcob'
> Making all in bin
> make[2]: Entering directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin'
> "../pre-inst-env" /bin/bash
> /tools/gnucobol/obj-x86_64-pc-linux-gnu/build_aux/missing help2man
> --output=cobcrun.1 --info-page=gnucobol "cobcrun -q"
> help2man: can't get `--help' info from cobcrun -q
> Try `--no-discard-stderr' if option outputs to stderr
> WARNING: 'help2man' is missing on your system.
> You should only need it if you modified a dependency of a man page.
> You may want to install the GNU Help2man package:
> <https://www.gnu.org/software/help2man/>
> make[2]: *** [Makefile:1006: cobcrun.1] Error 127
> make[2]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu/bin'
> make[1]: *** [Makefile:610: all-recursive] Error 1
> make[1]: Leaving directory
> '/export/home/tools/gnucobol/obj-x86_64-pc-linux-gnu'
> make: *** [Makefile:519: all] Error 2
> fc32-bash 5.0 /tools/gnucobol/obj-x86_64-pc-linux-gnu# l
> /usr/lsd/Linux/bin/help2man /usr/bin/help2man
> -rwxr-xr-x 1 root root 19897 Sep 13 23:00 /usr/bin/help2man
> -rwxr-xr-x 1 root root 20636 Jan 4 09:15 /usr/lsd/Linux/bin/help2man
>
>