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

MUNPACK for I64

 
SOLVED
Go to solution
Toine_1
Regular Advisor

MUNPACK for I64

Hi,

I always used munpack on Alpha.
This was available on a freeware CD.
Does this also exist for I64?

Or can I download munpack for I64?

regards,

/Toine
11 REPLIES
H.Becker
Honored Contributor

Re: MUNPACK for I64

Aren't there sources on the freeware CD? The source I have (dating back to 97) just compile (with some noise) and link on I64. I didn't do much with them except:

$ mc sys$disk:[]mpack -?
vmsi64$dka100:[hb.mpack]mpack.exe;1: illegal option -- ?
mpack version 1.5
usage: mpack [-s subj] [-d file] [-m maxsize] [-c content-type] file address...
mpack [-s subj] [-d file] [-m maxsize] [-c content-type] -o file file
$
$ mc sys$disk:[]munpack -?
vmsi64$dka100:[hb.mpack]munpack.exe;1: illegal option -- ?
munpack version 1.5
usage: munpack [-f] [-q] [-C directory] [files...]]

That doesn't prove anything but seems a good start.
Toine_1
Regular Advisor

Re: MUNPACK for I64

Hi,

I found the sources on the internet:
http://www.digiater.nl/openvms/freeware/v40/lederman/mpack.

I used this command procedure to compile and link: make_vms.com

But when I tried to compile it on I64 I got one warning on the part.c source code:

return; ....

%CC-W-NORETURNVAL, The function "part_close" returns a value, but no value is given in this return statement.
at line number 73 in file DSA1900:PART.C

Could I just replace the return; statement with return 1;

/Toine

H.Becker
Honored Contributor
Solution

Re: MUNPACK for I64

I would make that function "void".That may help with finding whether the returned value is used and what the expected return values is/should be.
Joseph Huber_1
Honored Contributor

Re: MUNPACK for I64

I think the newer source of mpack 1.5 is on freeware/v50. I took this and it built it on IA64.

There is also a newer mpack1.6 on
http://nchrem.tnw.tudelft.nl/openvms/software2.html

It also works on Itanium, just replace in unixpk.c:
#ifdef __ALPHA
by
#ifndef __vax

http://www.mpp.mpg.de/~huber
Steven Schweda
Honored Contributor

Re: MUNPACK for I64

Somewhere back around March, I seem to have
assembled some mpack code from:

ftp://ftp.andrew.cmu.edu/pub/mpack/

and a Debian patch kit (1.6-5):

http://ftp.de.debian.org/debian/pool/main/m/mpack/

and fiddled with it enough to make VMS (and
me?) happy. I never tested it much, so I
never published the results, but if anyone's
interested, I could do that.
Toine_1
Regular Advisor

Re: MUNPACK for I64

Thank you all for the good solutions.

I have munpack running on I64.

I compiled and linked it and it works.

(Also AEST worked.)

/Toine
Jansen_8
Regular Advisor

Re: MUNPACK for I64

I changed the version at nchrem.tnw.tudelft.nl/software2.html according the suggestion of Joseph Huber

Thanks

Jouk
Steven Schweda
Honored Contributor

Re: MUNPACK for I64

> [...] if anyone's
> interested, I could do that.

Or even if no one is:

http://antinode.info/dec/sw/mpack.html

Complaints are always welcome. (At least the
compilers seem to like it.)
Toine_1
Regular Advisor

Re: MUNPACK for I64

Very good Steven.

I downloaded your zip file and unzipped it on my I64 box.

The munpack is working OK.

Thanks

/Toine
Steven Schweda
Honored Contributor

Re: MUNPACK for I64

> The munpack is working OK.

If your standards are low. Too late (as
usual) I noticed that I had left out the
code to preserve command-line case. It's
not life-or-death, but if you want "-C" to
work without the quotation marks, then
there's a newer (better?) vmsos.c available
now:

http://antinode.info/ftp/mpack/mpack-1_6a_vms/vmsos.c

Sigh.

> I never tested it much, [...]

Never make a claim without offering evidence,
I always say.
Hoff
Honored Contributor

Re: MUNPACK for I64

And if you're not particularly fussy, the MIME utility that's been incorporated into OpenVMS can also be serviceable for various MIME-related tasks.