bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I want to parse RFC822 header "Date:" field for an application


From: Andrew Lynch
Subject: Re: I want to parse RFC822 header "Date:" field for an application
Date: Mon, 21 Oct 2002 17:30:49 -0700 (PDT)

--- Alain Magloire <address@hidden> wrote:
> > 
> > First, Thank you for your help.
> > 
> > I did search config.h and found that the above was
> not
> > defined.  I have attached my config.h for review. 
> Why
> 
> You mean that
>       HAVE_PROGRAM_INVOCATION_NAME
> was not set, then this is good, then you should have
> a lib/pin.c and lib/pin.o

The first time around, after my initial configure,
this was true.  I added the
HAVE_PROGRAM_INVOCATION_NAME definition to see if it
would improve the make.  So, I think what you are
saying is that configure worked properly the first
time.  OK.




> 
> # cd mailutils/lib
> # gcc -DHAVE_CONFIG_H -E -I .. -I ../include pin.c
> 
> If things where ok you should see the definitions of
> the variables.

OK, I think I see the problem more clearly.  I will
remove the definition from config.h and then run these
lines above to see if I can get the pin.o to get
linked in and define the flags... right?


> 
> > do you think the flag was not defined?  Is there a
> bug
> 
> They should not be defined since it appears that on
> cygwin
> libc does not provide them.
> 
> > *************************
> > 
> > Well, it was a long weekend, but I finally made
> the
> > make log as promised.  I defined
> > HAVE_PROGRAM_INVOCATION_NAME  in config.h but it
> did
> > not make much difference.  I am attaching my
> config.h
> > and the make log.  Does anyone know why this is
> > breaking the Cygwin build?
> 
> It's the other way around, comment out the
> HAVE_PRORAM_INVOCATION_NAME
> to let lib/pin.c define the variables.
> 

That happens a lot.  Let me try it again your way this
time and see what happens.


> > 
> > Thanks in advance for your help!
> > 
> > Andrew Lynch
> > 
> > PS, I gave it another try and was able to finally
> trim
> > out just the parse822.c routines and get them to
> work
> > so I can sort dates.  I'd rather just call on the
> > library but that is still an option as a work
> around.
> 
> 
> If it is that all you need, then it should be
> sufficient.
> 
> Sorry, I do not have a cygwin system to test.
> 

Thanks for your help!  I will start the new make with
the original config.h and then add those lines you
suggested after it fails out.  Then I will restart the
make to see if it continues on.


THANKS!!

Andrew Lynch

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute




reply via email to

[Prev in Thread] Current Thread [Next in Thread]