Menu

#184 FDIMPLES Perl Extraction Error

None
closed-fixed
nobody
None
5
2017-12-20
2017-04-06
Maxim
No

When I select Perl in FDIMPLES package manager, It throws errors while extraction (-4).

Discussion

  • Pep Manel

    Pep Manel - 2017-04-22

    I've the SAME problem. I have not found a way to install it

     
  • Anthony Williams

    Not sure why that is. But, AFAIK, the package is just a re-ZIP'd version of the latest (old) upstream DJGPP build. So just grab it via FTP (assuming you already installed FDNET) from any DJGPP mirror, under /current/v2gnu/ :

    http://www.delorie.com/djgpp/getting.html
    ftp://na.mirror.garr.it/mirrors/djgpp/current/v2gnu/perl588b.zip

    I don't use Perl, so I'm not much help. I would be surprised if any active Perl users for DOS were left. But you can still try asking on news://comp.os.msdos.djgpp for help.

     
  • Shidel

    Shidel - 2017-04-26

    At present, FDIMPLES performs the actual installation and removal of packages through the FDINST command line utility (part of the FDNPKG package). We will need to look into why FDINST encounters an error with this package. My quick guess is that FDINST is running out of memory. Manually installing the package by inserting the CD and navigating to \DEVEL, then running "fdinst install perl.zip" appears to install without error. This also seems to occure with the DEVEL\OW package.Thanks for the information.

     

    Last edit: Shidel 2017-04-26
  • Mateusz Viste

    Mateusz Viste - 2017-04-26

    The [-4] error that FDINST displays is returned by my "libunzip" wrapper, which calls inf(), which itself relies on zlib. And in zlib's world, "-4" means this:

    #define Z_MEM_ERROR    (-4)
    

    Which itself is described as:

    " (...) returns Z_OK on success, Z_MEM_ERROR if memory could not be allocated for processing, Z_DATA_ERROR if the deflate data is invalid or incomplete (...)"
    

    Hence it would seem that Jerome's guess about lack of memory is pretty accurate. As a workaround, as already stated by Jerome, you might want to bypass FDIMPLES and use FDINST (or FDNPKG) directly from command-line.

    As a solution, perhaps FDIMPLES could swap itself out to maximize the amount of available memory left for FDINST? I will see if there's any (easy) way to make FDINST memory requirements smaller, but I cannot guarantee anything.

     
  • Pep Manel

    Pep Manel - 2017-04-29

    Solved in FDIMPLES 0.9.8, just update it:

    fdnpkg update.

    This issue can be closed now.

     

    Last edit: Pep Manel 2017-04-29
  • Jim Hall

    Jim Hall - 2017-12-20
    • status: open --> closed-fixed
    • Group: -->
     
  • Jim Hall

    Jim Hall - 2017-12-20

    As noted: Solved in FDIMPLES 0.9.8

    Closed-Fixed

     

Log in to post a comment.