 |
forum.vmspython.org Forum system
|
View previous topic :: View next topic |
Author |
Message |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Tue Sep 23, 2014 8:19 pm Post subject: Installation of Python version 2.7.8 failing |
|
|
Hi everybody,
I just tried to install the kit for 2.7.8 on an rx2620, but it fails at the last step with the following error:
Code: |
%DCL-W-INSFPRM, missing command parameters - supply all required parameters
%RENAME-E-SEARCHFAIL, error searching for PCSI_DESTINATION:[python278]bin.DIR;1
-RMS-F-DEV, error in device name or inappropriate device type for operation
%PCSI-I-SPAWNEXE, error executing: @PCSI$SOURCE:[TMP]PYTHON278$POST_CONFIGURE.COM
%PCSI-E-EXEPSTFAIL, product supplied EXECUTE POSTINSTALL procedure failed
-RENAME-E-SEARCHFAIL, error searching for !AS
%PCSI-E-OPFAILED, operation failed
Terminating is strongly recommended. Do you want to terminate? [YES]
|
Has anybody else experienced the same problem? |
|
Back to top |
|
 |
jescab
Joined: 28 Jan 2008 Posts: 254
|
Posted: Wed Sep 24, 2014 1:36 am Post subject: |
|
|
Any particular reason not to use the prebuilt LD disks? |
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Wed Sep 24, 2014 3:07 am Post subject: |
|
|
I never used those. I usually just install the individual packages I need (zlib, libbz2, libxml2, etc) and the Python kit itself.
Is it easier to use the LD images? |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 636
|
Posted: Wed Sep 24, 2014 6:52 am Post subject: |
|
|
I was unable to reproduce the problem.
The procedure PYTHON278$POST_CONFIGURE.COM is generated by the kit construction procedure.
Also, on my system development, I install the kit without any problem:
Code: | $ dir sys$common:[python278]
Directory SYS$COMMON:[python278]
bin.DIR;1 Demo.DIR;1 Doc.DIR;1 Include.DIR;1
lib.DIR;1 LICENSE.;1 local.DIR;1 Misc.DIR;1
PKG-INFO.;1 README.;1 tmp.DIR;1 Tools.DIR;1
vms.DIR;1
Total of 13 files.
$ prod remove python278
The following product has been selected:
JFP I64VMS PYTHON278 V1.0-0 Layered Product
Do you want to continue? [YES]
The following product will be removed from destination:
JFP I64VMS PYTHON278 V1.0-0 DISK$I64SYS:[VMS$COMMON.]
Portion done: 0%
%DELETE-W-SEARCHFAIL, error searching for
PCSI_DESTINATION:[PYTHON278...]*.PYO;*
...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
The following product has been removed:
JFP I64VMS PYTHON278 V1.0-0 Layered Product
$ dir sys$common:[python278]
%DIRECT-E-OPENIN, error opening SYS$COMMON:[PYTHON278]*.*;* as input
-RMS-E-DNF, directory not found
-SYSTEM-W-NOSUCHFILE, no such file
$ prod install python278
Performing product kit validation of signed kits ...
%PCSI-I-CANNOTVAL, cannot validate
DSA1:[TOOLS.KITS.][tmp]JFP-I64VMS-PYTHON278-V
0100-0-1.PCSI;5
-PCSI-I-NOTSIGNED, product kit is not signed and therefore has no manifest file
The following product has been selected:
JFP I64VMS PYTHON278 V1.0-0 Layered Product
Do you want to continue? [YES]
Configuration phase starting ...
You will be asked to choose options, if any, for each selected product and for
any products that may be installed to satisfy software dependency requirements.
Configuring JFP I64VMS PYTHON278 V1.0-0: PYTHON278
* This product does not have any configuration options.
Execution phase starting ...
The following product will be installed to destination:
JFP I64VMS PYTHON278 V1.0-0 DISK$I64SYS:[VMS$COMMON.]
ortion done: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%
Listing
/python_root/lib/ ...
Compiling /python_root/lib/BaseHTTPServer.py ...
Compiling /python_root/lib/Bastion.py ...
...
Compiling /python_root/local/yaml/serializer.py ...
...100%ng /python_root/local/yaml/tokens.py ...
The following product has been installed:
JFP I64VMS PYTHON278 V1.0-0 Layered Product
$ |
The beginning of the procedure is :
Code: | $ set process/parse_style=extended
$
$ def pcsi_destination/trans=conc 'f$trnlnm("PCSI$DESTINATION")'
$ set default pcsi_destination:[000000]
$ rename [python278]bin.DIR;1 [python278]bin.DIR;1
|
So how do you install the kit, do you specify a disk destination ?
JF |
|
Back to top |
|
 |
jescab
Joined: 28 Jan 2008 Posts: 254
|
Posted: Wed Sep 24, 2014 1:47 pm Post subject: |
|
|
> Is it easier to use the LD images?
It is much easier!
- Download the two ZIP files.
- Unzip the two DSK files from the ZIPs.
- Connect the two DSK files using LD.
- Mount the LD disks using MOUNT.
- Run the lib_startup and python_startup COM files.
- Add @python_vms:setup to your (sy-)login COM procs.
On my Alpha system, these are the two current LD disks:
Code: |
$ d util:[python]*06*
Directory UTIL:[PYTHON]
JFPLIB0006A.DSK;3 400000 6-JUL-2013 08:08:15.93
JFPPY0600A.DSK;3 1200000 12-SEP-2014 08:31:57.96
Total of 2 files, 1600000 blocks.
$ |
And this is my startup that runs at boot:
Code: |
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$ ld CONNECT util:[python]JFPLIB0006A.dsk lda1:
$ mount/system lda1: JFPLIB0006A
$ @lda1:[000000]lib_startup
$!
$ ld CONNECT util:[python]JFPPY0600A.DSK lda2:
$ mount/system lda2: JFPPY0600A
$ @lda2:[000000]python_startup
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
That's all!
Code: |
$ python
Python 2.7.8 (default, Sep 10 2014, 15:30:18) [DECC] on OpenVMS
Type "help", "copyright", "credits" or "license" for more information.
>>> Exit
$ show log python_root
"PYTHON_ROOT" = "$1$LDA2:[PYTHON278.]" (LNM$SYSTEM_TABLE)
$ |
I finaly usualy run the compile_all COM file according to the
installation page to (re-) build all .pyc files. |
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Wed Sep 24, 2014 4:44 pm Post subject: |
|
|
I did the installation with my own account, which doesn't have all privileges. I just tried again with the system account and the installation completed successfully. Sorry for the trouble.
To jescab: thanks for the info for the LD images. I'll give it a try when I have a chance. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|