Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 14:21:44 +0700, budsz wrote:
 Hi,
 
 I was compile mutt-1.5.1i in FreeBSD box, I got some patching for
 compress folder too, So I followed the the instruction for to do that.
 but I got some error message like this:
 
 ---cut
 /usr/include/stdlib.h:108: warning: ANSI C does not support `long long'
 /usr/include/stdlib.h:112: warning: ANSI C does not support `long long'
 ---cut
 
 I think the problem is my version GCC to old, so I did to upgrade my
 GCC and compile again, it was nothing get solution. How about this..?
 

Which FreeBSD version do you use? Is it FreeBSD-5.0-current?

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Holger Weiss

* budsz [EMAIL PROTECTED] [2002-10-14 14:21]:
 I was compile mutt-1.5.1i in FreeBSD box, I got some patching for
 compress folder too, So I followed the the instruction for to do that.
 but I got some error message like this:
 
 ---cut
 /usr/include/stdlib.h:108: warning: ANSI C does not support `long long'
 /usr/include/stdlib.h:112: warning: ANSI C does not support `long long'
 ---cut
 
 I think the problem is my version GCC to old, so I did to upgrade my
 GCC and compile again, it was nothing get solution. How about this..?

That's actually off topic here, because gcc is complaining about the use
of `long long' in the FreeBSD header file /usr/include/stdlib.h, not about
anything in mutt. However, does mutt not build successfully? If it
doesn't, there must be other error messages -- _this_ warning is harmless
and you can simply ignore it. See:

   http://groups.google.de/groups?th=2ff2de81cdfb4a98
   http://groups.google.de/groups?th=6adc4c84fbb6a8d1

Holger

-- 
After turning off the power to replace a part, turning the power on again
is relatively simple.  -- SPARCstation 10 Service Manual
==
  GnuPG: 0xB8B5D3DE | [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread budsz

On Mon, Oct 14, 2002 at 10:54:21AM +0200, Udo Schweigert wrote:
On Mon, Oct 14, 2002 at 14:21:44 +0700, budsz wrote:
 Hi,
 
 I was compile mutt-1.5.1i in FreeBSD box, I got some patching for
 compress folder too, So I followed the the instruction for to do that.
 but I got some error message like this:
 
 ---cut
 /usr/include/stdlib.h:108: warning: ANSI C does not support `long long'
 /usr/include/stdlib.h:112: warning: ANSI C does not support `long long'
 ---cut
 
 I think the problem is my version GCC to old, so I did to upgrade my
 GCC and compile again, it was nothing get solution. How about this..?
 

Which FreeBSD version do you use? Is it FreeBSD-5.0-current?


This problem appeared in FreeBSD 4.6 STABLE.  

-- 
budsz



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 16:42:56 +0700, budsz wrote:
 
 This problem appeared in FreeBSD 4.6 STABLE.  
 

Not reproducable here (on 4.7-STABLE). The best way on FreeBSD is to use
the port /usr/ports/mail/mutt-devel; to use compressed folders do:

cd /usr/ports/mail/mutt-devel; make -DWITH_MUTT_COMPRESSED_FOLDERS

You need of course an up to date ports tree for this.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Holger Weiss

* Udo Schweigert [EMAIL PROTECTED] [2002-10-14 12:13]:
 On Mon, Oct 14, 2002 at 16:42:56 +0700, budsz wrote:
  
  This problem appeared in FreeBSD 4.6 STABLE.  
 
 Not reproducable here (on 4.7-STABLE).

Not for me either when compiling your `mutt-devel' port, but same thing
when compiling mutt 1.4 (and other ports):

| holger@maude ~ 519: uname -a
| FreeBSD maude.zedat.fu-berlin.de 4.7-STABLE FreeBSD 4.7-STABLE #0: 
| Fri Oct 11 19:10:06 CEST 2002
| [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAUDE  i386
| holger@maude ~ 520: gcc -v
| Using builtin specs.
| gcc version 2.95.4 20020320 [FreeBSD]
| holger@maude ~ 521: cd /usr/ports/mail/mutt
| holger@maude mail/mutt 522: make
| [...]
| cc -I/usr/local/include -DPKGDATADIR=\/usr/local/share/mutt\
| -DSYSCONFDIR=\/usr/local/etc\  -DBINDIR=\/usr/local/bin\
| -DMUTTLOCALEDIR=\/usr/local/share/locale\  -DHAVE_CONFIG_H=1 -I. -I.
| -I./imap -Iintl  -I./intl -I/usr/local/include  -Wall -pedantic -O -pipe
| -march=pentiumpro -c makedoc.c
| In file included from makedoc.c:34:
| /usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
| /usr/include/stdlib.h:114: warning: ANSI C does not support `long long'
| [...]

As I said, this can be ignored.

Holger

-- 
After turning off the power to replace a part, turning the power on again
is relatively simple.  -- SPARCstation 10 Service Manual
==
  GnuPG: 0xB8B5D3DE | [EMAIL PROTECTED]



Re: Problem compile mutt in FreeBSD

2002-10-14 Thread Udo Schweigert

On Mon, Oct 14, 2002 at 12:39:44 +0200, Holger Weiss wrote:
 Not for me either when compiling your `mutt-devel' port, but same thing
 when compiling mutt 1.4 (and other ports):
 

My mail/mutt-devel port deletes -pedantic from the CFLAGS in the configure.in,
which the mail/mutt port does not.

 As I said, this can be ignored.

Yes.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC CERT, Siemens CERT | Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]