A couple steps forward a couple back and then again...
Tuesday, March 22, 2016, 12:54 AM
Posted by Administrator
Well, after a bit of exploring and investigation and tuning the includes and other bits and pieces I got to a point with my initial Samba 4.3.1 build on OpenVMS to where it looked like I could not get much further. I got down to about 15 images that still had undefined references. Some do not seem to be directly in the code in Samba - the dependency demon raises its head. So I decided to step back, look at what I could disable in the configure in an attempt to get as minimal a version of Samba as possible.
Well, that was nice, found I had some missing knowledge and missing pieces to the puzzle. I had apparently not documented all the "little" changes to get past minor glitches in the configure. So, as of right now these are the modified files in the build process:
Directory REF_ROOT:[samba-4^.3^.1]
wscript_build.
Directory REF_ROOT:[samba-4^.3^.1.bin.default.pidl]
pidl.inst
Directory REF_ROOT:[samba-4^.3^.1.buildtools.wafsamba]
samba_autoconf.py
samba_optimisation.py
samba_perl.py
samba_utils.py
wscript.
Directory REF_ROOT:[samba-4^.3^.1.pidl]
pidl.
Directory REF_ROOT:[samba-4^.3^.1.pidl.lib.Parse.Pidl]
IDL.pm
Directory REF_ROOT:[samba-4^.3^.1.source3]
wscript.
Directory REF_ROOT:[samba-4^.3^.1.third_party.waf.wafadmin.Tools]
config_c.py
python.py
Now of course all the necessary include files have to be found and that will vary by system to system.
This build also depends upon the subprocess.py Python module which I developed and which is available on the VMS-Ports SourceForge Project. It also depends upon Perl 5.22.1 and the modification of the MakeMaker.pm Perl module to ignore VMS at the "my $Is_VMS..." line - change the "eq" to "ne". A more complete fix needs to be made for using Perl under GNV/bash on OpenVMS but this takes care of the immediate issues.
You will want Python and Perl to not be defined as symbols under DCL. This will confuse the build. Set up the
PATH
variable in GNV/bash to include
/perl_root
and
/python_root/vms/bin
.
More will come as I move forward.