z/OS Tools & Language

Expand all | Collapse all

DBI install z/OS

  • 1.  DBI install z/OS

    Posted 10-21-2016 08:31

    Since I cannot reply more than three times to a discussion ( what’s that all about ?).

    Here i response to the DBI install Andrey gave. Which seems to be pretty good except that at the end the Make Install gave the following error.

    After successful " perl Makefile.Pl"

    We run make with the following error :

    FSUM3008 Specify a file
    with the correct suffix (.c, .i, .s, .o, .x, .p, .I, or .a), or a
    corresponding data set name, instead of -o
    /shared/pp/rocketsw/perl-5.22.0/DBI-1.636/arch/auto/DBI/DBI.so.

    Makefile:766: recipe
    for target
    ’/shared/pp/rocketsw/perl-5.22.0/DBI-1.636/arch/auto/DBI/DBI.so’
    failed

    make: ***
    [/shared/pp/rocketsw/perl-5.22.0/DBI-1.636/arch/auto/DBI/DBI.so] Error
    1



  • 2.  RE: DBI install z/OS

    Posted 10-21-2016 10:11

    let me add the following.

    "c99 -Wl,dll -qxplink
    /shared/pp/rocketsw/perl-5.22.0/lib/5.22.0/os390/CORE/libperl.x DBI.o
    -o blib/arch/auto/DBI/DBI.so \ "

    File DBI.so does not exist after Makefile.PL is run ( well at least not in this
    specified). based on the substitution variables in the script


    BROWSE /shared/pp/rocketsw/perl-5.22.0/DBI-1.636/Makefile

    Command ===>

    .$(RM_F) $@

    .$(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB).\

    . $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST).\

    . $(INST_DYNAMIC_FIX)

    .$(CHMOD) $(PERM_RWX) $@

    .$(NOECHO) $(RM_RF) $(BOOTSTRAP)
    .- $(CP_NONEMPTY) $(BOOTSTRAP) $(INST_BOOT) $(PERM_RW)




  • 3.  RE: DBI install z/OS

    Posted 10-21-2016 10:28

    Makefile.PL points to a variable “blib”, which i do not see being
    initialised anywhere .



  • 4.  RE: DBI install z/OS

    Posted 10-25-2016 06:04

    Hi,
    Sorry for delay, we are so busy with other tools at this moment.

    1. Is it possible to share log of “perl Makefile.PL”?
      You have to see at least following strings in the end of output:

    Writing Makefile for DBI
    Writing MYMETA.yml and MYMETA.json

    1. Looks like file “/shared/pp/rocketsw/perl-5.22.0/lib/5.22.0/os390/CORE/libperl.x” isn’t exist.
    2. May be you haven’t JSON-2.9. You have to install it too.

    Thanks,
    Andrey



  • 5.  RE: DBI install z/OS

    Posted 10-25-2016 06:21

    HI Andrey,

    Sorry you are working so hard ! :slight_smile:

    Like me too, Ok i will send you some information from the script
    output later today, I am about to travel at the moment.

    Regards

    Dave Evans



  • 6.  RE: DBI install z/OS

    Posted 10-27-2016 09:37

    Hi Andrey,

    It looks like the libperl.x file was not delivered. By the way, it is
    also missing from the

    version 5.16.2 as well.

    Regards

    Dave



  • 7.  RE: DBI install z/OS

    Posted 10-27-2016 10:04

    Andrey,

    I added the link in the path variable list and received the following

    c99 -Wl,dll -qxplink /shared/pp/rocketsw/perl-5.22.0/lib/5.22.0/os390/CORE/libperl.x DBI.o -o blib/arch/auto/DBI/DBI.so \

    FSUM3008 Specify a file with the correct suffix (.c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of -o
    blib/arch/auto/DBI/DBI.so.
    Makefile:779: recipe for target ‘blib/arch/auto/DBI/DBI.so’ failed
    make: *** [blib/arch/auto/DBI/DBI.so] Error 1
    S1JKMQ@CH01MSYS:/shared/pp/rocketsw/perl-5.22.0/DBI-1.636: >>

    Regards

    Dave