C++ not working

Post Reply

Topic author
thorleif
Contributor
Posts: 16
Joined: Tue Jan 05, 2021 10:26 pm
Reputation: 0
Status: Offline

C++ not working

Post by thorleif » Tue Mar 19, 2024 10:30 am

I have installed c++


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

Thanks
Thorleifur

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: C++ not working

Post by imiller » Tue Mar 19, 2024 10:41 am

After installing C++ Did you logout then login again to pickup the updated command tables?
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].


soutbarr
Active Contributor
Posts: 30
Joined: Wed Mar 13, 2024 4:45 pm
Reputation: 0
Status: Offline

Re: C++ not working

Post by soutbarr » Tue Mar 19, 2024 10:41 am

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.


Topic author
thorleif
Contributor
Posts: 16
Joined: Tue Jan 05, 2021 10:26 pm
Reputation: 0
Status: Offline

Re: C++ not working

Post by thorleif » Tue Mar 19, 2024 10:52 am

$ 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


joukj
Master
Posts: 175
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: C++ not working

Post by joukj » Tue Mar 19, 2024 11:18 am

Instead of login in and out you could also have given the following command
$ set comand/table=sys$library:dcltables.exe

User avatar

arne_v
Master
Posts: 347
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: C++ not working

Post by arne_v » Tue Mar 19, 2024 7:33 pm

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).
Arne
arne@vajhoej.dk
VMS user since 1986


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: C++ not working

Post by sms » Tue Mar 19, 2024 9:56 pm

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.
Last edited by sms on Tue Mar 19, 2024 10:00 pm, edited 1 time in total.

Post Reply