Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Metamail on OS X -- help compile?

Metamail on OS X -- help compile?
Thread Tools
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jun 4, 2003, 05:05 PM
 
I'm trying to set up a method of receiving e-mails and automatically saving the attachments as files. To do this, I am going to use a fetchmail, procmail, and metamail combination.

Fetchmail and procmail are already in OS X but metamail is not. I am having difficulty compiling metamail. Usually, if it doesn't compile on the first try, or I don't have step by step instructions to follow, I am lost.

Please help me get this installed. I don't know how to make it configure properly.

I downloaded the metamail source near the bottom of this website. Finding the source was a chore in itself. Here is a direct link.

If there is an alternative method of doing what I want (I really want it to work via the command line), please let me know that as well.

Thanks.
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Jun 5, 2003, 02:14 AM
 
Originally posted by Xeo:
Fetchmail and procmail are already in OS X but metamail is not. I am having difficulty compiling metamail. Usually, if it doesn't compile on the first try, or I don't have step by step instructions to follow, I am lost.

Please help me get this installed. I don't know how to make it configure properly.

If there is an alternative method of doing what I want (I really want it to work via the command line), please let me know that as well.

Thanks.
Firstly you should take the official sources which are available here . Take the unix sources. now there should be instructions in the tarball on how to compile it. If it does not compile/configure out of the tarball you will need to make some changes in the source code.

If you have further difficulty I suggest you post your compiling problems in teh dev forums which is much more appropriate.
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jun 5, 2003, 10:11 AM
 
Originally posted by Ludovic Hirlimann:
Firstly you should take the official sources which are available here . Take the unix sources. now there should be instructions in the tarball on how to compile it. If it does not compile/configure out of the tarball you will need to make some changes in the source code.

If you have further difficulty I suggest you post your compiling problems in teh dev forums which is much more appropriate.
Thanks for the link but I get the same errors when I try to compile. I will take your advice and post my problem in the developer forum, if only to have a few more ears listen to my problem.

For reference, this is the output of typing "make".

Code:
(cd metamail ; make CONFIGDIR=../. CFLAGS="-g -I. " CC="cc" LDLIBS="") rm -f metamail.o cc -c -I../. -g -I. metamail.c metamail.c: In function `main': metamail.c:306: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:308: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:309: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:310: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:311: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:313: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:314: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:316: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:317: warning: passing arg 2 of `signal' from incompatible pointer type metamail.c:321: warning: passing arg 2 of `signal' from incompatible pointer type rm -f codes.o cc -c -I../. -g -I. codes.c rm -f uue.o cc -c -I../. -g -I. uue.c rm -f shared.o cc -c -I../. -g -I. shared.c rm -f putenv.o cc -c -I../. -g -I. putenv.c rm -f metamail cc -I../. -g -I. -o metamail metamail.o putenv.o codes.o uue.o shared.o ld: Undefined symbols: _gtty _stty make[1]: *** [metamail] Error 1 make: *** [basics] Error 2
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:26 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2