Page 1 of 1

C++ not working

Posted: Tue Mar 19, 2024 10:30 am
by thorleif
I have installed c++


cxx demo.cxx
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\CXX\

Thanks
Thorleifur

Re: C++ not working

Posted: Tue Mar 19, 2024 10:41 am
by imiller
After installing C++ Did you logout then login again to pickup the updated command tables?

Re: C++ not working

Posted: Tue Mar 19, 2024 10:41 am
by soutbarr
A couple of quick things to check.

product show prod *

Check to see that
VSI X86VMS CXX V10.1-1 Full LP Installed
is present.

The second is show license check to see that
CXX-V VSI 6 0 1 0.0 (none) 1-APR-2024
is present.

Re: C++ not working

Posted: Tue Mar 19, 2024 10:52 am
by thorleif
$ product show prod *
------------------------------------ ----------- ---------
PRODUCT KIT TYPE STATE
------------------------------------ ----------- ---------
VMSPORTS X86VMS PERL534 T5.34-0 Full LP Installed
VSI X86VMS AVAIL_MAN_BASE V9.2-1 Full LP Installed
VSI X86VMS C V7.5-9 Full LP Installed
VSI X86VMS CXX V10.1-1 Full LP Installed
VSI X86VMS DECNET_PLUS V9.2-E Full LP Installed
VSI X86VMS DWMOTIF V1.8 Full LP Installed
VSI X86VMS DWMOTIF_SUPPORT V9.2-1 Full LP Installed
VSI X86VMS KERBEROS V3.3-2A Full LP Installed
VSI X86VMS OPENSSH V8.9-1D Full LP Installed
VSI X86VMS OPENVMS V9.2-1 Platform Installed
VSI X86VMS SSL111 V1.1-1T Full LP Installed
VSI X86VMS SSL3 V3.0-8 Full LP Installed
VSI X86VMS TCPIP V6.0-24 Full LP Installed
VSI X86VMS VMS V9.2-1 Oper System Installed
------------------------------------ ----------- ---------
14 items found

It worked after I logged out and in again
Thanks
Thorleifur

Re: C++ not working

Posted: Tue Mar 19, 2024 11:18 am
by joukj
Instead of login in and out you could also have given the following command
$ set comand/table=sys$library:dcltables.exe

Re: C++ not working

Posted: Tue Mar 19, 2024 7:33 pm
by arne_v
Feel free to consider me oldfashioned, but whenever I install stuff I like to:
* as SYSTEM do the install and any post-installation tasks
* reboot
* as unpriviliged user verify that the installed product works (assuming that the product is intended to be used by unpriviliged users)

To avoid the usual mistakes of forgetting to put @SYS$STARTUP:FOOBAR$STARTUP in SYSTARTUP_VMS or forget to set protection (if that needs to be done manual).

Re: C++ not working

Posted: Tue Mar 19, 2024 9:56 pm
by sms

Code: Select all

> After installing C++ Did you logout then login again [...]

   In some cases, installing a product affects the system command
tables.  Normally, when such a product is released, it comes with an
Installation Guide, which should mention this.  Documentation for C++ on
x86_64 might be lagging a little.  For a more mature product, like, say,
VSI Pascal, there should be something like this:

      (i) Note

      VMSINSTAL deletes or changes entries in the process symbol tables
      during the installation. Therefore, if you are going to continue
      using the system manager's account and you want to restore these
      symbols, you should log out and log in again.

(Just before: https://docs.vmssoftware.com/vsi-pascal-for-openvms-installation-guide/#SEC_ERRORS )

   Presumably, this applies to an installation using PCSI as well as one
using VMSINSTAL.

   Experienced system managers will have done this enough times that it
has become a habit.  Newcomers might benefit more from more complete
documentation.