Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

 
SOLVED
Go to solution
Ben Armstrong
Regular Advisor

Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Buoyed by my partial success with SQLite3, I'm now looking at what it would take to get the ruby bindings working. Now, they require SWIG (http://www.swig.org/) which does have VMS support in the package available from upstream. Unfortunately, the DCL build procedure shipping with SWIG is out of date and the script to update the DCL procedures is written in Python. So I went to JFP's site to download and install his latest Python kit on our OpenVMS 8.3 Alpha test system:

JFP-AXPVMS-PYTHON252-V0100-0-1.PCSI

Unfortunately, it does not install. It appears to start out well, but after watching the progress indicator tally percentages up to 100%, I get the following error:

$ product install python252
...
The following product will be installed to destination:
JFP AXPVMS PYTHON252 V1.0-0 DISK$ALPVMSSYS:[VMS$COMMON.]
...

Now, I don't really need Python at this time so it's not crucial that we solve this problem. All I really want are the updated .com files in the [.vms] directory of SWIG 1.3.35. Could someone with a working Python please provide them?

Thanks,
Ben
17 REPLIES 17
Ben Armstrong
Regular Advisor

Re: Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Oops. I guess I was distracted while waiting for the Python re-install attempt so I could cut-and-paste the error message into this post so that I ended up posting without it. :)

Here's the actual error:

Portion done: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%
%DCL-W-INSFPRM, missing command parameters - supply all required parameters
%RENAME-E-SEARCHFAIL, error searching for PCSI_DESTINATION:[000000]python252.DIR;1
-RMS-F-DEV, error in device name or inappropriate device type for operation
%PCSI-I-SPAWNEXE, error executing: @PCSI$SOURCE:[TMP]PYTHON252$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]
Jean-François Piéronne
Trusted Contributor

Re: Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Ben,

The simple way to install Python is to use the 2 LD images.

More information on
http://vmspython.dyndns.org/DownloadAndInstallationPython


Are your sure to have installed the latest pcsi kit, because this kit has already been installed without any problem.

Anyway I can provide a build version of SWIG 1.3.31 which is the version I use for building some Python extension.

JF
Ben Armstrong
Regular Advisor

Re: Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Sure. If you could provide Swig 1.3.31 that would be great. If I revisit python later, I'll look into the LD images, but that's quite a lot more stuff than we really need, and this is a small test system, so I didn't want to install anything more than I need at this time.

I'll also check PCSI, but I thought we upgraded that recently.

Thanks,
Ben

Jean-François Piéronne
Trusted Contributor

Re: Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Ok, I will put online a pre-build swig version.

About Python, do you have installed run the startup procedure for the zlib and libz2 libraries?
Jean-François Piéronne
Trusted Contributor
Solution

Re: Latest SWIG, SQLite3 bindings for ruby, Python PCSI kit broken?

Download link:
http://vmspython.dyndns.org/anonymous/jfp/swig1331.zip

contains the axp version swig.exe

JF