Discussions on the x86 port of OpenVMS
issinoho
Site Admin
Posts: 241 Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland
Contact:
Post
by issinoho » Wed Dec 11, 2024 3:25 pm
libexpat: XML parser library written in C
Code: Select all
$ curl -O https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
$ gzip -d expat-2.1.0.tar.gz
$ tar -xzvf expat-2.1.0.tar
$ curl -O http://nchrem.tnw.tudelft.nl/openvms/patches/expat-2_1_0_vmspatch.zip
$ rename expat-2_1_0.DIR expat-2^.1^.0.DIR
$ unzip expat-2_1_0_vmspatch.zip
Overwrite All when prompted.
$ set def [.expat-2^.1^.0]
$ MMS/DESCRIPTION=[.vms]
$ copy expat.olb sys$library
issinoho
Site Admin
Posts: 241 Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland
Contact:
Post
by issinoho » Tue Apr 29, 2025 2:12 pm
cURL: command line tool for transferring data with URL syntax.
Ensure GNV is installed and that GSED is configured as an alias for SED, e.g.
$ GSED :== SED
Also, ensure that the zlib and zstd header files are copied to SYS$LIBRARY
Code: Select all
$ wget --no-check-certificate https://curl.se/download/curl-8.5.0.zip
$ unzip curl-8^.5^.0.zip
$ wget --no-check-certificate http://nchrem.tnw.tudelft.nl/openvms/patches/curl-8_5_0_vmspatch.zip
$ unzip curl-8_5_0_vmspatch.zip
Overwrite All when prompted.
$ set def [.curl-8^.5^.0]
$ find/replace/noconfirm/log [.lib]curl_config.h_vms "#define HAVE_SYS_SELECT_H 1" "#undef HAVE_SYS_SELECT_H"
$ find/replace/noconfirm/log [.src]vms_link.opt "sys$share:libzstd/share" "sys$share:libzstd/lib"
$ find/replace/noconfirm/log [.src]vms_link_cxx.opt "sys$share:libzstd_cxx/share" "sys$share:libzstd_cxx/lib"
$ MMS/IGNORE