GNU bug report logs - #8604
Linux mime help needed

Previous Next

Package: coreutils;

Reported by: Syed Nizamuddin <catchsyed <at> gmail.com>

Date: Mon, 2 May 2011 15:15:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8604 in the body.
You can then email your comments to 8604 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8604; Package coreutils. (Mon, 02 May 2011 15:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Syed Nizamuddin <catchsyed <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 02 May 2011 15:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Syed Nizamuddin <catchsyed <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Linux mime help needed
Date: Mon, 2 May 2011 19:58:17 +0530
[Message part 1 (text/plain, inline)]
Hi,

We are migrating from unix to Linux and need help on mime. The scripts works
fine in Unix but it says cann't execute mmencode in Linux.I have attached
the scripts for you reference. Your help will be appreciated.

Regards,
*Syed *
[Message part 2 (text/html, inline)]
[mime.sh (application/x-sh, attachment)]
[mmencode (application/octet-stream, attachment)]
[mime.types (application/octet-stream, attachment)]

Reply sent to Eric Blake <eblake <at> redhat.com>:
You have taken responsibility. (Mon, 02 May 2011 15:47:01 GMT) Full text and rfc822 format available.

Notification sent to Syed Nizamuddin <catchsyed <at> gmail.com>:
bug acknowledged by developer. (Mon, 02 May 2011 15:47:02 GMT) Full text and rfc822 format available.

Message #10 received at 8604-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Syed Nizamuddin <catchsyed <at> gmail.com>
Cc: 8604-done <at> debbugs.gnu.org
Subject: Re: bug#8604: Linux mime help needed
Date: Mon, 02 May 2011 09:46:50 -0600
[Message part 1 (text/plain, inline)]
tag 8604 notabug
close 8604
thanks

On 05/02/2011 08:28 AM, Syed Nizamuddin wrote:
> Hi,

Thanks for the report.  However, you've reached the GNU Coreutils
mailing list, and not a generic support list for Linux questions, so I'm
afraid we won't have the best answers for you here.

> 
> We are migrating from unix to Linux and need help on mime. The scripts works
> fine in Unix but it says cann't execute mmencode in Linux.I have attached
> the scripts for you reference. Your help will be appreciated.

$ file mmencode
mmencode: PA-RISC2.0 shared executable dynamically linked - not stripped

If you want to run a binary on a different platform, you have to
recompile it from source for that platform.  Do you have the source for
mmencode?  If not, then I don't see how you can expect to migrate to a
different operating system and hardware.  But again, that's outside the
scope of Coreutils.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8604; Package coreutils. (Mon, 02 May 2011 15:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 8604 <at> debbugs.gnu.org (full text, mbox):

From: "Voelker, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
To: Syed Nizamuddin <catchsyed <at> gmail.com>, "8604 <at> debbugs.gnu.org"
	<8604 <at> debbugs.gnu.org>
Subject: RE: bug#8604: Linux mime help needed
Date: Mon, 2 May 2011 17:51:47 +0200
Hi Syed,

this is most likely not a bug in the GNU coreutils.

I bet you copied mmencode from your UNIX workstation
to your Linux PC ... which has a different platform
(maybe an Intel CPU?):

$ file mmencode 
mmencode: PA-RISC2.0 shared executable dynamically linked - not stripped

Have a nice day,
Berny

-----Original Message-----
From: bug-coreutils-bounces+bernhard.voelker=siemens-enterprise.com <at> gnu.org [mailto:bug-coreutils-bounces+bernhard.voelker=siemens-enterprise.com <at> gnu.org] On Behalf Of Syed Nizamuddin
Sent: Monday, May 02, 2011 4:28 PM
To: 8604 <at> debbugs.gnu.org
Subject: bug#8604: Linux mime help needed

Hi,

We are migrating from unix to Linux and need help on mime. The scripts works
fine in Unix but it says cann't execute mmencode in Linux.I have attached
the scripts for you reference. Your help will be appreciated.

Regards,
*Syed *




Added tag(s) notabug. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Mon, 02 May 2011 16:10:04 GMT) Full text and rfc822 format available.

Message #16 received at 8604-done <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Syed Nizamuddin <catchsyed <at> gmail.com>
Cc: 8604-done <at> debbugs.gnu.org
Subject: Re: bug#8604: Linux mime help needed
Date: Mon, 2 May 2011 10:09:02 -0600
tags 8604 + notabug
thanks

Syed Nizamuddin wrote:
> We are migrating from unix to Linux and need help on mime. The scripts works
> fine in Unix but it says cann't execute mmencode in Linux.I have attached
> the scripts for you reference. Your help will be appreciated.

You have reached the GNU Coreutils mailing list.  The GNU Coreutils
are the basic file, shell and text manipulation utilities of the GNU
Operating System.  You can learn more about GNU Coreutils here:

  http://www.gnu.org/software/coreutils/

The GNU Coreutils are part of the GNU Operating System.  You can learn
more about the GNU Project here:

  http://www.gnu.org/

But you are asking about mmencode and general system porting issues.
I am sorry but this is the wrong mailing list.  This lists is for bugs
in GNU coreutils.  The mmencode program is not part of the coreutils
project.  You would have better luck asking on the help-gnu-utils
mailing list instead.

Having said that I did look briefly at your email and I see that you
included an HP-UX binary mmencode program with your email.  That is an
HP-UX program and will not run on a GNU/Linux system.  It is the wrong
architecture.  That is probably the first thing you will need to do.
You will need to install a GNU/Linux compatible mmencode binary
program.  Although personally I would probably use a program such as
'mutt' to handle the mime attachements rather than to build the mime
attachment manually.  Also some of your other syntax will very likely
need to be adjusted to operate on a different system.  A quick browse
of the script showed me the following issues but there may be more.

 * install mmencode
 * mailx -r option isn't portable
 * test -a option isn't portable
 * use /usr/sbin/sendmail not /usr/lib/sendmail

Good luck!

Bob




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8604; Package coreutils. (Mon, 02 May 2011 20:47:02 GMT) Full text and rfc822 format available.

Message #19 received at 8604 <at> debbugs.gnu.org (full text, mbox):

From: "Alan Curry" <pacman-cu <at> kosh.dhis.org>
To: catchsyed <at> gmail.com (Syed Nizamuddin)
Cc: 8604 <at> debbugs.gnu.org
Subject: Re: bug#8604: Linux mime help needed
Date: Mon, 2 May 2011 15:46:38 -0500 (GMT+5)
Eric Blake writes:
> 
> $ file mmencode
> mmencode: PA-RISC2.0 shared executable dynamically linked - not stripped
> 
> If you want to run a binary on a different platform, you have to
> recompile it from source for that platform.  Do you have the source for
> mmencode?  If not, then I don't see how you can expect to migrate to a
> different operating system and hardware.  But again, that's outside the
> scope of Coreutils.

For the record, mmencode is found in the metamail package, and also comes
with elm. Source is still findable, even though it's dropped out of the
"packaged by the OS distributor" level of popularity. (Curious header
watchers will have noticed I'm an elm user. And yep, I used mmencode to
decode the mmencode in the original question.)

The coreutils equivalent is base64(1).

After a rewrite with mutt, the whole script might be a one-liner.

-- 
Alan Curry




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 May 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.